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

workflow-cps: Illegal reflective access to java.io.ObjectStreamClass when cleaning up object streams

    Details

    • Similar Issues:

      Description

      WARNING: Illegal reflective access by org.jenkinsci.plugins.workflow.cps.CpsFlowExecution (file:/Users/nenashev/Documents/jenkins/test/java10/work/plugins/workflow-cps/WEB-INF/lib/workflow-cps.jar) to field java.io.ObjectStreamClass$Caches.localDescs
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.cleanUpObjectStreamClassCaches(CpsFlowExecution.java:1391)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.cleanUpLoader(CpsFlowExecution.java:1299)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.cleanUpHeap(CpsFlowExecution.java:1266)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:375)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
      	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
      	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at java.base/java.lang.Thread.run(Thread.java:844)
      WARNING: Illegal reflective access by org.jenkinsci.plugins.workflow.cps.CpsFlowExecution (file:/Users/nenashev/Documents/jenkins/test/java10/work/plugins/workflow-cps/WEB-INF/lib/workflow-cps.jar) to field java.io.ObjectStreamClass$Caches.reflectors
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.cleanUpObjectStreamClassCaches(CpsFlowExecution.java:1391)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.cleanUpLoader(CpsFlowExecution.java:1299)
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.cleanUpHeap(CpsFlowExecution.java:1266)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:375)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)
      	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)
      	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)
      	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at java.base/java.lang.Thread.run(Thread.java:844)
      

        Attachments

          Activity

          oleg_nenashev Oleg Nenashev created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Epic Link JENKINS-40689 [ 177392 ]
          svanoort Sam Van Oort made changes -
          Assignee Sam Van Oort [ svanoort ]
          miraha jang hyemi (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          miraha jang hyemi (Inactive) made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels java10 java10_hackathon java10 java10_hackathon java11
          vivek Vivek Pandey made changes -
          Labels java10 java10_hackathon java11 java10 java10_hackathon java11 triaged-2018-11
          oleg_nenashev Oleg Nenashev made changes -
          Labels java10 java10_hackathon java11 triaged-2018-11 java10 java10_hackathon java11 java11-compatibility triaged-2018-11
          oleg_nenashev Oleg Nenashev made changes -
          Priority Minor [ 4 ] Blocker [ 1 ]
          svanoort Sam Van Oort made changes -
          Status In Review [ 10005 ] In Progress [ 3 ]
          svanoort Sam Van Oort made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          svanoort Sam Van Oort made changes -
          Assignee Sam Van Oort [ svanoort ]
          batmat Baptiste Mathus made changes -
          Labels java10 java10_hackathon java11 java11-compatibility triaged-2018-11 illegalReflectiveAccess java10 java10_hackathon java11 java11-compatibility triaged-2018-11
          vilacides Isa Vilacides made changes -
          Priority Blocker [ 1 ] Major [ 3 ]
          batmat Baptiste Mathus made changes -
          Labels illegalReflectiveAccess java10 java10_hackathon java11 java11-compatibility triaged-2018-11 illegalReflectiveAccess java10 java10_hackathon java11 java11-compatibility triaged

            People

            • Assignee:
              Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: