Page 1 of 1

java.security.AccessControlException: access denied

Posted: 01 Aug 2015, 02:25
by MasterCATZ
Pretty much installed Java 9 yesterday and Filebot seems to now be broken
or it might have broken during ubuntu update last week ..

clicking on open to load files or dragging files to be renamed no longer works

aio@aio:~/Downloads$ filebot
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at net.filebot.ui.transfer.LoadAction.actionPerformed(LoadAction.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2026)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2366)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:261)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:266)
at java.awt.Component.processMouseEvent(Component.java:6603)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3349)
at java.awt.Component.processEvent(Component.java:6368)
at java.awt.Container.processEvent(Container.java:2259)
at java.awt.Component.dispatchEventImpl(Component.java:4987)
at java.awt.Container.dispatchEventImpl(Container.java:2317)
at java.awt.Component.dispatchEvent(Component.java:4819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
at java.awt.Container.dispatchEventImpl(Container.java:2303)
at java.awt.Window.dispatchEventImpl(Window.java:2756)
at java.awt.Component.dispatchEvent(Component.java:4819)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:712)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:734)
at java.awt.EventQueue$4.run(EventQueue.java:732)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "net.filebot.UserFiles.fileChooser" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:468)
at java.security.AccessController.checkPermission(AccessController.java:894)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:541)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
at java.lang.System.getProperty(System.java:744)
at net.filebot.Settings.getPreferredFileChooser(Settings.java:116)
at net.filebot.UserFiles.<clinit>(UserFiles.java:45)
... 37 more
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class net.filebot.UserFiles
at net.filebot.ui.transfer.LoadAction.actionPerformed(LoadAction.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2026)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2366)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:261)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:266)
at java.awt.Component.processMouseEvent(Component.java:6603)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3349)
at java.awt.Component.processEvent(Component.java:6368)
at java.awt.Container.processEvent(Container.java:2259)
at java.awt.Component.dispatchEventImpl(Component.java:4987)
at java.awt.Container.dispatchEventImpl(Container.java:2317)
at java.awt.Component.dispatchEvent(Component.java:4819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
at java.awt.Container.dispatchEventImpl(Container.java:2303)
at java.awt.Window.dispatchEventImpl(Window.java:2756)
at java.awt.Component.dispatchEvent(Component.java:4819)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:712)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:734)
at java.awt.EventQueue$4.run(EventQueue.java:732)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class net.filebot.UserFiles
at net.filebot.ui.transfer.LoadAction.actionPerformed(LoadAction.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2026)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2366)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:261)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:266)
at java.awt.Component.processMouseEvent(Component.java:6603)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3349)
at java.awt.Component.processEvent(Component.java:6368)
at java.awt.Container.processEvent(Container.java:2259)
at java.awt.Component.dispatchEventImpl(Component.java:4987)
at java.awt.Container.dispatchEventImpl(Container.java:2317)
at java.awt.Component.dispatchEvent(Component.java:4819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
at java.awt.Container.dispatchEventImpl(Container.java:2303)
at java.awt.Window.dispatchEventImpl(Window.java:2756)
at java.awt.Component.dispatchEvent(Component.java:4819)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:712)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:734)
at java.awt.EventQueue$4.run(EventQueue.java:732)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception in thread "AWT-EventQueue-0" java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "exitVM.0")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:468)
at java.security.AccessController.checkPermission(AccessController.java:894)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:541)
at java.lang.SecurityManager.checkExit(SecurityManager.java:753)
at java.lang.Runtime.exit(Runtime.java:106)
at java.lang.System.exit(System.java:960)
at net.filebot.Main$1.windowClosing(Main.java:265)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:358)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
at java.awt.Window.processWindowEvent(Window.java:2064)
at javax.swing.JFrame.processWindowEvent(JFrame.java:299)
at java.awt.Window.processEvent(Window.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4987)
at java.awt.Container.dispatchEventImpl(Container.java:2317)
at java.awt.Window.dispatchEventImpl(Window.java:2756)
at java.awt.Component.dispatchEvent(Component.java:4819)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:712)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:734)
at java.awt.EventQueue$4.run(EventQueue.java:732)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
^C
aio@aio:~/Downloads$
aio@aio:~/Downloads$ filebot -script fn:sysinfo
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (/usr/share/filebot/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.9.0-ea
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 6 GB Max Memory / 31 MB Used Memory
OS: Linux (amd64)
uname: Linux aio 3.18.10-031810-generic #201503241436 SMP Tue Mar 24 18:37:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ

aio@aio:~/Downloads$

Re: java.security.AccessControlException: access denied

Posted: 01 Aug 2015, 09:49
by rednoah
Java 9 won't be out till 2016/17 right?

This is the original error:

Code: Select all

java.security.AccessControlException: access denied ("java.util.PropertyPermission" "net.filebot.UserFiles.fileChooser" "read")
Somehow you're running FileBot in a Java sandbox. FileBot needs to run with full permissions with no sandbox.

Re: java.security.AccessControlException: access denied

Posted: 03 Aug 2015, 07:04
by MasterCATZ
aio@aio:/media/aio/SSD$ java -version
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b70)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b70, mixed mode)


I have no idea whats going on. unfortunately my last global update run pushed java 8 to 9

other java applications seem to be working

aio@aio:/media/aio/SSD$ uname -a
Linux aio 3.18.10-031810-generic #201503241436 SMP Tue Mar 24 18:37:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


aio@aio:/media/aio/SSD$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty


unfortunately java config is now missing medium security and only has high / very high

/usr/bin/ControlPanel


so I guess this is the issue


apparently programs now require to be " identified buy a certificate from a trusted authority" to run

Re: java.security.AccessControlException: access denied

Posted: 03 Aug 2015, 08:50
by rednoah
Not sure why auto-update would install an Early-Access release... but anyway I don't think those Java security settings affect java applications, that's only for Java applet/webstart apps as far as far as I know. Maybe that has changed.