Summary: | refactorings fail + running fails + Background Indexer Crash Recovery | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kumiszcza <akumiszcza> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | Alfredo.Bencomo, gregh1, jlquinn, junkworld, rlinuz, stori, sxenos, tlau-eclipse |
Version: | 3.0 | ||
Target Milestone: | 3.0 RC4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Adam Kumiszcza
2004-06-12 15:22:41 EDT
Could you please try with -vmargs -Xj9É You might see a JIT bug. If -Xj9 is not supported, then you should try to upgrade the VM. I tried /opt/eclipse/eclipse -vmargs -Xj9 and the same errors appeared after a moment. I'm not sure how to pass arguments to eclipse? Did I do it ok? Or should I run startup.jar somehow? BTW. I forgot to mention that sometimes some command (e.g. refactoring) simply doesn't even start (no dialog appears) and after that a message appears "The command for the key you pressed failed". Here's the error log: Error cze 13, 2004 09:27:21.740 The command for the key you pressed failed java.lang.NullPointerException at org.eclipse.jdt.internal.core.search.indexing.IndexManager. getIndex(IndexManager.java:183) at org.eclipse.jdt.internal.core.search.PatternSearchJob. getIndexes(PatternSearchJob.java:90) at org.eclipse.jdt.internal.core.search.PatternSearchJob. execute(PatternSearchJob.java:58) at org.eclipse.jdt.internal.core.search.processing.JobManager. performConcurrentJob(JobManager.java:253) at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder. searchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:487) at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder. determinePossibleSubTypes(IndexBasedHierarchyBuilder.java:378) at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder. build(IndexBasedHierarchyBuilder.java:120) 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.SourceType.newTypeHierarchy(SourceType.java: 649) at org.eclipse.jdt.internal.corext.refactoring.rename.MethodChecks. isDeclaredInInterface(MethodChecks.java:98) at org.eclipse.jdt.internal.corext.refactoring.rename. RenameVirtualMethodProcessor. checkInitialConditions(RenameVirtualMethodProcessor.java:70) at org.eclipse.jdt.internal.ui.refactoring.reorg. RenameMethodUserInterfaceStarter.activate(RenameMethodUserInterfaceStarter.java: 37) at org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(RenameSupport.java: 108) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction. run(RenameJavaElementAction.java:175) at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction. run(RenameJavaElementAction.java:128) at org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:127) at org.eclipse.jdt.ui.actions.SelectionDispatchAction. dispatchRun(SelectionDispatchAction.java:216) at org.eclipse.jdt.ui.actions.SelectionDispatchAction. run(SelectionDispatchAction.java:188) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:141) at org.eclipse.ui.internal.commands.Command.execute(Command.java:132) at org.eclipse.ui.internal.keys.WorkbenchKeyboard. executeCommand(WorkbenchKeyboard.java:469) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java: 887) at org.eclipse.ui.internal.keys.WorkbenchKeyboard. processKeyEvent(WorkbenchKeyboard.java:928) at org.eclipse.ui.internal.keys.WorkbenchKeyboard. filterKeySequenceBindings(WorkbenchKeyboard.java:546) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard. java:494) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1. handleEvent(WorkbenchKeyboard.java:259) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Display.filterEvent(Display.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:2323) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:1808) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:440) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Native Method) at org.eclipse.swt.widgets.Display.eventProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code)) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:252) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator. java:334) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:272) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:41) at java.lang.reflect.Method.invoke(Method.java:386) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:638) at org.eclipse.core.launcher.Main.main(Main.java:622) (this one was for failed rename refactoring) *** Bug 68189 has been marked as a duplicate of this bug. *** I checked and this happens only with IBM's JDK. I'm using Sun JDK (1.4.2.04) and everything seems to work. Do you know exactly which IBM VM's you were using? From your trace, the VM was J2RE 1.4.1 IBM build cxia321411-20040301. We have received a few non-reproduceable problems running on this VM (newer versions are available), in code that has not changed in months. Closing until we can reproduce this problem on another VM. *** Bug 69545 has been marked as a duplicate of this bug. *** *** Bug 69902 has been marked as a duplicate of this bug. *** Strange, it was working fine until I rebooted, then the indexer started crashing again. I upgraded to 1.4.2 and it seems to have resolved the problem. Thanks Greg *** Bug 70784 has been marked as a duplicate of this bug. *** *** Bug 72840 has been marked as a duplicate of this bug. *** *** Bug 68510 has been marked as a duplicate of this bug. *** *** Bug 73582 has been marked as a duplicate of this bug. *** *** Bug 78339 has been marked as a duplicate of this bug. *** |