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 25924 - NPE in j2ee server
Summary: NPE in j2ee server
Status: RESOLVED DUPLICATE of bug 25910
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Solaris
: P2 blocker (vote)
Assignee: Damian Frach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-23 16:55 UTC by Damian Frach
Modified: 2006-06-05 00:39 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 Damian Frach 2002-07-23 16:55:45 UTC
NPE in j2ee server

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.firePr
opertyChange(DebuggerSupport.java:626)
        at 
org.netbeans.modules.debugger.delegator.DelegatingDebugger.f
irePropertyChange(DelegatingDebugger.java:432)
        at 
org.netbeans.modules.debugger.multisession.EnterpriseDebugge
r.firePropertyChange(EnterpriseDebugger.java:581)
        at 
org.netbeans.modules.debugger.multisession.EnterpriseDebugge
r.setCurrentDebugger(EnterpriseDebugger.java:617)
        at 
org.netbeans.modules.debugger.multisession.EnterpriseDebugge
r.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:474)
        at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager$
CopyMakerServerInstanceListener.serverStatusChanged
(DefaultServerInstanceManager.java:458)
        at 
org.netbeans.modules.j2ee.impl.ServerChangeSupport.fireStatu
s(ServerChangeSupport.java:82)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.fireSt
atus(Tomcat40Instance.java:199)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.fi
reStatus(Tomcat40Installation.java:1132)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.cr
eateNewTomcatProcess(Tomcat40Installation.java:879)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.st
artServerInDebugMode(Tomcat40Installation.java:832)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.sy
nchronizeStart(Tomcat40Installation.java:961)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.in
crementalDeploy(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.startDeb
ugging(DefaultExecPerformer.java:127)
        at 
org.netbeans.modules.web.execution.WebDefaultExecPerformer.s
tartDebugging(WebDefaultExecPerformer.java:271)
        at 
org.netbeans.modules.j2ee.impl.ServerDebuggerType.startDebug
ger(ServerDebuggerType.java:71)
        at 
org.netbeans.modules.j2ee.impl.ServerDebuggerType.startDebug
ger(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.pe
rformAction(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 17:00:57 UTC
occures only on Solaris

problem is known

NPE is caused by changes in the debugger core

it is easy to fix it
Comment 2 Damian Frach 2002-07-23 17:37:36 UTC
patch is ready and works
Comment 3 Damian Frach 2002-07-24 14:20:29 UTC
now I have found it is dupplication

*** This issue has been marked as a duplicate of 25910 ***