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.
Build: NetBeans IDE Dev (Build 090309) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: juhrik: -Logged in to testkenai -Pushed main menu Team>Kenai>Logout -->> The exception dialog appears Stacktrace: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:893) at java.util.concurrent.Executors$DelegatedExecutorService.shutdown(Executors.java:594) at org.jivesoftware.smack.PacketReader.shutdown(PacketReader.java:191) at org.jivesoftware.smack.XMPPConnection.shutdown(XMPPConnection.java:570)
Created attachment 77908 [details] stacktrace
Build: NetBeans IDE Dev (Build cdev-365-on-090312) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: When pushing main menu item Team>Kenai>Logout thee exception appears. Stacktrace: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:893) at java.util.concurrent.Executors$DelegatedExecutorService.shutdown(Executors.java:594) at org.jivesoftware.smack.PacketReader.shutdown(PacketReader.java:191) at org.jivesoftware.smack.XMPPConnection.shutdown(XMPPConnection.java:570)
Created attachment 78100 [details] stacktrace
Seems to be harmless
Build: NetBeans IDE Dev (Build 200904080201) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: Logged out from testkenai and the exception appeared. Stacktrace: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:893) at java.util.concurrent.Executors$DelegatedExecutorService.shutdown(Executors.java:594) at org.jivesoftware.smack.PacketReader.shutdown(PacketReader.java:191) at org.jivesoftware.smack.XMPPConnection.shutdown(XMPPConnection.java:570)
Created attachment 79701 [details] stacktrace
Build: NetBeans IDE Dev (Build 200904090200) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: When I log out from testkenai I get this exception. Stacktrace: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:893) at java.util.concurrent.Executors$DelegatedExecutorService.shutdown(Executors.java:594) at org.jivesoftware.smack.PacketReader.shutdown(PacketReader.java:191) at org.jivesoftware.smack.XMPPConnection.shutdown(XMPPConnection.java:570)
Created attachment 79878 [details] stacktrace
This exception appears always when I log out from kenai. It would be great if it is fixed because after logout there is still "logout" item in menu Team|Kenai instead of "login".
works for me
It is not reproducible on my win XP. But I can still reproduce on Mac in the following build: Product Version: NetBeans IDE Dev (Build 200904270201) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb)
I can still reproduce on Mac in build of 2008/05/06. Since this issue is annoying and appears after kenai logout (which is main menu action - so that it is high visible case) I am increasing the priority to P2.
Jardo, do you have idea? It looks like some problem with security permissions. Where are the Nb security properties stored? Thanks.
Jaro, by the way, which JDK do you use? Maybe this is reproducible with JDK 1.5, but not with 1.6.
*** Issue 164508 has been marked as a duplicate of this issue. ***
I did workaround in collab module: I moved shutdown() from RequestProcessor thread. Anyway I'm not sure, that the bug was in collab module. It can be in openide or JDK... 755ba2bc8366
Integrated into 'main-golden', will be available in build *200905130201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/755ba2bc8366 User: Jan Becicka <jbecicka@netbeans.org> Log: #159906: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
Verified in the following build and also in many former builds: Product Version: NetBeans IDE Dev (Build 200908110201) Java: 1.5.0_19; Java HotSpot(TM) Client VM 1.5.0_19-137 System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)