Project: JDT
Bug 130896 [misc] Internal error when showing Javadoc hover
Reported: 2006-03-08 08:48:42 | Status: resolved fixed

I20060307-1315 Editing a java file, I get an 'Internal Error' popup. The stack trace is: !ENTRY org.eclipse.ui 4 0 2006-03-08 14:43:46.738 !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] !STACK 0 org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at org.eclipse.swt.SWT.error(SWT.java:3384) at org.eclipse.swt.browser.Browser.<init>(Browser.java:131) at org.eclipse.jdt.internal.ui.text.java.hover.BrowserInformationControl.<init>(BrowserInformationControl.java:198) at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover$2.doCreateInformationControl(JavadocHover.java:112) at org.eclipse.jdt.internal.ui.text.java.hover.AbstractReusableInformationControlCreator.createInformationControl(AbstractReusableInformationControlCreator.java:35) at org.eclipse.jface.text.AbstractInformationControlManager.getInformationControl(AbstractInformationControlManager.java:619) at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(AbstractInformationControlManager.java:850) at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(AbstractInformationControlManager.java:836) at org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation(AbstractHoverInformationControlManager.java:502) at org.eclipse.jface.text.TextViewerHoverManager.doPresentInformation(TextViewerHoverManager.java:231) at org.eclipse.jface.text.TextViewerHoverManager$5.run(TextViewerHoverManager.java:221) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3135) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2841) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1924) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1888) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:107) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) I could not isolate a precise scenario in which this occurs, but it happened multiple times today. Does not happen with I20060228-1207 (same platform, same workspace).

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java