java.lang.SecurityException: Unable to create temporary file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Goran Kostic, 4 months ago
Unable to create temporary file
via Oracle Community by 3004, 1 year ago
Unable to create temporary file
via Google Groups by Camilo Sacanamboy via StackOverflow, 1 year ago
via Oracle Community by 843851, 1 year ago
java.lang.SecurityException: Unable to create temporary file
at java.io.File.checkAndCreate(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at com.primelog.applet.DirectPrintAppletSigned.downloadFileToPrint(DirectPrintAppletSigned.java:64)
at com.primelog.applet.DirectPrintAppletSigned.run(DirectPrintAppletSigned.java:32)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.