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 4026

Summary: Exception while debugging with Applet debugger type.
Product: obsolete Reporter: Jan Jancura <jjancura>
Component: appletAssignee: support <support>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Jancura 1999-09-27 21:06:47 UTC
When I use Applet debugger type for object which is not an applet, this exception occures:

java.lang.NullPointerException
        at com.netbeans.developer.modules.applet.AppletSupport.generateHtml(AppletSupport.java:66)
        at com.netbeans.developer.modules.applet.AppletSupport.generateHtmlFileURL(AppletSupport.java:93)
        at com.netbeans.developer.modules.applet.AppletDebuggerType.getParameters(AppletDebuggerType.java:93)
        at com.netbeans.developer.modules.applet.AppletDebuggerType.startDebugger(AppletDebuggerType.java:69)
        at org.openide.loaders.ExecSupport.debug(ExecSupport.java:119)
        at org.openide.actions.DebuggerPerformer$StartDebugThread.run(DebuggerPerformer.java:293)


The better way is to catch this exception & throw DebuggerException (it will be catched in DebuggerPerformer & some dialog with notification occures).
Comment 1 Marek Grummich 2000-07-25 09:32:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 16:00:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.