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. 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
  5. GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))
  6. GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)
  7. GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)
  8. java.util.concurrent.TimeoutException: Futures timed out after [30 seconds]
  9. 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)
  10. GSSException: Defective token detected (Mechanism level: G SSHeader did not find the right tag)

Origin

AccessController.doPrivileged() has thrown a PrivilegedActionException

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

Similar

Specific cases

External results for this pattern (43)

  1. shahidki31via GitHub1 month ago
    java.io.FileNotFoundException: File does not exist: hdfs://localhost:9000/spark-logs/application_1531723904309_0002.lz4
    Show stack trace
  2. Dar Swiftvia oozie-user3 months 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
  3. Dar Swiftvia oozie-user3 months 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
  4. Dar Swiftvia incubator-oozie-users3 months 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
  5. EvilOrangevia Stack Overflow3 months ago
    GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
    Show stack trace
  6. GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
    Show stack trace
  7. Unknown authorvia ibm.com3 months ago
  8. Xiaodu liuvia Spring JIRA3 months ago
    GSSException: Failure unspecified at GSS-API level (Mechanism level: Specified version of key is not available (44))
    Show stack trace
  9. user272869via Oracle Community3 months ago
    java.rmi.UnknownHostException: Could not discover URL for server 'bssesbdm1'
    Show stack trace
  10. java.util.concurrent.TimeoutException: Futures timed out after [120 seconds]
    Show stack trace