addImmutableTypeoracle.oc4j.admin.jmx.shared.exceptions.InternalException: addImmutableType

Jenkins JIRA | rutwik | 7 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

    Everytime we deploy Hudson.war onto Oracle Application Server 10.1.3.5 we get following exception in the logs: ------------------------ WARNING: DeployerRunnable.run java.lang.NoSuchMethodError: addImmutableTypeoracle.oc4j.admin.internal.DeployerException: java.lang.NoSuchMethodError: addImmutableType at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:146) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodError: addImmutableType at hudson.util.XStream2.init(XStream2.java:93) at hudson.util.XStream2.<init>(XStream2.java:59) at hudson.model.Hudson.<clinit>(Hudson.java:3550) at hudson.WebAppMain.installLogger(WebAppMain.java:259) at hudson.WebAppMain.contextInitialized(WebAppMain.java:116) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1278) at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435) at com.evermind.server.Application.getHttpApplication(Application.java:592) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199) at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:93) at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53) ... 3 more -------------------------- Sometimes the deployment goes through fine... sometimes it FAILs to deploy hudson giving following error in logs: SEVERE: Failed to initialize Hudson java.lang.NoSuchMethodError: addImmutableType at hudson.util.XStream2.init(XStream2.java:93) at hudson.util.XStream2.<init>(XStream2.java:59) at hudson.model.Hudson.<clinit>(Hudson.java:3550) at hudson.WebAppMain.installLogger(WebAppMain.java:259) at hudson.WebAppMain.contextInitialized(WebAppMain.java:116) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1278) at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435) at com.evermind.server.Application.getHttpApplication(Application.java:592) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199) at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:93) at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) 10/06/14 17:54:28 SEVERE: ProgressObjectImpl.reportError addImmutableTypeoracle.oc4j.admin.jmx.shared.exceptions.InternalException: addImmutableType at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107) at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:143) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodError: addImmutableType at hudson.util.XStream2.init(XStream2.java:93) at hudson.util.XStream2.<init>(XStream2.java:59) at hudson.model.Hudson.<clinit>(Hudson.java:3550) at hudson.WebAppMain.installLogger(WebAppMain.java:259) at hudson.WebAppMain.contextInitialized(WebAppMain.java:116) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1278) at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435) at com.evermind.server.Application.getHttpApplication(Application.java:592) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199) at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:93) at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53) ... 3 more

    Jenkins JIRA | 7 years ago | rutwik
    addImmutableTypeoracle.oc4j.admin.jmx.shared.exceptions.InternalException: addImmutableType
  2. 0

    Everytime we deploy Hudson.war onto Oracle Application Server 10.1.3.5 we get following exception in the logs: ------------------------ WARNING: DeployerRunnable.run java.lang.NoSuchMethodError: addImmutableTypeoracle.oc4j.admin.internal.DeployerException: java.lang.NoSuchMethodError: addImmutableType at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:146) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodError: addImmutableType at hudson.util.XStream2.init(XStream2.java:93) at hudson.util.XStream2.<init>(XStream2.java:59) at hudson.model.Hudson.<clinit>(Hudson.java:3550) at hudson.WebAppMain.installLogger(WebAppMain.java:259) at hudson.WebAppMain.contextInitialized(WebAppMain.java:116) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1278) at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435) at com.evermind.server.Application.getHttpApplication(Application.java:592) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199) at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:93) at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53) ... 3 more -------------------------- Sometimes the deployment goes through fine... sometimes it FAILs to deploy hudson giving following error in logs: SEVERE: Failed to initialize Hudson java.lang.NoSuchMethodError: addImmutableType at hudson.util.XStream2.init(XStream2.java:93) at hudson.util.XStream2.<init>(XStream2.java:59) at hudson.model.Hudson.<clinit>(Hudson.java:3550) at hudson.WebAppMain.installLogger(WebAppMain.java:259) at hudson.WebAppMain.contextInitialized(WebAppMain.java:116) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1278) at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435) at com.evermind.server.Application.getHttpApplication(Application.java:592) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199) at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:93) at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) 10/06/14 17:54:28 SEVERE: ProgressObjectImpl.reportError addImmutableTypeoracle.oc4j.admin.jmx.shared.exceptions.InternalException: addImmutableType at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107) at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:143) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodError: addImmutableType at hudson.util.XStream2.init(XStream2.java:93) at hudson.util.XStream2.<init>(XStream2.java:59) at hudson.model.Hudson.<clinit>(Hudson.java:3550) at hudson.WebAppMain.installLogger(WebAppMain.java:259) at hudson.WebAppMain.contextInitialized(WebAppMain.java:116) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1278) at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435) at com.evermind.server.Application.getHttpApplication(Application.java:592) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199) at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120) at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:93) at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53) ... 3 more

    Jenkins JIRA | 7 years ago | rutwik
    addImmutableTypeoracle.oc4j.admin.jmx.shared.exceptions.InternalException: addImmutableType

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      addImmutableType

      at hudson.util.XStream2.init()
    2. Hudson
      WebAppMain.contextInitialized
      1. hudson.util.XStream2.init(XStream2.java:93)
      2. hudson.util.XStream2.<init>(XStream2.java:59)
      3. hudson.model.Hudson.<clinit>(Hudson.java:3550)
      4. hudson.WebAppMain.installLogger(WebAppMain.java:259)
      5. hudson.WebAppMain.contextInitialized(WebAppMain.java:116)
      5 frames
    3. com.evermind.server
      HttpSite.addHttpApplication
      1. com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1278)
      2. com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
      3. com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
      4. com.evermind.server.Application.getHttpApplication(Application.java:592)
      5. com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
      6. com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
      7. com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
      7 frames
    4. oracle.oc4j.admin
      DeployerRunnable.run
      1. oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
      2. oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
      3. oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:93)
      4. oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
      5. oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
      6. oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
      7. oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
      8. oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
      8 frames
    5. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame