java.lang.IllegalArgumentException: subject must be read-only

Oracle Community | 914712 | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OES 11g:  Java API to access policy store

    Oracle Community | 5 years ago | 914712
    java.lang.IllegalArgumentException: subject must be read-only

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      subject must be read-only

      at oracle.security.jps.internal.policystore.proxy.SubjectContainer.setSubject()
    2. oracle.security.jps
      ProxyPolicyStore.setSubject
      1. oracle.security.jps.internal.policystore.proxy.SubjectContainer.setSubject(SubjectContainer.java:72)
      2. oracle.security.jps.internal.policystore.proxy.ProxyPolicyStore.setSubject(ProxyPolicyStore.java:283)
      2 frames
    3. Unknown
      Class1.main
      1. Class1.main(Class1.java:75)
      1 frame