java.lang.NullPointerException: Name is null

Jenkins JIRA | jasperlj | 6 years ago
  1. 0

    [WARNINGS] Successfully parsed file <log file name A> of module ABC with 0 warnings. [WARNINGS] Successfully parsed file <log file name B> of module ABC with 582 warnings. [WARNINGS] Successfully parsed file <log file name C> of module ABC with 45 warnings. ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:195) at hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:18) at hudson.plugins.analysis.core.HealthAwarePublisher.getMinimumPriority(HealthAwarePublisher.java:522) at hudson.plugins.analysis.core.AbstractHealthDescriptor.<init>(AbstractHealthDescriptor.java:36) at hudson.plugins.warnings.WarningsHealthDescriptor.<init>(WarningsHealthDescriptor.java:25) at hudson.plugins.warnings.WarningsResultAction.<init>(WarningsResultAction.java:31) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:224) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1296) at hudson.matrix.MatrixRun.run(MatrixRun.java:137) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Finished: FAILURE

    Jenkins JIRA | 6 years ago | jasperlj
    java.lang.NullPointerException: Name is null
  2. 0

    [WARNINGS] Successfully parsed file <log file name A> of module ABC with 0 warnings. [WARNINGS] Successfully parsed file <log file name B> of module ABC with 582 warnings. [WARNINGS] Successfully parsed file <log file name C> of module ABC with 45 warnings. ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:195) at hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:18) at hudson.plugins.analysis.core.HealthAwarePublisher.getMinimumPriority(HealthAwarePublisher.java:522) at hudson.plugins.analysis.core.AbstractHealthDescriptor.<init>(AbstractHealthDescriptor.java:36) at hudson.plugins.warnings.WarningsHealthDescriptor.<init>(WarningsHealthDescriptor.java:25) at hudson.plugins.warnings.WarningsResultAction.<init>(WarningsResultAction.java:31) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:224) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1296) at hudson.matrix.MatrixRun.run(MatrixRun.java:137) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Finished: FAILURE

    Jenkins JIRA | 6 years ago | jasperlj
    java.lang.NullPointerException: Name is null
  3. 0

    Builds are finishing with a failure result, and the following exception is being shown: [WARNINGS] Parsing warnings in console log... ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:195) at hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:18) at hudson.plugins.analysis.core.HealthAwarePublisher.getMinimumPriority(HealthAwarePublisher.java:522) at hudson.plugins.analysis.core.AbstractHealthDescriptor.<init>(AbstractHealthDescriptor.java:36) at hudson.plugins.warnings.WarningsHealthDescriptor.<init>(WarningsHealthDescriptor.java:25) at hudson.plugins.warnings.WarningsResultAction.<init>(WarningsResultAction.java:31) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:202) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:651) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1349) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) If I disable the warnings publisher from the job configuration, the build ends successfully. Here is the config section of the warnings plugin of the job: <hudson.plugins.warnings.WarningsPublisher> <pluginName>[WARNINGS] </pluginName> <defaultEncoding></defaultEncoding> <canRunOnFailed>false</canRunOnFailed> <useDeltaValues>false</useDeltaValues> <thresholds> <unstableTotalHigh></unstableTotalHigh> <unstableTotalNormal></unstableTotalNormal> <unstableTotalLow></unstableTotalLow> <unstableNewHigh></unstableNewHigh> <unstableNewNormal></unstableNewNormal> <unstableNewLow></unstableNewLow> <failedTotalHigh></failedTotalHigh> <failedTotalNormal></failedTotalNormal> <failedTotalLow></failedTotalLow> <failedNewHigh></failedNewHigh> <failedNewNormal></failedNewNormal> <failedNewLow></failedNewLow> </thresholds> <pattern></pattern> <parserNames> <string>Java Compiler</string> </parserNames> <ignoreConsole>false</ignoreConsole> </hudson.plugins.warnings.WarningsPublisher>

    Jenkins JIRA | 6 years ago | ingmartinlopez
    java.lang.NullPointerException: Name is null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Builds are finishing with a failure result, and the following exception is being shown: [WARNINGS] Parsing warnings in console log... ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:195) at hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:18) at hudson.plugins.analysis.core.HealthAwarePublisher.getMinimumPriority(HealthAwarePublisher.java:522) at hudson.plugins.analysis.core.AbstractHealthDescriptor.<init>(AbstractHealthDescriptor.java:36) at hudson.plugins.warnings.WarningsHealthDescriptor.<init>(WarningsHealthDescriptor.java:25) at hudson.plugins.warnings.WarningsResultAction.<init>(WarningsResultAction.java:31) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:202) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:651) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1349) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) If I disable the warnings publisher from the job configuration, the build ends successfully. Here is the config section of the warnings plugin of the job: <hudson.plugins.warnings.WarningsPublisher> <pluginName>[WARNINGS] </pluginName> <defaultEncoding></defaultEncoding> <canRunOnFailed>false</canRunOnFailed> <useDeltaValues>false</useDeltaValues> <thresholds> <unstableTotalHigh></unstableTotalHigh> <unstableTotalNormal></unstableTotalNormal> <unstableTotalLow></unstableTotalLow> <unstableNewHigh></unstableNewHigh> <unstableNewNormal></unstableNewNormal> <unstableNewLow></unstableNewLow> <failedTotalHigh></failedTotalHigh> <failedTotalNormal></failedTotalNormal> <failedTotalLow></failedTotalLow> <failedNewHigh></failedNewHigh> <failedNewNormal></failedNewNormal> <failedNewLow></failedNewLow> </thresholds> <pattern></pattern> <parserNames> <string>Java Compiler</string> </parserNames> <ignoreConsole>false</ignoreConsole> </hudson.plugins.warnings.WarningsPublisher>

    Jenkins JIRA | 6 years ago | ingmartinlopez
    java.lang.NullPointerException: Name is null
  6. 0

    Hello All, While building my nightly build i am getting the following err : BUILD SUCCESSFUL Total time: 11 minutes 24 seconds [TASKS] Scanning workspace files for tasks... ERROR: Publisher hudson.plugins.tasks.TasksPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:195) at hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:18) at hudson.plugins.analysis.core.HealthAwarePublisher.getMinimumPriority(HealthAwarePublisher.java:522) at hudson.plugins.analysis.core.AbstractHealthDescriptor.<init>(AbstractHealthDescriptor.java:36) at hudson.plugins.tasks.TasksHealthDescriptor.<init>(TasksHealthDescriptor.java:26) at hudson.plugins.tasks.TasksResultAction.<init>(TasksResultAction.java:31) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:175) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:157) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1303) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:137) Archiving artifacts Recording fingerprints I have tried a lot but could not find the reason of this failure, i upgraded hudson to new version 2 days ago. Is this err is coming because of this? I have also attached the Task Scanner Plugin conf. of my nightly build. I am also using Sonar plugin. Please give me any idea why it is coming. is it a bug? Thanks, Khush.

    Jenkins JIRA | 6 years ago | chahalkhushwinder
    java.lang.NullPointerException: Name is null
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    Name is null

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:195)
    1 frame
  3. Static Analysis Utilities
    AbstractHealthDescriptor.<init>
    1. hudson.plugins.analysis.util.model.Priority.valueOf(Priority.java:18)
    2. hudson.plugins.analysis.core.HealthAwarePublisher.getMinimumPriority(HealthAwarePublisher.java:522)
    3. hudson.plugins.analysis.core.AbstractHealthDescriptor.<init>(AbstractHealthDescriptor.java:36)
    3 frames
  4. hudson.plugins.warnings
    WarningsPublisher.perform
    1. hudson.plugins.warnings.WarningsHealthDescriptor.<init>(WarningsHealthDescriptor.java:25)
    2. hudson.plugins.warnings.WarningsResultAction.<init>(WarningsResultAction.java:31)
    3. hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:224)
    3 frames
  5. Static Analysis Utilities
    HealthAwarePublisher.perform
    1. hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:280)
    1 frame
  6. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:158)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
    7. hudson.model.Run.run(Run.java:1296)
    8. hudson.matrix.MatrixRun.run(MatrixRun.java:137)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:129)
    10 frames