Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50498

Invalid Object ID in remoting module related to Proxy methods

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: remoting
    • Labels:
      None
    • Environment:
      Remoting 3.14
    • Similar Issues:
    • Released As:
      Remoting 3.26

      Description

      Exactly the same as https://issues.jenkins-ci.org/browse/JENKINS-23271 but with a slightly different stacktrace:

       

      2018-03-27 13:08:51.899+0000 [id=4840845]   SEVERE  hudson.remoting.ExportTable#unexportByOid: Trying to unexport an object that's already unexported
      java.lang.Exception: Object appears to be deallocated at lease before Tue Mar 27 07:59:42 CDT 2018
          at hudson.remoting.ExportTable.diagnoseInvalidObjectId(ExportTable.java:474)
      Caused: java.util.concurrent.ExecutionException: Invalid object ID 19 iota=20
          at hudson.remoting.ExportTable.diagnoseInvalidObjectId(ExportTable.java:478)
          at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:516)
          at hudson.remoting.Channel.unexport(Channel.java:756)
          at hudson.remoting.Channel.unexport(Channel.java:746)
          at hudson.remoting.ProxyOutputStream$Unexport$1.run(ProxyOutputStream.java:345)
          at hudson.remoting.PipeWriter$1.run(PipeWriter.java:158)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
          at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:19)
          at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
          at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
      2018-03-27 13:08:51.899+0000 [id=4840845]   SEVERE  hudson.remoting.ExportTable#unexportByOid: 2nd unexport attempt is here
      Command ProxyOutputStream.Unexport(19) created at
          at hudson.remoting.Command.<init>(Command.java:71)
          at hudson.remoting.Command.<init>(Command.java:54)
          at hudson.remoting.ProxyOutputStream$Unexport.<init>(ProxyOutputStream.java:337)
          at hudson.remoting.ProxyOutputStream.finalize(ProxyOutputStream.java:185)
          at java.lang.System$2.invokeFinalize(System.java:1270)
          at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
          at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
          at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
      

      Issue appears intermittently but I think will be fixed with the same method as before but on 

      ProxyOutputStream$Unexport

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                jthompson Jeff Thompson
                Reporter:
                ataylor Alex Taylor
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: