java.lang.NoSuchMethodError: addImmutableType

Jenkins JIRA | rutwik | 6 years ago
  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 | 6 years ago | rutwik
    java.lang.NoSuchMethodError: 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 | 6 years ago | rutwik
    java.lang.NoSuchMethodError: addImmutableType
  3. 0

    Exception using JpaEventStorageEngine or JdbcEventStorageEngine

    Google Groups | 4 months ago | Mellow Hide
    springframework.beans.BeanInstantiationException: Failed to instantiate [org .axonframework.eventsourcing.EventSourcingRepository]: Factory method 'eventSourcingRepository' threw exception; nested exception is java.lang. NoSuchMethodError: com.thoughtworks.xstream.XStream.addImmutableType(Ljava/ lang/Class;Z)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception using JpaEventStorageEngine or JdbcEventStorageEngine

    Google Groups | 4 months ago | Mellow Hide
    springframework.beans.BeanInstantiationException: Failed to instantiate [org .axonframework.eventsourcing.EventSourcingRepository]: Factory method 'eventSourcingRepository' threw exception; nested exception is java.lang. NoSuchMethodError: com.thoughtworks.xstream.XStream.addImmutableType(Ljava/ lang/Class;Z)V
  6. 0

    Android App with Android Studio crashes because of org.json.XML

    Stack Overflow | 1 month ago | GinSonic
    java.lang.IllegalStateException: Could not execute method for android:onClick

    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.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