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

Null pointer exception after updating Jenkins to 2.414.2 and plugin to 2.3.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • log-parser-plugin
    • None

      After updating Jenkins to 2.414.2 and the Log Parser plugin to 2.3.1 all jobs using the log parser fail with the same error. Here is the error from the console log:

      10:33:14  [Pipeline] logParser
      10:33:14  Error when executing always post condition:
      10:33:14  Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from CINode-DotNet3.intranet.jam-software.com/192.168.123.39:49832
      10:33:14  		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
      10:33:14  		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
      10:33:14  		at hudson.remoting.Channel.call(Channel.java:1000)
      10:33:14  		at hudson.plugins.logparser.LogParserParser.parseLogBody(LogParserParser.java:348)
      10:33:14  		at hudson.plugins.logparser.LogParserParser.parseLog(LogParserParser.java:161)
      10:33:14  		at hudson.plugins.logparser.LogParserPublisher.perform(LogParserPublisher.java:120)
      10:33:14  		at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
      10:33:14  		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
      10:33:14  		at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
      10:33:14  		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      10:33:14  		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      10:33:14  		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      10:33:14  		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      10:33:14  		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      10:33:14  		at java.base/java.lang.Thread.run(Thread.java:829)
      10:33:14  Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b062890d-846e-4966-ad52-67e62e3e1c41
      10:33:14  java.lang.NullPointerException
      10:33:14  	at hudson.plugins.logparser.ClassicParsingStrategy.getLineStatusMatches(ClassicParsingStrategy.java:128)
      10:33:14  	at hudson.plugins.logparser.ClassicParsingStrategy.parse(ClassicParsingStrategy.java:103)
      10:33:14  	at hudson.plugins.logparser.LogParserStatusComputer.computeStatusMatches(LogParserStatusComputer.java:73)
      10:33:14  	at hudson.plugins.logparser.LogParserStatusComputer.call(LogParserStatusComputer.java:54)
      10:33:14  	at hudson.plugins.logparser.LogParserStatusComputer.call(LogParserStatusComputer.java:12)
      10:33:14  	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      10:33:14  	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      10:33:14  	at hudson.remoting.Request$2.run(Request.java:377)
      10:33:14  	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
      10:33:14  	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      10:33:14  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      10:33:14  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      10:33:14  	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
      10:33:14  	at java.base/java.lang.Thread.run(Unknown Source)

      Going back to plugin version 2.3.0 solved the problem for us for the moment.

       

       

            mreinhardt Martin Reinhardt
            x3ntrix Artur Lipinski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: