Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. CpsThreadGroup.run() has thrown a RejectedAccessException
    Unsorted
    1
    0
    0
  2. WorkflowScript.run() has thrown a RejectedAccessException
    Unsorted
    1
    0
    1

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use new java.util.Date
21 matching frames hidden
    at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
    at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:324)
    at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:78)
    at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:236)
10 frames hidden

External results for this pattern (2)

  1. Scripts not permitted to use new java.util.Date
    Show stack trace
  2. Ashudeep Budhirajavia Jenkins JIRA2 years ago