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

Oracle Community | 914712 | 4 years ago
  1. 0

    OES 11g:  Java API to access policy store

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

    AI player freezes sometimes

    GitHub | 2 years ago | akostyut
    java.lang.IllegalArgumentException: Mayor must be placed in city only.
  3. 0

    GitHub comment 36#100182403

    GitHub | 2 years ago | jonasborggren
    java.lang.IllegalArgumentException: Media is read-only
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: "Media is read-only"

    GitHub | 2 years ago | jonasborggren
    java.lang.IllegalArgumentException: Media is read-only
  6. 0

    After updating some plugins, I cannot access Jenkins. I get this stack trace {code} java.lang.IllegalArgumentException: Only UsernamePasswordAuthenticationToken is supportedObject of class [org.acegisecurity.providers.rememberme.RememberMeAuthenticationToken] must be an instance of class org.acegisecurity.providers.UsernamePasswordAuthenticationToken at org.springframework.util.Assert.isInstanceOf(Assert.java:337) at org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:108) at com.cloudbees.opscenter.security.OperationsCenterSecurityRealm$Authenticator.authenticate(OperationsCenterSecurityRealm.java:588) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:109) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code} I cannot do anything else, the instance is completely broken. I am running Jenkins ver. 1.642.18.1 (CloudBees Jenkins Enterprise 15.11) I just found which HPI destroys the instances, it is the locale HPI, attached on this issue. https://wiki.jenkins-ci.org/display/JENKINS/Locale+Plugin If you need more info, just ping me. Best regards,

    Jenkins JIRA | 6 months ago | Guillem Hernandez Sola
    java.lang.IllegalArgumentException: Only UsernamePasswordAuthenticationToken is supportedObject of class [org.acegisecurity.providers.rememberme.RememberMeAuthenticationToken] must be an instance of class org.acegisecurity.providers.UsernamePasswordAuthenticationToken

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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