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 2224 - Debugging of SwingApplets does not work.
Summary: Debugging of SwingApplets does not work.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: applet (show other bugs)
Version: 3.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-11 17:39 UTC by issues@www
Modified: 2005-03-09 04:28 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 issues@www 1999-06-11 17:39:08 UTC
Attempting to debug Swing Applet prints following lines to output window:
n:/jdk1.2/jre/bin/java -Xdebug -Djava.compiler=NONE ....
....
some lines missing see attachement for full listing.
...
sun.tools.agent.EmptyApp

Password: 54d6u9
Thread death event: main
Thread created: main
Thread death event: main
An exception event occurred in the debugging process: Uncaught exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup )
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
	at java.security.AccessController.checkPermission(AccessController.java:403)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
	at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:142)
	at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:278)
	at java.lang.Thread.init(Thread.java:263)
	at java.lang.Thread.<init>(Thread.java:398)
	at javax.swing.TimerQueue.start(TimerQueue.java:62)
	at javax.swing.TimerQueue.<init>(TimerQueue.java:42)
	at javax.swing.TimerQueue.sharedInstance(TimerQueue.java:50)
	at javax.swing.JApplet.<init>(JApplet.java:107)
	at testapplets.SwingApplet.<init>(SwingApplet.java:11)
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:239)
	at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
	at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
	at sun.applet.AppletPanel.run(AppletPanel.java:302)
	at java.lang.Thread.run(Thread.java:479)


Thread group created: http://martin-ws:8081/repository/-threadGroup
Thread group created: http://martin-ws:8081/repository/-threadGroup-0
Thread created: thread applet-testapplets/SwingApplet.class
Thread created: AWT-EventQueue-1
Thread created: SunToolkit.PostEventQueue-1
Thread created: Thread-1
Thread created: AWT-EventQueue-0
Thread created: SunToolkit.PostEventQueue-0
Thread created: AWT-Windows
Thr