java.lang.IllegalStateException: Invalid object ID 112 iota=82

Jenkins JIRA | Craig Ringer | 2 years ago
  1. 0

    The latest EC2 plugin seems to have broken node launch. With 1.21 nodes used to provision correctly from Manage Nodes or on-demand (though, per Issue JENKINS-23787 they weren't spooled up correctly after stopping on idle). Now, launch of new nodes or starting existing nodes is failing with: {code} Starting existing instance: i-b848fbfa result:{StartingInstances: [{InstanceId: i-b848fbfa,CurrentState: {Code: 0,Name: pending},PreviousState: {Code: 80,Name: stopped}}]} Connecting to 10.0.1.164 on port 22, with timeout 10000. Waiting for SSH to come up. Sleeping 5. Connecting to 10.0.1.164 on port 22, with timeout 10000. Connected via SSH. bootstrap() Getting keypair... Using key: jenkins_ec2_key xxxx -----BEGIN RSA PRIVATE KEY----- xxxx Authenticating as ec2-user take over connection Executing init script bash: line 1: syntax error near unexpected token `newline' bash: line 1: `<?xml version="1.0" encoding="UTF-8"?>' init script failed: exit code=2 {code} It looks like the plugin is trying to execute some XML as a script. The Jenkins logs contain: {code} Jul 15, 2014 4:05:04 AM SEVERE hudson.remoting.ExportTable unexportByOid Trying to unexport an object that's already unexported java.lang.IllegalStateException: Invalid object ID 112 iota=82 at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:304) at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:327) at hudson.remoting.Channel.unexport(Channel.java:600) at hudson.remoting.UnexportCommand.execute(UnexportCommand.java:38) at hudson.remoting.Channel$2.handle(Channel.java:475) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60) Caused by: java.lang.Exception: Object appears to be deallocated at lease before Tue Jul 15 01:55:05 UTC 2014 at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:300) ... 5 more Jul 15, 2014 4:05:04 AM SEVERE hudson.remoting.ExportTable unexportByOid 2nd unexport attempt is here Command hudson.remoting.UnexportCommand@7b9fbccc created at at hudson.remoting.Command.<init>(Command.java:67) at hudson.remoting.Command.<init>(Command.java:50) at hudson.remoting.UnexportCommand.<init>(UnexportCommand.java:33) at hudson.remoting.RemoteInvocationHandler.finalize(RemoteInvocationHandler.java:221) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Unknown Source) at java.lang.ref.Finalizer.access$100(Unknown Source) at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) {code} though it's not clear if that's related.

    Jenkins JIRA | 2 years ago | Craig Ringer
    java.lang.IllegalStateException: Invalid object ID 112 iota=82
  2. 0

    The latest EC2 plugin seems to have broken node launch. With 1.21 nodes used to provision correctly from Manage Nodes or on-demand (though, per Issue JENKINS-23787 they weren't spooled up correctly after stopping on idle). Now, launch of new nodes or starting existing nodes is failing with: {code} Starting existing instance: i-b848fbfa result:{StartingInstances: [{InstanceId: i-b848fbfa,CurrentState: {Code: 0,Name: pending},PreviousState: {Code: 80,Name: stopped}}]} Connecting to 10.0.1.164 on port 22, with timeout 10000. Waiting for SSH to come up. Sleeping 5. Connecting to 10.0.1.164 on port 22, with timeout 10000. Connected via SSH. bootstrap() Getting keypair... Using key: jenkins_ec2_key xxxx -----BEGIN RSA PRIVATE KEY----- xxxx Authenticating as ec2-user take over connection Executing init script bash: line 1: syntax error near unexpected token `newline' bash: line 1: `<?xml version="1.0" encoding="UTF-8"?>' init script failed: exit code=2 {code} It looks like the plugin is trying to execute some XML as a script. The Jenkins logs contain: {code} Jul 15, 2014 4:05:04 AM SEVERE hudson.remoting.ExportTable unexportByOid Trying to unexport an object that's already unexported java.lang.IllegalStateException: Invalid object ID 112 iota=82 at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:304) at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:327) at hudson.remoting.Channel.unexport(Channel.java:600) at hudson.remoting.UnexportCommand.execute(UnexportCommand.java:38) at hudson.remoting.Channel$2.handle(Channel.java:475) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60) Caused by: java.lang.Exception: Object appears to be deallocated at lease before Tue Jul 15 01:55:05 UTC 2014 at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:300) ... 5 more Jul 15, 2014 4:05:04 AM SEVERE hudson.remoting.ExportTable unexportByOid 2nd unexport attempt is here Command hudson.remoting.UnexportCommand@7b9fbccc created at at hudson.remoting.Command.<init>(Command.java:67) at hudson.remoting.Command.<init>(Command.java:50) at hudson.remoting.UnexportCommand.<init>(UnexportCommand.java:33) at hudson.remoting.RemoteInvocationHandler.finalize(RemoteInvocationHandler.java:221) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Unknown Source) at java.lang.ref.Finalizer.access$100(Unknown Source) at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) {code} though it's not clear if that's related.

    Jenkins JIRA | 2 years ago | Craig Ringer
    java.lang.IllegalStateException: Invalid object ID 112 iota=82
  3. 0

    Git Credentials on Workflow Plugin

    Google Groups | 2 years ago | Rob Mandeville
    java.lang.IllegalStateException: Invalid object ID 102 iota=12324
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failed in Jenkins: sling-trunk-1.8 #431

    apache.org | 11 months ago
    org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Invalid object ID 64 iota=135
  6. 0

    Jenkins freeze

    Google Groups | 2 years ago | Ivan Kanis
    java.lang.IllegalStateException: Invalid object ID 4 iota=12

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

      Object appears to be deallocated at lease before Tue Jul 15 01:55:05 UTC 2014

      at hudson.remoting.ExportTable.diagnoseInvalidId()
    2. Hudson :: Remoting Layer
      SynchronousCommandTransport$ReaderThread.run
      1. hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:300)
      2. hudson.remoting.ExportTable.unexportByOid(ExportTable.java:327)
      3. hudson.remoting.Channel.unexport(Channel.java:600)
      4. hudson.remoting.UnexportCommand.execute(UnexportCommand.java:38)
      5. hudson.remoting.Channel$2.handle(Channel.java:475)
      6. hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60)
      6 frames