[jbosstools-issues] [JBoss JIRA] (JBIDE-9241) NPE when trying to reset deployment location field

Martin Malina (Closed) (JIRA) jira-events at lists.jboss.org
Wed Nov 2 10:21:45 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Malina closed JBIDE-9241.
--------------------------------



Verified in jbosstools-3.3_stable_branch.aggregate-Update-2011-10-27_16-13-53-H37.zip
                
> NPE when trying to reset deployment location field
> --------------------------------------------------
>
>                 Key: JBIDE-9241
>                 URL: https://issues.jboss.org/browse/JBIDE-9241
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 3.3.0.M4
>
>
> was playing with deployment locationand it was working when setting it to a different value, i.e. foo32.war, but when trying to reset it by putting empty string and then press enter I got the following error(s):
> java.lang.NullPointerException
> 	at org.jboss.ide.eclipse.as.ui.editor.DeploymentModuleOptionCompositeAssistant$LocalDeploymentCellModifier.modify(DeploymentModuleOptionCompositeAssistant.java:786)
> 	at org.eclipse.jface.viewers.ColumnViewer$2.setValue(ColumnViewer.java:274)
> 	at org.eclipse.jface.viewers.EditingSupport.saveCellEditorValue(EditingSupport.java:113)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor.saveEditorValue(ColumnViewerEditor.java:456)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor.applyEditorValue(ColumnViewerEditor.java:312)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor$2.applyEditorValue(ColumnViewerEditor.java:154)
> 	at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:335)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> 	at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:333)
> 	at org.eclipse.jface.viewers.CellEditor.focusLost(CellEditor.java:718)
> 	at org.eclipse.jface.viewers.TextCellEditor$5.focusLost(TextCellEditor.java:186)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)
> 	at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:3276)
> 	at org.eclipse.swt.widgets.Display.checkFocus(Display.java:642)
> 	at org.eclipse.swt.widgets.Shell.makeFirstResponder(Shell.java:1233)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5578)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method)
> 	at org.eclipse.swt.internal.cocoa.NSWindow.makeFirstResponder(NSWindow.java:194)
> 	at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1436)
> 	at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1416)
> 	at org.eclipse.swt.widgets.Control.setFocus(Control.java:3695)
> 	at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1032)
> 	at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1030)
> 	at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1030)
> 	at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1030)
> 	at org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:2107)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5516)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:213)
> 	at org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:361)
> 	at org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:532)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5340)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> 	at org.eclipse.swt.internal.cocoa.NSWindow.makeKeyAndOrderFront(NSWindow.java:198)
> 	at org.eclipse.swt.widgets.Shell.makeKeyAndOrderFront(Shell.java:1251)
> 	at org.eclipse.swt.widgets.Shell.setWindowVisible(Shell.java:1937)
> 	at org.eclipse.swt.widgets.Shell.open(Shell.java:1329)
> 	at org.eclipse.jface.window.Window.open(Window.java:797)
> 	at org.eclipse.ui.internal.statushandlers.InternalDialog.open(InternalDialog.java:327)
> 	at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.doAddStatusAdapter(WorkbenchStatusDialogManagerImpl.java:270)
> 	at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.addStatusAdapter(WorkbenchStatusDialogManagerImpl.java:197)
> 	at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStatusDialogManager.java:156)
> 	at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(WorkbenchErrorHandler.java:101)
> 	at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.handle(WorkbenchErrorHandler.java:57)
> 	at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handle(IDEWorkbenchErrorHandler.java:108)
> 	at org.eclipse.ui.internal.WorkbenchErrorHandlerProxy.handle(WorkbenchErrorHandlerProxy.java:36)
> 	at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:189)
> 	at org.eclipse.ui.internal.JFaceUtil$3.show(JFaceUtil.java:70)
> 	at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:67)
> 	at org.eclipse.core.runtime.SafeRunner.handleException(SafeRunner.java:75)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:44)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> 	at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:333)
> 	at org.eclipse.jface.viewers.TextCellEditor.handleDefaultSelection(TextCellEditor.java:293)
> 	at org.eclipse.jface.viewers.TextCellEditor$1.widgetDefaultSelected(TextCellEditor.java:148)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:119)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3971)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	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:622)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> and
> java.lang.NullPointerException
> 	at org.jboss.ide.eclipse.as.ui.editor.DeploymentModuleOptionCompositeAssistant$LocalDeploymentCellModifier.modify(DeploymentModuleOptionCompositeAssistant.java:786)
> 	at org.eclipse.jface.viewers.ColumnViewer$2.setValue(ColumnViewer.java:274)
> 	at org.eclipse.jface.viewers.EditingSupport.saveCellEditorValue(EditingSupport.java:113)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor.saveEditorValue(ColumnViewerEditor.java:456)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor.applyEditorValue(ColumnViewerEditor.java:312)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor$2.applyEditorValue(ColumnViewerEditor.java:154)
> 	at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:335)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> 	at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:333)
> 	at org.eclipse.jface.viewers.TextCellEditor.handleDefaultSelection(TextCellEditor.java:293)
> 	at org.eclipse.jface.viewers.TextCellEditor$1.widgetDefaultSelected(TextCellEditor.java:148)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:119)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3971)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	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:622)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list