This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Executing Servlet without assigned webmodule throws exception | ||
---|---|---|---|
Product: | javaee | Reporter: | L Martinek <lmartinek> |
Component: | Code | Assignee: | _ rkubacki <rkubacki> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
L Martinek
2001-05-07 17:10:57 UTC
WebModule property appears when FS is converted. ...but the exception is still thrown. The exception is thrown even if webmodule is set. If you copy servlet created outdside IDE to webmodule and convert it to servlet then it has webmodule property set. Execute it and Servlet configuration dialog appears with correct webmodule. Click on OK and exception is thrown. Look at property sheet of the servlet. Now webmodule property is empty. Change of e-mail address Can't reproduce it now Works on Linux, doesn't work on Windows fixed (mixed display and system name of FileSystem) Bug is still on build 010608. When I created servlet from template in normal filesystem (not webmodule) and execute it following exception is thrown Mon Jun 11 11:45:03 CEST 2001: java.lang.NullPointerException: Posted StackTrace Annotation: Exception occurred in Request Processor org.openide.util.RequestProcessor$Holder: Posted StackTrace(task org.netbeans.core.ModuleActions$1@3be58 [-3704, 1, -1]) at org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:322) at org.openide.util.RequestProcessor.post(RequestProcessor.java:100) at org.openide.util.RequestProcessor.post(RequestProcessor.java:73) at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:89) at org.openide.awt.Actions$ButtonBridge.actionPerformed(Actions.java:351) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.ja va:1504) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) at org.openide.awt.EnabledButtonModel.setPressed(EnabledButtonModel.java:83) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.jav a:216) [catch] at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230) at java.awt.Component.processMouseEvent(Component.java:3715) at java.awt.Component.processEvent(Component.java:3544) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2593) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:914) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:1 31) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) Mon Jun 11 11:45:03 CEST 2001: java.lang.NullPointerException: null java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:320) at org.openide.filesystems.Repository.findFileSystem(Repository.java:275) at org.netbeans.modules.web.ie.servlets.ServletIEDataObject$ServletConfigSupport.ge tServletMappings(ServletIEDataObject.java:423) at org.netbeans.modules.web.core.jsploader.ServletExecParamsPanel.fillServletMappin gs(ServletExecParamsPanel.java:99) at org.netbeans.modules.web.core.jsploader.ServletExecParamsPanel.fillValues(Servle tExecParamsPanel.java:88) at org.netbeans.modules.web.core.jsploader.ServletExecParamsPanel.<init>(ServletExe cParamsPanel.java:54) at org.netbeans.modules.web.core.jsploader.ServletExecParamsAction.performAction(Se rvletExecParamsAction.java:61) at org.netbeans.modules.web.execution.ServletExecPerformer.readyForExecution(Servle tExecPerformer.java:102) at org.netbeans.modules.web.execution.WebDefaultExecPerformer.startExecution(WebDef aultExecPerformer.java:158) at org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:55) at org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:42) at org.openide.loaders.ExecSupport.start(ExecSupport.java:92) at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:140) at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:237) at org.openide.actions.ExecuteAction.performAction(ExecuteAction.java:102) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:92) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:83) at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:76) at org.openide.util.Task.run(Task.java:124) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:626) fixed conflict between system and display name of FS Now it seems that there is no way how to have webmodule property empty. Resolved for 3.4.x or earlier, no new info since then -> closing. |