cancel
Showing results for 
Search instead for 
Did you mean: 

GUI for Java 7.30 R3 - Security Access Violation Error

Former Member
0 Kudos

Hi all,

Starting from 7.30 R1, SAP GUI is throwing up Security Access Violation error when ever trying to login. Screenshot below. Same connection works without any problems on the same system with GUI 7.20 R15. Can anyone help?

OS: Windows 8.1 Pro Preview

Java: v7 Update 25

Full trace:

Access violation while opening connection

=============================================================

Request environment

=============================================================

CS: /F:/Apps/SAPClients/SAPGUI%20for%20Java%207.30rev3/jar/platinr3S.jar

PL: com.sap.platin.base.security.SAPGUIPolicy

PR: permission java.io.FilePermission "C:\Users\Ashok\AppData\LocalLow", "read";

PR: canonical file name: C:\Users\Ashok\AppData\LocalLow

=============================================================

Temporary permissions

=============================================================

Technical Details

java.security.AccessControlException: access denied ("java.io.FilePermission" "C:\Users\Ashok\AppData\LocalLow" "read")

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.checkRead(Unknown Source)

at: java.io.File.exists(Unknown Source)

at: com.sap.platin.micro.SystemAccess$VistaAccess.getUserAppDataFolder(SystemAccess.java:417)

at: com.sap.platin.micro.SystemAccess$VistaAccess.locatePathImpl(SystemAccess.java:453)

at: com.sap.platin.micro.SystemAccess$WindowsAccess.locatePathImpl(SystemAccess.java:392)

at: com.sap.platin.micro.SystemAccess$VistaAccess.locatePathImpl(SystemAccess.java:458)

at: com.sap.platin.micro.SystemAccess.locatePath(SystemAccess.java:47)

at: com.sap.platin.r3.util.JniTraceAdaptor.initialise(JniTraceAdaptor.java:22)

at: com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:103)

at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:31)

at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)

at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:268)

at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:985)

at: com.sap.platin.base.logon.GuiLogon.doConnect(GuiLogon.java:415)

at: com.sap.platin.base.logon.GuiLogon$Handler.actionPerformed(GuiLogon.java:2282)

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.plaf.basic.BasicButtonListener.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.Window.dispatchEventImpl(Unknown Source)

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

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

at: java.awt.EventQueue.access$200(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.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at: java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

at: java.awt.EventQueue$4.run(Unknown Source)

at: java.awt.EventQueue$4.run(Unknown Source)

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

at: java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

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

at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:79)

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)

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ashok.

I was getting the same error using GUI for java on Linux.

Changing the certificates settings did the message stop appearing and let me log in again.

Try modifying those values an see if it works for you too.

jude_bradley
Advisor
Advisor
0 Kudos

Release Preview 8.1 is a Beta OS.

Does this issue occur in Windows 8.0?

We can only support OS's given in note 147519

Regards,

Jude

I tested internally 7.30 rev3 with Jre7_25 and no errors when logging into a test system with 8.1

(build 1.7.0_25-b17)

No errors in my case connecting to an R/3 system.

Sriram2009
Active Contributor
0 Kudos

Hi Ashok

Could you pls disable the security setting in SAPGUI options and then try for you reference I have attached the screen shot

Thanks & Regards

Sriram

Former Member
0 Kudos

Hi Sriram,

I'm using SAP GUI for Java v7.30 R3. I'm not able to find any "SAP GUI Options" setting anywhere in the menu. Even the install bin folder contains bat files that open only GUI Logon. I guess the preferences window you're showing above is in SAP GUI for Windows.

Sriram2009
Active Contributor
0 Kudos

Hi Ashok

Kindly refer the below screen options and then go to "Security Settings"

Thanks

Sriram

former_member194094
Active Participant
0 Kudos

Hello Ashok,

Please refer to note 1876835

=> install SAP GUI for Java 7.30 rev 3

Kind regards,

Eric Van De Catsije

NW Clients Moderator

Former Member
0 Kudos

Hi Eric,

I'm already on 7.30 R3... Now the GUI is starting up without any issues. The Access Violation error is coming up when I try to login to a server. I'm using Web AS ABAP and expert mode configuration.

When ever I press the Connect button, the Access Violation Error is showing up. Same connection works fine in GUI v7.20 R15.