java.lang.IllegalArgumentException: Unable to get history from: null

Jenkins JIRA | Stefan Kalmelid | 3 years ago
  1. 0

    Problem started this week after we upgraded Jenkins (1.511 -> 1.514) and JobConfigHistory (2.3 -> 2.4). On a job page, e.g. https://jenkins.mydomain.se/myProject/job/myJob/ when I Press the badge for "Config changed since last build" I get the error message: "Job Configuration Difference No permission to view config history" In addition to that I get logged out from Jenkins. In the logs I can see: -------- Sep 23, 2013 2:24:40 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.getLines() in /3gsim/view/CSI%20Wall1/job/LSV%20status/jobConfigHistory/showDiffFiles. Reason: java.lang.IllegalArgumentException: Unable to get history from: null java.lang.IllegalArgumentException: Unable to get history from: null at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getOldConfigXml(JobConfigHistoryProjectAction.java:198) at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getLines(JobConfigHistoryProjectAction.java:162) at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source) -------- If I instead go to the Job Configuration History page, e.g. https://jenkins.mydomain.se/myProject/job/myJob/jobConfigHistory and select the two latest versions there I have no problems getting the diff. The links used on these two pages are *almost* identical. On the Job config History page it uses https, from the job page it uses http.

    Jenkins JIRA | 3 years ago | Stefan Kalmelid
    java.lang.IllegalArgumentException: Unable to get history from: null
  2. 0

    Problem started this week after we upgraded Jenkins (1.511 -> 1.514) and JobConfigHistory (2.3 -> 2.4). On a job page, e.g. https://jenkins.mydomain.se/myProject/job/myJob/ when I Press the badge for "Config changed since last build" I get the error message: "Job Configuration Difference No permission to view config history" In addition to that I get logged out from Jenkins. In the logs I can see: -------- Sep 23, 2013 2:24:40 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: it.getLines() in /3gsim/view/CSI%20Wall1/job/LSV%20status/jobConfigHistory/showDiffFiles. Reason: java.lang.IllegalArgumentException: Unable to get history from: null java.lang.IllegalArgumentException: Unable to get history from: null at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getOldConfigXml(JobConfigHistoryProjectAction.java:198) at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getLines(JobConfigHistoryProjectAction.java:162) at sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source) -------- If I instead go to the Job Configuration History page, e.g. https://jenkins.mydomain.se/myProject/job/myJob/jobConfigHistory and select the two latest versions there I have no problems getting the diff. The links used on these two pages are *almost* identical. On the Job config History page it uses https, from the job page it uses http.

    Jenkins JIRA | 3 years ago | Stefan Kalmelid
    java.lang.IllegalArgumentException: Unable to get history from: null
  3. 0
    Properties of subclasses may have to be referenced in a different way. More on this here: https://goo.gl/FvnBXb
    via goo.gl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DataFlow AvroCoder java.lang.IllegalArgumentException

    Stack Overflow | 7 months ago | natb1
    com.google.cloud.dataflow.sdk.Pipeline$PipelineExecutionException: java.lang.IllegalArgumentException: Unable to get field id from class null
  6. 0

    Serializing generic class with provided schema using AvroCoder

    Stack Overflow | 3 weeks ago | Eugene
    java.lang.IllegalArgumentException: Unable to get field data from class null

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

      Unable to get history from: null

      at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getOldConfigXml()
    2. hudson.plugins.jobConfigHistory
      JobConfigHistoryProjectAction.getLines
      1. hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getOldConfigXml(JobConfigHistoryProjectAction.java:198)
      2. hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getLines(JobConfigHistoryProjectAction.java:162)
      2 frames
    3. Java RT
      GeneratedMethodAccessor975.invoke
      1. sun.reflect.GeneratedMethodAccessor975.invoke(Unknown Source)
      1 frame