-
Bug
-
Resolution: Fixed
-
Minor
[WARNINGS] Parsing warnings in console log with parser MSBuild
ERROR: Build step failed with exception
java.lang.NullPointerException
at hudson.plugins.analysis.util.model.AbstractAnnotation.setFileName(AbstractAnnotation.java:384)
at hudson.plugins.warnings.parser.Warning.<init>(Warning.java:64)
at hudson.plugins.warnings.parser.AbstractWarningsParser.createWarning(AbstractWarningsParser.java:228)
at hudson.plugins.warnings.parser.MsBuildParser.createWarning(MsBuildParser.java:66)
at hudson.plugins.warnings.parser.RegexpParser.findAnnotations(RegexpParser.java:87)
at hudson.plugins.warnings.parser.RegexpLineParser.parse(RegexpLineParser.java:94)
at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:282)
at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:261)
at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:349)
at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:291)
at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:68)
at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:295)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at hudson.model.Run.execute(Run.java:1754)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Build step 'Scan for compiler warnings' marked build as failure