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.

Bug 25910 - NPE while starting JSP debugger on Solaris
Summary: NPE while starting JSP debugger on Solaris
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: Damian Frach
URL:
Keywords:
: 25924 26382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-23 04:49 UTC by Mikhail Romanov
Modified: 2003-07-02 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Romanov 2002-07-23 04:49:10 UTC
Bug exists in NB3.4 build 200207220750.

Try to start JSP debugger on Solaris for
non-compiled JSP and observe the following NPE
(debugger doesn't work after that):

java.lang.NullPointerException
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager$DebuggerPropertyChangeListener.propertyChange(DefaultServerInstanceManager.java:410)
        at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:252)
        at
org.netbeans.modules.debugger.support.DebuggerSupport.firePropertyChange(DebuggerSupport.java:626)
        at
org.netbeans.modules.debugger.delegator.DelegatingDebugger.firePropertyChange(DelegatingDebugger.java:432)
        at
org.netbeans.modules.debugger.multisession.EnterpriseDebugger.firePropertyChange(EnterpriseDebugger.java:581)
        at
org.netbeans.modules.debugger.multisession.EnterpriseDebugger.setCurrentDebugger(EnterpriseDebugger.java:617)
        at
org.netbeans.modules.debugger.multisession.EnterpriseDebugger.startDebugger(EnterpriseDebugger.java:230)
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.connectIDEDebugger(DefaultServerInstanceManager.java:210)
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.access$100(DefaultServerInstanceManager.java:83)
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager$CopyMakerServerInstanceListener.go(DefaultServerInstanceManager.java:473)
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager$CopyMakerServerInstanceListener.serverStatusChanged(DefaultServerInstanceManager.java:458)
        at
org.netbeans.modules.j2ee.impl.ServerChangeSupport.fireStatus(ServerChangeSupport.java:82)
        at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.fireStatus(Tomcat40Instance.java:199)
        at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.fireStatus(Tomcat40Installation.java:1132)
        at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.createNewTomcatProcess(Tomcat40Installation.java:879)
        at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.startServerInDebugMode(Tomcat40Installation.java:832)
        at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.synchronizeStart(Tomcat40Installation.java:961)
        at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.incrementalDeploy(Tomcat40Installation.java:600)
        at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy(Tomcat40Instance.java:260)
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.doDeploy(DefaultServerInstanceManager.java:136)
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startDebugger(DefaultServerInstanceManager.java:178)
        at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.serverInstanceStartDebugging(DefaultServerInstanceManager.java:115)
        at
org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startDebugging(DefaultExecPerformer.java:127)
        at
org.netbeans.modules.web.execution.WebDefaultExecPerformer.startDebugging(WebDefaultExecPerformer.java:271)
        at
org.netbeans.modules.j2ee.impl.ServerDebuggerType.startDebugger(ServerDebuggerType.java:71)
        at
org.netbeans.modules.j2ee.impl.ServerDebuggerType.startDebugger(ServerDebuggerType.java:63)
        at
org.netbeans.modules.j2ee.impl.ExecSupport.debug(ExecSupport.java:149)
        at
org.netbeans.modules.j2ee.impl.ServerExecSupport.debug(ServerExecSupport.java:155)
        at
org.netbeans.modules.debugger.support.actions.StartAction.performAction(StartAction.java:90)
        at
org.openide.util.actions.NodeAction.performAction(NodeAction.java:179)
        at
org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:170)
        at
org.netbeans.core.ModuleActions$1.run(ModuleActions.java:100)
        at
org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Comment 1 Damian Frach 2002-07-23 15:33:12 UTC
I am able to reproduce it on Solaris
Comment 2 Damian Frach 2002-07-23 15:37:02 UTC
It is duplication of the 25800. But I will let this bug 
open, because we maybe will want to integrate the bug into 
the NB34
Comment 3 Damian Frach 2002-07-23 16:59:06 UTC
25800 is fixed in trunk

patch for 25800 works for this bug too

but causes another bug: 25924
Comment 4 Damian Frach 2002-07-24 14:20:28 UTC
*** Issue 25924 has been marked as a duplicate of this issue. ***
Comment 5 Damian Frach 2002-07-24 14:28:21 UTC
it is not dupplication of the 25800

patch is ready and works
Comment 6 Jesse Glick 2002-07-25 17:30:01 UTC
So is this fixed in the trunk or what? If so please marked FIXED/4.0.
Comment 7 Damian Frach 2002-07-25 17:44:22 UTC
fixed in trunk
Comment 8 Damian Frach 2002-07-25 17:48:30 UTC
-
Comment 9 Damian Frach 2002-08-08 13:01:17 UTC
*** Issue 26382 has been marked as a duplicate of this issue. ***
Comment 10 Damian Frach 2002-08-08 16:38:30 UTC
-
Comment 11 Damian Frach 2002-08-08 18:18:28 UTC
integrated in release34 branch on 29th July 2002
Comment 12 sva 2003-02-19 12:12:27 UTC
Verified with current Netbeans dev build (200302191342).
Comment 13 Quality Engineering 2003-07-02 08:29:55 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.