wiegele
I'm new here

((GuiScriptContext) context) java.lang.RuntimeException

Jump to solution

Hallo zusammen,

ich habe gerade mein FS Script umgestellt auf ein Executable Modul.

Funktioniert auch alles soweit, beim cast des context auf GuiScriptContext gibt es eine Exception.

FormData form1 = ((GuiScriptContext) context).showForm(false);

Das Form wird aufgerufen und mein Modul macht, bis auf die angezeigte Fehlermeldung auch, alles das was es machen soll.

Es ist wohl ein Permission Problem.

Ausgeführt wird das Script als Admin.

Was muss ich anderes machen?

ERROR 30.08.2013 14:30:59.615 (de.espirit.firstspirit.client.AbstractGuiHost): ExceptionHandler.uncaughtException() - java.lang.RuntimeException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

FSVersion=4.2.484.54957#2128;JDK=1.6.0_35 32bit Sun Microsystems Inc.;OS=Windows 7 6.1 x86;Date=30.08.2013 14:30:59

java.lang.RuntimeException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

    at de.javasoft.plaf.synthetica.StyleFactory.updateSplitDivider(StyleFactory.java:1818)

    at de.javasoft.plaf.synthetica.StyleFactory.access$8(StyleFactory.java:1799)

    at de.javasoft.plaf.synthetica.StyleFactory$15.componentResized(StyleFactory.java:888)

    at java.awt.Component.processComponentEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$400(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:132)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:123)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:109)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.awt.Dialog.show(Unknown Source)

    at java.awt.Component.show(Unknown Source)

    at java.awt.Component.setVisible(Unknown Source)

    at java.awt.Window.setVisible(Unknown Source)

    at java.awt.Dialog.setVisible(Unknown Source)

    at de.espirit.common.gui.SelfDisposingDialog.setVisible(SelfDisposingDialog.java:98)

    at de.espirit.firstspirit.client.gui.GomModuleDialog.setVisible(GomModuleDialog.java:477)

    at de.espirit.firstspirit.client.gui.GomModuleDialog.getResult(GomModuleDialog.java:445)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showGui(GuiScriptContextImpl.java:134)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showForm(GuiScriptContextImpl.java:157)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showForm(GuiScriptContextImpl.java:152)

    at com.tuv.searchpermission.Searchpermission.execute(Searchpermission.java:47)

    at com.tuv.searchpermission.Searchpermission.execute(Searchpermission.java:73)

    at de.espirit.firstspirit.client.gui.applications.ApplicationTabRegistry$IdentifiableExecutable.execute(ApplicationTabRegistry.java:150)

    at de.espirit.firstspirit.common.ScriptUtil.execute(ScriptUtil.java:97)

    at de.espirit.firstspirit.client.action.ScriptMenuAction$ScriptAction.actionPerformed(ScriptMenuAction.java:213)

    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    at javax.swing.AbstractButton.doClick(Unknown Source)

    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at javax.swing.JComponent.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$400(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:132)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:116)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:109)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

    at java.security.AccessControlContext.checkPermission(Unknown Source)

    at java.security.AccessController.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkMemberAccess(Unknown Source)

    at java.lang.Class.checkMemberAccess(Unknown Source)

    at java.lang.Class.getDeclaredField(Unknown Source)

    at de.javasoft.plaf.synthetica.StyleFactory.updateSplitDivider(StyleFactory.java:1812)

    ... 85 more

ERROR 30.08.2013 14:30:59.622 (de.espirit.firstspirit.client.AbstractGuiHost): ExceptionHandler.uncaughtException() - java.lang.RuntimeException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

FSVersion=4.2.484.54957#2128;JDK=1.6.0_35 32bit Sun Microsystems Inc.;OS=Windows 7 6.1 x86;Date=30.08.2013 14:30:59

java.lang.RuntimeException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

    at de.javasoft.plaf.synthetica.StyleFactory.updateSplitDivider(StyleFactory.java:1818)

    at de.javasoft.plaf.synthetica.StyleFactory.access$8(StyleFactory.java:1799)

    at de.javasoft.plaf.synthetica.StyleFactory$15.componentResized(StyleFactory.java:888)

    at java.awt.Component.processComponentEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$400(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:132)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:123)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:109)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.awt.Dialog.show(Unknown Source)

    at java.awt.Component.show(Unknown Source)

    at java.awt.Component.setVisible(Unknown Source)

    at java.awt.Window.setVisible(Unknown Source)

    at java.awt.Dialog.setVisible(Unknown Source)

    at de.espirit.common.gui.SelfDisposingDialog.setVisible(SelfDisposingDialog.java:98)

    at de.espirit.firstspirit.client.gui.GomModuleDialog.setVisible(GomModuleDialog.java:477)

    at de.espirit.firstspirit.client.gui.GomModuleDialog.getResult(GomModuleDialog.java:445)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showGui(GuiScriptContextImpl.java:134)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showForm(GuiScriptContextImpl.java:157)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showForm(GuiScriptContextImpl.java:152)

   at com.tuv.searchpermission.Searchpermission.execute(Searchpermission.java:47)

    at com.tuv.searchpermission.Searchpermission.execute(Searchpermission.java:73)

    at de.espirit.firstspirit.client.gui.applications.ApplicationTabRegistry$IdentifiableExecutable.execute(ApplicationTabRegistry.java:150)

    at de.espirit.firstspirit.common.ScriptUtil.execute(ScriptUtil.java:97)

    at de.espirit.firstspirit.client.action.ScriptMenuAction$ScriptAction.actionPerformed(ScriptMenuAction.java:213)

    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    at javax.swing.AbstractButton.doClick(Unknown Source)

    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at javax.swing.JComponent.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$400(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:132)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:116)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:109)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

    at java.security.AccessControlContext.checkPermission(Unknown Source)

    at java.security.AccessController.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkMemberAccess(Unknown Source)

    at java.lang.Class.checkMemberAccess(Unknown Source)

    at java.lang.Class.getDeclaredField(Unknown Source)

    at de.javasoft.plaf.synthetica.StyleFactory.updateSplitDivider(StyleFactory.java:1812)

    ... 85 more

