java.lang.NullPointerException

Jenkins JIRA | James Nord | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When a job has no results and the static analyis plugins are enabled there are exceptions if you try to view the jobs page http://jenkins/job/myjob {noformat} Dec 08, 2011 4:22:07 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: from.canShowEnableTrendLink(request). Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.plugins.analysis.core.BuildHistory.getBaseline(BuildHistory.java:178) at hudson.plugins.analysis.graph.GraphConfigurationView.<init>(GraphConfigurationView.java:63) at hudson.plugins.analysis.graph.UserGraphConfigurationView.<init>(UserGraphConfigurationView.java:36) at hudson.plugins.analysis.collector.AnalysisUserGraphConfigurationView.<init>(AnalysisUserGraphConfigurationView.java:39) at hudson.plugins.analysis.collector.AnalysisProjectAction.createUserConfiguration(AnalysisProjectAction.java:51) at hudson.plugins.analysis.core.AbstractProjectAction.canShowEnableTrendLink(AbstractProjectAction.java:204) at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) Dec 08, 2011 4:22:07 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: from.canShowEnableTrendLink(request). Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.plugins.analysis.core.BuildHistory.getBaseline(BuildHistory.java:178) at hudson.plugins.analysis.graph.GraphConfigurationView.<init>(GraphConfigurationView.java:63) at hudson.plugins.analysis.graph.UserGraphConfigurationView.<init>(UserGraphConfigurationView.java:36) at hudson.plugins.analysis.collector.AnalysisUserGraphConfigurationView.<init>(AnalysisUserGraphConfigurationView.java:39) at hudson.plugins.analysis.collector.AnalysisProjectAction.createUserConfiguration(AnalysisProjectAction.java:51) at hudson.plugins.analysis.core.AbstractProjectAction.canShowEnableTrendLink(AbstractProjectAction.java:204) at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) {noformat}

    Jenkins JIRA | 5 years ago | James Nord
    java.lang.NullPointerException
  2. 0

    When a job has no results and the static analyis plugins are enabled there are exceptions if you try to view the jobs page http://jenkins/job/myjob {noformat} Dec 08, 2011 4:22:07 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: from.canShowEnableTrendLink(request). Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.plugins.analysis.core.BuildHistory.getBaseline(BuildHistory.java:178) at hudson.plugins.analysis.graph.GraphConfigurationView.<init>(GraphConfigurationView.java:63) at hudson.plugins.analysis.graph.UserGraphConfigurationView.<init>(UserGraphConfigurationView.java:36) at hudson.plugins.analysis.collector.AnalysisUserGraphConfigurationView.<init>(AnalysisUserGraphConfigurationView.java:39) at hudson.plugins.analysis.collector.AnalysisProjectAction.createUserConfiguration(AnalysisProjectAction.java:51) at hudson.plugins.analysis.core.AbstractProjectAction.canShowEnableTrendLink(AbstractProjectAction.java:204) at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) Dec 08, 2011 4:22:07 PM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: from.canShowEnableTrendLink(request). Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.plugins.analysis.core.BuildHistory.getBaseline(BuildHistory.java:178) at hudson.plugins.analysis.graph.GraphConfigurationView.<init>(GraphConfigurationView.java:63) at hudson.plugins.analysis.graph.UserGraphConfigurationView.<init>(UserGraphConfigurationView.java:36) at hudson.plugins.analysis.collector.AnalysisUserGraphConfigurationView.<init>(AnalysisUserGraphConfigurationView.java:39) at hudson.plugins.analysis.collector.AnalysisProjectAction.createUserConfiguration(AnalysisProjectAction.java:51) at hudson.plugins.analysis.core.AbstractProjectAction.canShowEnableTrendLink(AbstractProjectAction.java:204) at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source) {noformat}

    Jenkins JIRA | 5 years ago | James Nord
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.analysis.core.BuildHistory.getBaseline()
    2. Static Analysis Utilities
      UserGraphConfigurationView.<init>
      1. hudson.plugins.analysis.core.BuildHistory.getBaseline(BuildHistory.java:178)
      2. hudson.plugins.analysis.graph.GraphConfigurationView.<init>(GraphConfigurationView.java:63)
      3. hudson.plugins.analysis.graph.UserGraphConfigurationView.<init>(UserGraphConfigurationView.java:36)
      3 frames
    3. hudson.plugins.analysis
      AnalysisProjectAction.createUserConfiguration
      1. hudson.plugins.analysis.collector.AnalysisUserGraphConfigurationView.<init>(AnalysisUserGraphConfigurationView.java:39)
      2. hudson.plugins.analysis.collector.AnalysisProjectAction.createUserConfiguration(AnalysisProjectAction.java:51)
      2 frames
    4. Static Analysis Utilities
      AbstractProjectAction.canShowEnableTrendLink
      1. hudson.plugins.analysis.core.AbstractProjectAction.canShowEnableTrendLink(AbstractProjectAction.java:204)
      1 frame
    5. Java RT
      GeneratedMethodAccessor371.invoke
      1. sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source)
      1 frame