Summary: | Exception during Code assist | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dirk Baeumer <dirk_baeumer> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | mkamp |
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Dirk Baeumer
2002-04-17 07:40:22 EDT
Which jdk are you running on ? ibm jre 1.3.1 with jit enabled ? The only NPE which could occur on this line is using a field which cannot be null at this point. No I am using JDK 1.3.1_01 The second time I activated code assist everything worked fine. Could have been fixed by recent changes added to background indexer. I get almost the same error, but with a different root. I haven't been using the code assist, but it was probably the tooltip. I got a message saying: Internal Error ... Exit workspace? I did say no and it was working fine for a couple of minutes then I got the same error dialog, but this time an swt error was logged. Unfortunately I didn't copy that. I will attach the other error if it does occur again. I am using JDK1.4rc. I am using 20020425. java.lang.NullPointerException at org.eclipse.jdt.internal.core.index.impl.CodeByteStream.readUnary (CodeByteStream.java:168) at org.eclipse.jdt.internal.core.index.impl.CodeByteStream.readGamma (CodeByteStream.java:107) at org.eclipse.jdt.internal.core.index.impl.GammaCompressedIndexBlock.nextEntry (GammaCompressedIndexBlock.java:90) at org.eclipse.jdt.internal.core.index.impl.BlocksIndexInput.queryEntriesPrefixedBy (BlocksIndexInput.java:279) at org.eclipse.jdt.internal.core.search.matching.SearchPattern.findIndexMatches (SearchPattern.java:1234) at org.eclipse.jdt.internal.core.search.matching.SearchPattern.findIndexMatches (SearchPattern.java:1221) at org.eclipse.jdt.internal.core.search.PatternSearchJob.search (PatternSearchJob.java:141) at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute (PatternSearchJob.java:86) at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob (JobManager.java:230) at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames (SearchEngine.java:521) at org.eclipse.jdt.internal.core.SearchableEnvironment.findTypes (SearchableEnvironment.java:221) at org.eclipse.jdt.internal.codeassist.SelectionEngine.select (SelectionEngine.java:467) at org.eclipse.jdt.internal.core.Openable.codeSelect(Openable.java:143) at org.eclipse.jdt.internal.core.Openable.codeSelect(Openable.java:122) at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect (CompilationUnit.java:102) at org.eclipse.jdt.internal.ui.text.java.hover.JavaTypeHover.getHoverInfo (JavaTypeHover.java:93) at org.eclipse.jdt.internal.ui.text.java.hover.JavaTextHover.getHoverInfo (JavaTextHover.java:304) at org.eclipse.jface.text.TextViewerHoverManager.computeInformation (TextViewerHoverManager.java:56) at org.eclipse.jface.text.AbstractInformationControlManager.showInformation (AbstractInformationControlManager.java:536) at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouse Hover(AbstractHoverInformationControlManager.java:233) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:207) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1412) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1208) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:833) at org.eclipse.ui.internal.Workbench.run(Workbench.java:816) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:643) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:349) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:160) at org.eclipse.core.launcher.Main.run(Main.java:548) at org.eclipse.core.launcher.Main.main(Main.java:403) *** Bug 19501 has been marked as a duplicate of this bug. *** Defer As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |