on 02-24-2019 5:16 AM
I'm unable to print from the Print Preview window since I installed SAP GUI for Java 7.5 rev 5 and OpenJDK. I'm running on macOS Mojave. This is the error I get:
Full details:
There has been an uncaught AccessControlException:
access denied ("java.io.FilePermission" "<<ALL FILES>>" "execute")
=============================================================
Request environment
=============================================================
CS: /Applications/SAP%20Clients/SAPGUI%207.50rev5/SAPGUI%207.50rev5.app/Contents/Resources/Java/platinr3S.jar
PL: com.sap.platin.base.security.SAPGUIPolicy
PR: permission java.io.FilePermission "<<ALL FILES>>", "execute";
PR: canonical file name: /Applications/SAP Clients/SAPGUI 7.50rev5/<<ALL FILES>>
=============================================================
Temporary permissions
=============================================================
Key: WebView permissions for loadFont
{
permission javafx.util.FXPermission "createTransparentWindow";
permission javafx.util.FXPermission "loadFont";
}
Key: 52d69a1c
principal com.sap.platin.base.security.GuiSessionPrincipal "PRD:*:*:52d69a1c" {
permission java.io.FilePermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work", "read,write,delete";
permission java.io.FilePermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/*", "read,write,delete";
permission java.io.FilePermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/*", "read,write,delete";
permission java.io.FilePermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp", "read,write,delete";
permission java.io.FilePermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/-", "read,write,delete";
permission java.io.FilePermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/-", "read,write,delete";
permission com.sap.platin.base.security.ApplicationPermission "/Users/leo/Desktop/-", "openDocument";
permission com.sap.platin.base.security.ApplicationPermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/*", "openDocument";
permission com.sap.platin.base.security.ApplicationPermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/*", "openDocument";
permission com.sap.platin.base.security.ApplicationPermission "/Users/leo/Desktop/*", "openDocument";
permission com.sap.platin.base.security.ApplicationPermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/-", "openDocument";
permission com.sap.platin.base.security.ApplicationPermission "/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/-", "openDocument";
}
Key: IcePDF Font folders
{
permission java.io.FilePermission "/Library/Fonts", "read";
permission java.io.FilePermission "/Network/Library/Fonts/*", "read";
permission java.io.FilePermission "/Users/leo/Library/Fonts/*", "read";
permission java.io.FilePermission "/Library/Fonts/*", "read";
permission java.io.FilePermission "/Network/Library/Fonts", "read";
permission java.io.FilePermission "/System/Library/Fonts/*", "read";
permission java.io.FilePermission "/System/Library/Fonts", "read";
permission java.io.FilePermission "/Users/leo/Library/Fonts", "read";
}
Technical Details
java.security.AccessControlException: access denied ("java.io.FilePermission" "<<ALL FILES>>" "execute")
at: java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at: java.base/java.security.AccessController.checkPermission(AccessController.java:895)
at: java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
at: java.base/java.lang.SecurityManager.checkExec(SecurityManager.java:572)
at: java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1096)
at: java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at: java.base/java.lang.Runtime.exec(Runtime.java:591)
at: java.base/java.lang.Runtime.exec(Runtime.java:415)
at: java.base/java.lang.Runtime.exec(Runtime.java:312)
at: org.icepdf.ri.common.PrintHelper.getUserPrinterProperty(PrintHelper.java:640)
at: org.icepdf.ri.common.PrintHelper.lookupDefaultPrintService(PrintHelper.java:611)
at: org.icepdf.ri.common.PrintHelper.lookForPrintServices(PrintHelper.java:590)
at: org.icepdf.ri.common.PrintHelper.<init>(PrintHelper.java:102)
at: org.icepdf.ri.common.SwingController.initialisePrinting(SwingController.java:3793)
at: org.icepdf.ri.common.SwingController.lambda$print$7(SwingController.java:3759)
at: java.base/java.lang.Thread.run(Thread.java:834)
Hello Leandro,
Looks like the issue you are having is caused by another problem than what we have seen in 7.50 rev 5. With SAP GUI for Java 7.50 rev 6, we can print.
Please create a support message on component BC-FES-JAV and attach a trace file with following trace keys activated:
HTML
POLICYEXCEPTION
For info on tracing in SAP GUI for Java, please refer to
note 683960 - The most common traces for SAP GUI for Java
Best regards
Rolf-Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still unable to print in revision 6. No error message though. After clicking the printer icon, it gets greyed out and nothing happens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rolf-Martin
I'll wait for the release of revision 6. In the meantime, let me point out that the error occurs even when I use the backend printing via access method 'G'.
Best Regards
Riccardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Leandro,
Unfortunately, this is a bug in the new version of the 3rd party component used for displaying PDF content in SAP GUI for Java.
The next revision of SAP GUI for Java 7.50 will include a fix for that.
Until that revision is available, you can use backend printing via access method 'G' (which is the intended printing functionality) or use the "Save" button in Print Preview and print it from a PDF program or OS level. Alternatively you can create a support incident on component BC-FES-JAV to get an intermediate revision including the fix.
Best regards
Rolf-Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.