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 17006

Summary: Applet viewer started when Start debugging
Product: debugger Reporter: Karel Serin <kserin>
Component: CodeAssignee: Jan Jancura <jjancura>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Karel Serin 2001-10-26 09:22:55 UTC
NetBeans build 200110260100
=======================

Steps to reproduce:
--------------------

1. put breakpoint somewhere e.g. MemoryView, Clock app
2. Start debugging
3. Applet viewer is strated sometimes the following warning is printed to Output
window or the ClassCastException appears in the Output window
4. when Finishing Debugging Session there are running session(s) with this name
sun.applet.AppletViewer
5. but debugging seems to work

Warning:
Can't read AppletViewer properties file

java.lang.ClassCastException: examples.clock.ClockFrame
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
        at sun.applet.AppletPanel.run(AppletPanel.java:293)
        at java.lang.Thread.run(Thread.java:484)
Comment 1 Karel Serin 2001-10-26 09:47:02 UTC
Changing priority to P2
Comment 2 Karel Serin 2001-10-26 09:48:51 UTC
Described problem apperas only for the first start of IDE

Workaroud: Restart of IDE
Comment 3 Karel Serin 2001-10-26 14:46:22 UTC
*** Issue 17001 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Kovalsky 2001-10-26 15:13:11 UTC
This is considered as Beta-2 stopper. Should be fixed to the branch 
once it is created.
Comment 5 Karel Serin 2001-10-26 15:29:20 UTC
I wasn't right with restart, sorry for confusing.

Start of Debugging caused Start of Applet Debugging 
(sun.applet.AppletViewer) as you can see from cmd line.

If you inspect Tools|Options or Properties|Execution tab everything 
looks OK.

Workaround:
Try to explicitly set the Default Debugging in the Properties window. 
It is best to do so before first session run. 
Comment 6 Jan Jancura 2001-10-29 16:01:38 UTC
in main trunk and release33_beta2
Comment 7 Jan Stola 2001-10-30 09:50:57 UTC
It seems to work in main trunk build 200110300927
and release33_beta2 build 200110291616.
Comment 8 Quality Engineering 2003-06-30 17:32:03 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.