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 26382 - NPE when starting debugger
Summary: NPE when starting debugger
Status: RESOLVED DUPLICATE of bug 25910
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-08 12:32 UTC by sva
Modified: 2006-06-04 23:59 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 sva 2002-08-08 12:32:11 UTC
Steps to reproduce:
1. Start debug 1st JSP.
2. Execute 2nd JSP.
3. Start debug 2nd JSP.

Following exception occured:
==========================================================
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.fireP
ropertyChange(DebuggerSupport.java:626)
        at 
org.netbeans.modules.debugger.delegator.DelegatingDebugger.
firePropertyChange(DelegatingDebugger.java:432)
        at 
org.netbeans.modules.debugger.multisession.EnterpriseDebugg
er.firePropertyChange(EnterpriseDebugger.java:581)
        at 
org.netbeans.modules.debugger.multisession.EnterpriseDebugg
er.setCurrentDebugger(EnterpriseDebugger.java:617)
        at 
org.netbeans.modules.debugger.multisession.EnterpriseDebugg
er.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.fireStat
us(ServerChangeSupport.java:82)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.fireS
tatus(Tomcat40Instance.java:199)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.f
ireStatus(Tomcat40Installation.java:1132)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.c
reateNewTomcatProcess(Tomcat40Installation.java:879)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.s
tartServerInDebugMode(Tomcat40Installation.java:832)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.s
ynchronizeStart(Tomcat40Installation.java:961)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.i
ncrementalDeploy(Tomcat40Installation.java:600)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deplo
y(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.startDe
bugging(DefaultExecPerformer.java:127)
        at 
org.netbeans.modules.web.execution.WebDefaultExecPerformer.
startDebugging(WebDefaultExecPerformer.java:271)
        at 
org.netbeans.modules.j2ee.impl.ServerDebuggerType.startDebu
gger(ServerDebuggerType.java:71)
        at 
org.netbeans.modules.j2ee.impl.ServerDebuggerType.startDebu
gger(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.p
erformAction(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)
==========================================================

Reproduced under RH Linux 7.2 & Sparc Solaris 8 with 
Netbeans RC1, build 200207252340.
Comment 1 Damian Frach 2002-08-08 13:01:20 UTC

*** This issue has been marked as a duplicate of 25910 ***
Comment 2 sva 2002-08-08 13:52:10 UTC
Hi Damian,

I think that there is a different bugs.
Bug 25910 describe that debugger thrown expection when 
starting. I can't reproduce this bug. But this bug is says 
that is case when user start debug, then start execution, 
and again start debug, exception occured.

I think that there is 2 ways: reop 25910 or reop this 
issue. What bug I should reopen?
Comment 3 Damian Frach 2002-08-08 14:08:09 UTC
thanks for fast response

generally I prefer to reopen older bugs (25910) in the 
case, when there is same exception. Very often it is same 
problem

!!! BUT, the 25910 and 2 other important bugs were 
integrated in 2002/7/29 14:57:18. 

So for testing of the NB34, you CANNOT use RC1, but some 
RC2 candidate (at least should be older then 2002/7/29)

Comment 4 sva 2002-08-08 14:14:52 UTC
OK, I'll get new build and try to test it.
But these 3 bugs is integrated on my build too.
Comment 5 Damian Frach 2002-08-08 14:25:30 UTC
it is my fault, I badly updated 25910 bug report

but there was other changes in the debugger core

offical rc2 will be done tomorrow (8th August 2002)
so for testing use please last nb 34 build (it means 
current day)

after rc2 release, use please rc2