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 - Exception while debugging with Applet debugger type.
Summary: Exception while debugging with Applet debugger type.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: applet (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-09-27 21:06 UTC by Jan Jancura
Modified: 2003-07-02 16:00 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 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.