-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins ver. 2.138.3
Build Failure Analyzer 1.20.0
-
-
1.23.0-beta-1
Whenever the build failure analyser plug-in runs there will be several warnings in the Jenkins log "Avoid calling getLogFile on ..." because getLogFile is deprecated:
Nov 23, 2018 3:20:04 PM INFO org.jenkinsci.plugins.workflow.job.WorkflowRun finishTestWorkflow/TestWorkflow #362 completed: FAILURE Nov 23, 2018 3:20:04 PM WARNING org.jenkinsci.plugins.workflow.job.WorkflowRun getLogFileAvoid calling getLogFile on TestWorkflow/TestWorkflow #362 java.lang.UnsupportedOperationException at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1082) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.parseSingleLineCauses(BuildFailureScanner.java:426) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.access$000(BuildFailureScanner.java:77) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner$1.run(BuildFailureScanner.java:289) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Nov 23, 2018 3:20:04 PM WARNING org.jenkinsci.plugins.workflow.job.WorkflowRun getLogFileAvoid calling getLogFile on TestWorkflow/TestWorkflow #362 java.lang.UnsupportedOperationException at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1082) at com.sonyericsson.jenkins.plugins.bfa.model.MultilineBuildLogFailureReader.scan(MultilineBuildLogFailureReader.java:92) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.findIndication(BuildFailureScanner.java:451) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.parseIndication(BuildFailureScanner.java:393) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.access$100(BuildFailureScanner.java:77) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner$2.run(BuildFailureScanner.java:306) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Nov 23, 2018 3:20:04 PM WARNING org.jenkinsci.plugins.workflow.job.WorkflowRun getLogFileAvoid calling getLogFile on TestWorkflow/TestWorkflow #362 java.lang.UnsupportedOperationException at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1082) at com.sonyericsson.jenkins.plugins.bfa.model.MultilineBuildLogFailureReader.scan(MultilineBuildLogFailureReader.java:92) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.findIndication(BuildFailureScanner.java:451) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.parseIndication(BuildFailureScanner.java:393) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner.access$100(BuildFailureScanner.java:77) at com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner$2.run(BuildFailureScanner.java:306) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)