[JIRA] (JENKINS-53818) Log parser aborts pipelines

59 views
Skip to first unread message

daniel.everett@arm.com (JIRA)

unread,
Sep 27, 2018, 10:24:02 AM9/27/18
to jenkinsc...@googlegroups.com
Daniel Everett created an issue
 
Jenkins / Bug JENKINS-53818
Log parser aborts pipelines
Issue Type: Bug Bug
Assignee: Manuel Recena Soto
Components: log-parser-plugin
Created: 2018-09-27 14:23
Environment: Jenkins 2.138.1
Log Parser plugin 2.0
Labels: log-parser
Priority: Major Major
Reporter: Daniel Everett

Run this pipeline:

node {
    stage ('1') {
        writeFile(file: 'rules', text: 'error /(?i)error:/\n')
    }
    stage ('2') {
        echo "Error: tragedy"
    }
    stage ('3') {
        step([$class: 'LogParserPublisher', parsingRulesPath: 'rules', useProjectRule: true]);
    }
}

The log parser fails and aborts the pipeline you have run. The Parsed Console Output link says:

 
ERROR: Failed to parse console log

java.lang.NullPointerException

The system log says:

log-parser plugin ERROR: Cannot parse log pipe #4
java.lang.NullPointerException
	at hudson.FilePath.isAbsolute(FilePath.java:308)
	at hudson.FilePath.resolvePathIfRelative(FilePath.java:293)
	at hudson.FilePath.<init>(FilePath.java:284)
	at hudson.plugins.logparser.LogParserPublisher.perform(LogParserPublisher.java:125)
	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50)
	at hudson.security.ACL.impersonate(ACL.java:290)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

hypery2k@web.de (JIRA)

unread,
Jul 1, 2019, 4:28:04 PM7/1/19
to jenkinsc...@googlegroups.com
Martin Reinhardt closed an issue as Cannot Reproduce
Change By: Martin Reinhardt
Status: Open Closed
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages