Subject.doAs() has thrown a PrivilegedActionException

java.security.PrivilegedActionException
Javadoc
This exception is thrown by {@code doPrivileged(PrivilegedExceptionAction)} and {@code doPrivileged(PrivilegedExceptionAction, AccessControlContext context)} to indicate that the action being performed threw a checked exception. The exception thrown by the action can be obtained by calling the {@code getException} method. In effect, an {@code PrivilegedActionException} is a "wrapper" for an exception thrown by a privileged action.

As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The "exception thrown by the privileged computation" that is provided at construction time and accessed via the {@link #getException()} method is now known as the cause, and may be accessed via the {@link Throwable#getCause()} method, as well as the aforementioned "legacy method." @see PrivilegedExceptionAction @see AccessController#doPrivileged(PrivilegedExceptionAction) @see AccessController#doPrivileged(PrivilegedExceptionAction,AccessControlContext)

at java.security.AccessController.doPrivileged
(source)
at javax.security.auth.Subject.doAs
(source)

Typical Exception Messages

  1. GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
  2. GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed(31))
  3. GSSException: Failure unspecified at GSS-API level (Mechanism level: Specified version of key is not available (44))
  4. GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))
  5. GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)
  6. GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)
  7. java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]
  8. GSSException: Failure unspecified at GSS-API level (Mechanism level: Invalid argument (400) - Cannot find key of appropriate type to decrypt AP REP - RC4 with HMAC)
  9. GSSException: Defective token detected (Mechanism level: G SSHeader did not find the right tag)
  10. our.portlet.util.HttpException: 401 Unauthorized

Origin

AccessController.doPrivileged() has thrown a PrivilegedActionException

java.security.PrivilegedActionException
java.security.AccessController.doPrivileged
98Web pages

Similar

Specific cases

External results for this pattern (41)

  1. Dar Swiftvia incubator-oozie-users3 weeks ago
    E0603 : E0603: SQL error in operation, <openjpa-2.2.2-r422266:1468616 fatal store error> org.apache.openjpa.persistence.RollbackException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred. FailedObject: org.apache.oozie.WorkflowActionBean@66ff6081
    Show stack trace
  2. GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
    Show stack trace
  3. GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
    Show stack trace
  4. Xiaodu liuvia Spring JIRA1 month ago
    GSSException: Failure unspecified at GSS-API level (Mechanism level: Specified version of key is not available (44))
    Show stack trace
  5. user272869via Oracle Community1 month ago
    java.rmi.UnknownHostException: Could not discover URL for server 'bssesbdm1'
    Show stack trace
  6. java.util.concurrent.TimeoutException: Futures timed out after [120 seconds]
    Show stack trace
  7. user272869via Oracle Community1 month ago
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://172.19.57.67:7113: Destination unreachable; nested exception is: javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from 172.19.57.67 - 172.19.57.67 failed hostname verification check. Certificate contained sculptor11 but check expected 172.19.57.67; No available router to destination]
    Show stack trace
  8. 548424via Oracle Community1 month ago
    javax.servlet.ServletException: Response has already been committed
    Show stack trace
  9. 843810via Oracle Community1 month ago
    GSSException: Failure unspecified at GSS-API level (Mechanism le vel: Checksum failed)
    Show stack trace