Watch, Follow, &
Connect with Us
Public Report
Report From: 3rdRail/DLTK Regressions    [ Add a report in this area ]  
Report #:  70892   Status: Closed
Search NPE
Project:  3rdRail Build #:  v20081030_1510
Version:    unspecifie Submitted By:   Lori Olson
Report Type:  Basic functionality failure Date Reported:  1/26/2009 4:09:27 PM
Severity:    Serious / Highly visible problem Last Updated: 8/11/2009 10:07:53 AM
Platform:    Mac OS Internal Tracking #:  
Resolution: Fixed (Resolution Comments) Resolved in Build: : v20090731_1501
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
When I try to search my entire project (Ctrl-H), I get an null pointer exception.
Steps to Reproduce:
At this point, any attempt to use "Ctrl-H" to invoke the search action fails with this NPE:

09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226] !ENTRY org.eclipse.ui 4  
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226] 0 2009-01-26 17:05:46.970
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226] !MESSAGE Unhandled event loop exception
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226] !STACK 0
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226] java.lang.NullPointerException
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.dltk.internal.core.ScriptProject.getHandleFromMemento(ScriptProject.java:2774)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.dltk.internal.core.ModelElement.getHandleFromMemento(ModelElement.java:629)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.dltk.internal.core.Model.getHandleFromMemento(Model.java:352)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.dltk.internal.core.ModelElement.getHandleFromMemento(ModelElement.java:629)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.dltk.core.DLTKCore.create(DLTKCore.java:2334)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.dltk.core.DLTKCore.create(DLTKCore.java:2308)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.dltk.internal.ui.PersistableModelElementFactory.createElement(PersistableModelElementFactory.java:57)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.WorkingSet.restoreWorkingSet(WorkingSet.java:163)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.AbstractWorkingSet.getElementsArray(AbstractWorkingSet.java:151)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.WorkingSet.hashCode(WorkingSet.java:131)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at java.util.HashMap.put(HashMap.java:418)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at java.util.HashSet.add(HashSet.java:194)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.ScopePart.getStoredWorkingSets(ScopePart.java:131)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.ScopePart.<init>(ScopePart.java:88)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.SearchDialog.createPageControl(SearchDialog.java:689)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.SearchDialog.createPageArea(SearchDialog.java:393)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.util.ExtendedDialogWindow.createDialogArea(ExtendedDialogWindow.java:136)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:754)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.jface.window.Window.create(Window.java:426)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1083)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.SearchDialog.create(SearchDialog.java:256)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.jface.window.Window.open(Window.java:785)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:54)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:45)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2950)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at java.lang.reflect.Method.invoke(Method.java:585)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
09/01/26 5:05:46 PM [0x0-0x3a23a2].com.codegear.3rdRail[38226]  at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 1/27/2009 5:56:52 PM -
I marked this report as 'Private' as Sysop, because your Build No is for FieldTest.
Please try to use RTM version(or Trial edition).

Lori Olson at 2/10/2009 2:28:23 PM -
Current build:

Version: 2.0.0
Build: v20081111_1830

Same problem.

09/02/10 3:23:43 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773] !ENTRY org.eclipse.ui 4 0 2009-02-10 15:24:00.392
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773] !MESSAGE Unhandled event loop exception
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773] !STACK 0
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773] java.lang.NullPointerException
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.dltk.internal.core.ScriptProject.getHandleFromMemento(ScriptProject.java:2774)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.dltk.internal.core.ModelElement.getHandleFromMemento(ModelElement.java:629)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.dltk.internal.core.Model.getHandleFromMemento(Model.java:352)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.dltk.internal.core.ModelElement.getHandleFromMemento(ModelElement.java:629)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.dltk.core.DLTKCore.create(DLTKCore.java:2334)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.dltk.core.DLTKCore.create(DLTKCore.java:2308)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.dltk.internal.ui.PersistableModelElementFactory.createElement(PersistableModelElementFactory.java:57)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.ui.internal.WorkingSet.restoreWorkingSet(WorkingSet.java:163)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.ui.internal.AbstractWorkingSet.getElementsArray(AbstractWorkingSet.java:151)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.ui.internal.WorkingSet.hashCode(WorkingSet.java:131)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at java.util.HashMap.put(HashMap.java:418)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at java.util.HashSet.add(HashSet.java:194)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.ScopePart.getStoredWorkingSets(ScopePart.java:131)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.ScopePart.<init>(ScopePart.java:88)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.SearchDialog.createPageControl(SearchDialog.java:689)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.SearchDialog.createPageArea(SearchDialog.java:393)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.util.ExtendedDialogWindow.createDialogArea(ExtendedDialogWindow.java:136)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:754)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.jface.window.Window.create(Window.java:426)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1083)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.SearchDialog.create(SearchDialog.java:256)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.jface.window.Window.open(Window.java:785)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:54)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:45)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
09/02/10 3:24:00 PM [0x0-0x4ed4ed].com.codegear.3rdRail[25773]  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)

Tomohiro Takahashi at 2/11/2009 8:06:12 PM -
Could you please provide more information about your environemnt, OS, Locale, Ruby etc...?

Server Response from: ETNACODE01