Subject: NetBeans Debugger not working on NetBSD 2.0_RC4
To: None <tech-pkg@netbsd.org>
From: Luciano Rodrigues Furtado <lrfurtado@yahoo.com.br>
List: tech-pkg
Date: 10/26/2004 16:01:13
--Signature=_Tue__26_Oct_2004_16_01_13_-0200_N3C3R74MDHF6fq9i
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit



Hi i am trying to get the NetBeans java debugger to work on NetBSD 2.0_RC4 with sun-jdk1.4 
running under linux emulation, and i keep getting the following error after setting a breakpoint
and hiting ALT+F5

Annotation: Exception occurred in Request Processor
java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
	at java.security.AccessControlContext.checkPermission(Unknown Source)
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:270)
	at java.lang.SecurityManager.checkAccess(Unknown Source)
	at java.lang.ThreadGroup.checkAccess(Unknown Source)
	at java.lang.ThreadGroup.<init>(Unknown Source)
	at java.lang.ThreadGroup.<init>(Unknown Source)
	at com.sun.tools.jdi.VirtualMachineManagerImpl.<init>(VirtualMachineManagerImpl.java:84)
	at com.sun.jdi.Bootstrap.virtualMachineManager(Bootstrap.java:24)
	at org.netbeans.modules.debugger.jpda.Launcher.launch(Launcher.java:68)
	at org.netbeans.modules.debugger.jpda.JPDADebugger.launch(JPDADebugger.java:1016)
	at org.netbeans.modules.debugger.jpda.JPDADebugger.startDebugger(JPDADebugger.java:255)
	at org.netbeans.modules.debugger.multisession.EnterpriseDebugger.startDebugger(EnterpriseDebugger.java:215)
	at org.netbeans.modules.debugger.delegator.DefaultDebuggerType.startDebugger(DefaultDebuggerType.java:151)
	at org.netbeans.modules.debugger.support.ProcessDebuggerType.startDebugger(ProcessDebuggerType.java:234)
	at org.openide.debugger.DebuggerType.startDebugger(DebuggerType.java:64)
	at org.openide.loaders.ExecSupport.debug(ExecSupport.java:75)
	at org.netbeans.modules.debugger.support.actions.StartAction.performAction(StartAction.java:90)
	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431)
	at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)


Additional INFORMATION:

dr-pepper: {2252}uname -a
NetBSD dr-pepper 2.0_RC4 NetBSD 2.0_RC4 (DR_PEPPER) #3: Thu Oct 14 11:09:06 BRT 2004  root@dr-pepper:/usr/src-netbsd/sys/arch/i386/compile/DR_PEPPER i386

dr-pepper: {2253}pkg_info| grep sun
sun-jre14-2.5       Sun's Java(tm) 2 Runtime Environment 1.4.2
sun-jdk14-2.5       Sun's Java(tm) 2 SDK, Standard Edition 1.4.2

dr-pepper: {2254}pkg_info| grep netbe
netbeans-ide-3.5.1  NetBeans Java IDE


i have procfs mounted with the linux option

thanks in advance,

Luciano

--Signature=_Tue__26_Oct_2004_16_01_13_-0200_N3C3R74MDHF6fq9i
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBfpDtzC2EE1KeD2ARAv09AJ0VaJyHj+1lpOXPwEdCFqWRX3G/bQCg2a5r
i5eZFrA3S9CaG5UEP9QKPa0=
=jNXo
-----END PGP SIGNATURE-----

--Signature=_Tue__26_Oct_2004_16_01_13_-0200_N3C3R74MDHF6fq9i--