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 21716 - java.lang.exception thrown if I try to start second debugger session
Summary: java.lang.exception thrown if I try to start second debugger session
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Damian Frach
URL:
Keywords:
Depends on: 20079
Blocks:
  Show dependency tree
 
Reported: 2002-03-19 16:01 UTC by sva
Modified: 2003-07-02 08:30 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-03-19 16:01:53 UTC
Step to reproduce:
1. Add a breakpoint to you jsp file.
2. Start debugger and wait while it stops on breakpoint.
3. Click on "Editing" tab of explorer. 
4. Place cursor to your jsp file.
5. Press Debug->Start menu item.

Expected result: Dialog "Start new session" will be shown.
Actual result: Dialog "Start new session" shown and following exception thrown:
====================begin of exception=====================================
Tue Mar 19 18:59:24 GMT+03:00 2002: java.lang.Exception: tomcat is not stopped 
properly
java.lang.Exception: tomcat is not stopped properly
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.stopExecution
(Tomcat40Installation.java:688)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.startServerInDebugMode
(Tomcat40Installation.java:518)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.synchronizeStart
(Tomcat40Installation.java:646)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.incrementalDeploy
(Tomcat40Installation.java:402)
        at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy
(Tomcat40Instance.java:262)
        at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.doDeploy
(DefaultServerInstanceManager.java:145)
        at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startDebugger
(DefaultServerInstanceManager.java:187)
        at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.serverInstanceStartD
ebugging(DefaultServerInstanceManager.java:120)
        at org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startDebugging
(DefaultExecPerformer.java:127)
        at 
org.netbeans.modules.web.execution.WebDefaultExecPerformer.startDebugging
(WebDefaultExecPerformer.java:242)
        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.debugger.support.actions.StartAction.performAction
(StartAction.java:88)
        at org.openide.util.actions.NodeAction.performAction
(NodeAction.java:180)
        at org.openide.util.actions.NodeAction.actionPerformed
(NodeAction.java:171)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:105)
        at org.openide.util.Task.run(Task.java:152)
[catch] at org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:622)
======================end of exception=======================================

Reproduced with build 020318 under Solaris 8.
Comment 1 Damian Frach 2002-03-20 10:07:33 UTC
It depends on 20079. 20079 was fixed. so this bug is fixed too, 
because you are not able to start second debugging session on solaris 
or other OS.
Comment 2 Petr Jiricka 2002-04-23 10:02:51 UTC
Changing target milestone to FFJ 4.0
Comment 3 Petr Jiricka 2002-04-23 10:13:45 UTC
Changing target milestone to FFJ 4.0
Comment 4 sva 2003-02-11 15:17:32 UTC
Verified with build 0300113.
Comment 5 Quality Engineering 2003-07-02 08:30:21 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.