ERROR 30.08.2013 14:30:59.899 (de.espirit.firstspirit.client.AbstractGuiHost): ExceptionHandler.uncaughtException() - java.lang.RuntimeException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

FSVersion=4.2.484.54957#2128;JDK=1.6.0_35 32bit Sun Microsystems Inc.;OS=Windows 7 6.1 x86;Date=30.08.2013 14:30:59

java.lang.RuntimeException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

    at de.javasoft.plaf.synthetica.StyleFactory.updateSplitDivider(StyleFactory.java:1818)

    at de.javasoft.plaf.synthetica.StyleFactory.access$8(StyleFactory.java:1799)

    at de.javasoft.plaf.synthetica.StyleFactory$15.componentResized(StyleFactory.java:888)

    at java.awt.Component.processComponentEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$400(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:132)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:123)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:109)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.awt.Dialog.show(Unknown Source)

    at java.awt.Component.show(Unknown Source)

    at java.awt.Component.setVisible(Unknown Source)

    at java.awt.Window.setVisible(Unknown Source)

    at java.awt.Dialog.setVisible(Unknown Source)

    at de.espirit.common.gui.SelfDisposingDialog.setVisible(SelfDisposingDialog.java:98)

    at de.espirit.firstspirit.client.gui.GomModuleDialog.setVisible(GomModuleDialog.java:477)

    at de.espirit.firstspirit.client.gui.GomModuleDialog.getResult(GomModuleDialog.java:445)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showGui(GuiScriptContextImpl.java:134)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showForm(GuiScriptContextImpl.java:157)

    at de.espirit.firstspirit.impl.access.GuiScriptContextImpl.showForm(GuiScriptContextImpl.java:152)

    at com.tuv.searchpermission.Searchpermission.execute(Searchpermission.java:47)

    at com.tuv.searchpermission.Searchpermission.execute(Searchpermission.java:73)

    at de.espirit.firstspirit.client.gui.applications.ApplicationTabRegistry$IdentifiableExecutable.execute(ApplicationTabRegistry.java:150)

    at de.espirit.firstspirit.common.ScriptUtil.execute(ScriptUtil.java:97)

    at de.espirit.firstspirit.client.action.ScriptMenuAction$ScriptAction.actionPerformed(ScriptMenuAction.java:213)

    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    at javax.swing.AbstractButton.doClick(Unknown Source)

    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at javax.swing.JComponent.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$400(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.awt.EventQueue$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:132)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:116)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:109)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

    at java.security.AccessControlContext.checkPermission(Unknown Source)

    at java.security.AccessController.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkMemberAccess(Unknown Source)

    at java.lang.Class.checkMemberAccess(Unknown Source)

    at java.lang.Class.getDeclaredField(Unknown Source)

    at de.javasoft.plaf.synthetica.StyleFactory.updateSplitDivider(StyleFactory.java:1812)

    ... 85 more

Hier der Code dazu:

public Object execute(Map<String, Object> params) throws ExecutionException {

        ScriptContext context = (ScriptContext) params.get("context");

        System.out.println(((GuiScriptContext) context).getScript().getEditor().getName());

        FormData form1 = ((GuiScriptContext) context).showForm(false); --->Zeile 43

        return true;

    }

    public Object execute(Map<String, Object> context, Writer out, Writer err)

            throws ExecutionException {

        return execute(context); ---->Zeile 73

    }

0 Kudos
1 Solution

Accepted Solutions
gockel
Crownpeak employee

Hallo,

ich denke es sollte reichen bei der Konfiguration im Modul in der Adminkonsole den Haken "Alle Rechte" zu setzen.

siehe auch Re: FS Modul Config schreiben (access denied java.lang.RuntimePermission accessDeclaredMembers)

(übrigens mit einer sehr ähnlichen Fehlermeldung Smiley Happy

Gruß

View solution in original post

0 Kudos
1 Reply
gockel
Crownpeak employee

Hallo,

ich denke es sollte reichen bei der Konfiguration im Modul in der Adminkonsole den Haken "Alle Rechte" zu setzen.

siehe auch Re: FS Modul Config schreiben (access denied java.lang.RuntimePermission accessDeclaredMembers)

(übrigens mit einer sehr ähnlichen Fehlermeldung Smiley Happy

Gruß

0 Kudos