Issue Details (XML | Word | Printable)

Key: IDE-799
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Christian Dupuis
Reporter: Barry Kaplan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring IDE

NPE on clicking Add... in Config Files tab

Created: 05/Feb/08 01:56 PM   Updated: 05/Feb/08 04:43 PM
Component/s: beans.ui
Affects Version/s: 2.0.3
Fix Version/s: 2.0.3

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive mylyn-context.zip (0.6 kB)

Environment: nightly builds


 Description  « Hide
Open the dialog, click the Add... button. I get the following plugin error:
java.lang.NullPointerException
	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$ConfigFileFilter.selectFile(ConfigFilesTab.java:459)
	at org.springframework.ide.eclipse.ui.viewers.FileSuffixFilter.select(FileSuffixFilter.java:59)
	at org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:96)
	at org.springframework.ide.eclipse.ui.viewers.JavaFileSuffixFilter.select(JavaFileSuffixFilter.java:66)
	at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51)
	at org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.evaluateIfTreeEmpty(FilteredElementTreeSelectionDialog.java:344)
	at org.springframework.ide.eclipse.ui.dialogs.FilteredElementTreeSelectionDialog.open(FilteredElementTreeSelectionDialog.java:202)
	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleAddButtonPressed(ConfigFilesTab.java:372)
	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleButtonPressed(ConfigFilesTab.java:331)
	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.access$0(ConfigFilesTab.java:329)
	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$1.widgetSelected(ConfigFilesTab.java:118)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2381)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2345)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2211)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:473)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:468)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
	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:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:561)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:501)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1239)


 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.