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 61637 - NPE when accesing deployed Web apps in debug mode
Summary: NPE when accesing deployed Web apps in debug mode
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-02 09:35 UTC by Jaroslav Pospisil
Modified: 2005-09-05 10:13 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 Jaroslav Pospisil 2005-08-02 09:35:10 UTC
Build 200508011800

1)Start with new userdir
2)Create web module on bundled Tomcat
3)Debug web module(e.g. by pressing F5)
4)Go to Runtime tab
5)Try to unroll Bundled tomcat/Web applications node to show deployed web apps
6)ERROR

The node stuck with text Please wait and you get NPE exception :



*********** Exception occurred ************ at 10:20 AM on Aug 2, 2005
java.lang.NullPointerException
	at org.netbeans.modules.tomcat5.TomcatManager.isSuspended(TomcatManager.java:304)
	at
org.netbeans.modules.tomcat5.nodes.TomcatWebModuleChildren$1.run(TomcatWebModuleChildren.java:64)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)



NOTICE: Deploy/run of web application works fine and also when Tomcat is started
in debug mode by Start/Stop server .
Comment 1 Jaroslav Pospisil 2005-08-02 14:16:03 UTC
This problem occurs also when debugging on external Tomcat servers.
Comment 2 Sherold Dev 2005-08-02 14:16:41 UTC
This must be fixed for 4.2.

Comment 4 Jaroslav Pospisil 2005-08-26 15:16:11 UTC
Verified on 200508261227.