Community
Participate
Working Groups
I found some problem in M8 release, which results in very annoying behaviour - all quickfixes stop working! It happens in any class in my project - the quickfix bulb is being shown, but Ctrl+1 shows no quickfixes available and no action could be taken. It was a showstopper to me, I cannot work without quickfixes, so I switched back to M7. Here goes the stacktrace: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.superInterfaces(BinaryTypeBinding.java:449) at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.resolve(HierarchyResolver.java:671) at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.buildForProject(IndexBasedHierarchyBuilder.java:194) at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.buildFromPotentialSubtypes(IndexBasedHierarchyBuilder.java:301) at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.build(IndexBasedHierarchyBuilder.java:130) at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.compute(TypeHierarchy.java:319) at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refresh(TypeHierarchy.java:1234) at org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.executeOperation(CreateTypeHierarchyOperation.java:90) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:700) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:739) at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:598) at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:568) at org.eclipse.jdt.internal.debug.ui.launcher.AppletLaunchConfigurationUtils.collectAppletTypesInProject(AppletLaunchConfigurationUtils.java:114) at org.eclipse.jdt.internal.debug.ui.launcher.AppletLaunchConfigurationUtils.isSubclassOfApplet(AppletLaunchConfigurationUtils.java:166) at org.eclipse.jdt.internal.debug.ui.launcher.AppletLaunchConfigurationUtils.collectTypes(AppletLaunchConfigurationUtils.java:148) at org.eclipse.jdt.internal.debug.ui.launcher.ResourceExtender.isApplet(ResourceExtender.java:61) at org.eclipse.jdt.internal.debug.ui.launcher.ResourceExtender.test(ResourceExtender.java:44) at org.eclipse.core.internal.expressions.Property.test(Property.java:47) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:57) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:50) at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:50) at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:37) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:50) at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:28) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalContextualLaunchEnablementExpression(LaunchShortcutExtension.java:168) at org.eclipse.debug.internal.ui.actions.ContextualLaunchObjectActionDelegate.isApplicable(ContextualLaunchObjectActionDelegate.java:226) at org.eclipse.debug.internal.ui.actions.ContextualLaunchObjectActionDelegate.fillMenu(ContextualLaunchObjectActionDelegate.java:166) at org.eclipse.debug.internal.ui.actions.ContextualLaunchObjectActionDelegate$1.menuShown(ContextualLaunchObjectActionDelegate.java:103) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:793) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:774) at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3295) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2967) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1439) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3146) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:222) at org.eclipse.swt.widgets.Display.runPopups(Display.java:2604) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2249) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117) 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.basicRun(Main.java:267) at org.eclipse.core.launcher.Main.run(Main.java:692) at org.eclipse.core.launcher.Main.main(Main.java:676)
Could you please provide a reproducable test case? Thanks.
Jerome: this is started from the HierarchyResolver, can you take a look?
Without a reproducible test case there is little chance that we can fix the bug. And we don't want you to be stuck with M7 :-) Can you describe how you got the stack trace? What did you have in your workspace?
Created attachment 9839 [details] .options file Can you please save the attached .options file on your harddisk (e.g. d:\eclipse\.options) and start eclipse as follows? eclipse.exe -debug d:\eclipse\.options -vm d:\jdk1.4.2\jre\bin\java.exe Then run your test case. When the hierarchy is computed, some tracing should be printed to the DOS console. Please copy/paste this tracing into a text file and attach it to this bug report.
Please reopen once steps to reproduce are available.
Closing
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.