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 177517 - Unable to start debugger for Sun Java System Web Server 7
Summary: Unable to start debugger for Sun Java System Web Server 7
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Webserver (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 07:25 UTC by davybeans
Modified: 2010-09-28 12:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message log (57.70 KB, text/plain)
2009-11-24 07:38 UTC, davybeans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davybeans 2009-11-24 07:25:44 UTC
Hi,

I have followed all steps as outlined in the following article and have taken all the default install options during configuration.

http://developers.sun.com/webtier/reference/techart/deploy_nb.html

However, when I right-click on my web project and select Debug, I get the stack trace below.  I can attach a debugger by selecting "Debug\Attache Debugger" from the top menu but this does not enable the HTTP Server Monitor or JSP/JS debugging.

Thanks
Dave



Starting Admin Server of Web Server 7.0
Admin Server of Web Server 7.0 Started
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._stop(ServerInstance.java:1523)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1318)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startDebug(ServerInstance.java:992)
        at org.netbeans.modules.j2ee.ant.StartServer.execute(StartServer.java:106)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 15 seconds)
Comment 1 davybeans 2009-11-24 07:38:35 UTC
Created attachment 91606 [details]
Message log

Log file contains messages generated using the startup parameter

-J-Dorg.netbeans.modules.debugger.jpda.level=400
Comment 2 Petr Jiricka 2010-03-01 08:11:30 UTC
Is this a problem with the deployment infrastructure or with the webserver plugin?
Comment 3 davybeans 2010-09-28 12:53:58 UTC
(In reply to comment #2)
> Is this a problem with the deployment infrastructure or with the webserver
> plugin?

Hi,

I've only got back to this now.  I would guess the problem is with the deployment infastructure because I can debug by selecting "Debug\Attache Debugger" from the main menu in Netbeans.

Is this what you mean?

Incidentally I've tried this in SJSWS 7 update 8 running on NetBeans 6.9.1 and I still get the same problem.

Thanks
David