java.lang.NullPointerException: Name is null

Jenkins JIRA | sun_tse | 6 years ago
  1. 0

    Installing the Promoted Builds Plugin and adding promotion processes breaks builds. The errors in the log don't have anything to do with the plugin but after uninstalling the plugin, everything is back to normal again. Hudson Log: {noformat} Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.checkstyle.CheckStylePublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.checkstyle.CheckStyleHealthDescriptor.(CheckStyleHealthDescriptor.java:25) at hudson.plugins.checkstyle.CheckStyleResultAction.(CheckStyleResultAction.java:31) at hudson.plugins.checkstyle.CheckStylePublisher.perform(CheckStylePublisher.java:133) 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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.pmd.PmdPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.pmd.PmdHealthDescriptor.(PmdHealthDescriptor.java:25) at hudson.plugins.pmd.PmdResultAction.(PmdResultAction.java:31) at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:132) 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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.dry.DryPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.dry.DryHealthDescriptor.(DryHealthDescriptor.java:25) at hudson.plugins.dry.DryResultAction.(DryResultAction.java:31) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:164) 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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.tasks.TasksPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.tasks.TasksHealthDescriptor.(TasksHealthDescriptor.java:26) at hudson.plugins.tasks.TasksResultAction.(TasksResultAction.java:31) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) {noformat} After the restart of Hudson this error message pops up: {noformat} Dec 21, 2010 1:26:50 PM hudson.util.RobustCollectionConverter populateCollection WARNING: Failed to resolve class com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.promoted_builds.PromotedBuildAction : hudson.plugins.promoted_builds.PromotedBuildAction at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:142) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:56) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:80) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) at hudson.model.Run.(Run.java:260) at hudson.model.AbstractBuild.(AbstractBuild.java:152) at hudson.model.Build.(Build.java:98) at hudson.model.FreeStyleBuild.(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:909) at hudson.model.AbstractProject$1.create(AbstractProject.java:243) at hudson.model.AbstractProject$1.create(AbstractProject.java:241) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:241) at hudson.model.Project.onLoad(Project.java:87) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$12.run(Hudson.java:2213) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:695) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) {noformat}

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

    Installing the Promoted Builds Plugin and adding promotion processes breaks builds. The errors in the log don't have anything to do with the plugin but after uninstalling the plugin, everything is back to normal again. Hudson Log: {noformat} Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.checkstyle.CheckStylePublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.checkstyle.CheckStyleHealthDescriptor.(CheckStyleHealthDescriptor.java:25) at hudson.plugins.checkstyle.CheckStyleResultAction.(CheckStyleResultAction.java:31) at hudson.plugins.checkstyle.CheckStylePublisher.perform(CheckStylePublisher.java:133) 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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.pmd.PmdPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.pmd.PmdHealthDescriptor.(PmdHealthDescriptor.java:25) at hudson.plugins.pmd.PmdResultAction.(PmdResultAction.java:31) at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:132) 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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.dry.DryPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.dry.DryHealthDescriptor.(DryHealthDescriptor.java:25) at hudson.plugins.dry.DryResultAction.(DryResultAction.java:31) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:164) 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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Dec 21, 2010 12:57:42 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.tasks.TasksPublisher aborted due to exception java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:213) 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.(AbstractHealthDescriptor.java:36) at hudson.plugins.tasks.TasksHealthDescriptor.(TasksHealthDescriptor.java:26) at hudson.plugins.tasks.TasksResultAction.(TasksResultAction.java:31) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.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.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1361) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) {noformat} After the restart of Hudson this error message pops up: {noformat} Dec 21, 2010 1:26:50 PM hudson.util.RobustCollectionConverter populateCollection WARNING: Failed to resolve class com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.promoted_builds.PromotedBuildAction : hudson.plugins.promoted_builds.PromotedBuildAction at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:142) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:56) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:233) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:80) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) at hudson.model.Run.(Run.java:260) at hudson.model.AbstractBuild.(AbstractBuild.java:152) at hudson.model.Build.(Build.java:98) at hudson.model.FreeStyleBuild.(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:909) at hudson.model.AbstractProject$1.create(AbstractProject.java:243) at hudson.model.AbstractProject$1.create(AbstractProject.java:241) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:241) at hudson.model.Project.onLoad(Project.java:87) at hudson.model.Items.load(Items.java:106) at hudson.model.Hudson$12.run(Hudson.java:2213) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:695) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) {noformat}

    Jenkins JIRA | 6 years ago | sun_tse
    java.lang.NullPointerException: Name is null
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

  1. tfr 1 times, last 6 months ago
3 unregistered visitors
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:213)
    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.tasks
    TasksPublisher.perform
    1. hudson.plugins.tasks.TasksHealthDescriptor.<init>(TasksHealthDescriptor.java:26)
    2. hudson.plugins.tasks.TasksResultAction.<init>(TasksResultAction.java:31)
    3. hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:202)
    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:603)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:156)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529)
    7. hudson.model.Run.run(Run.java:1361)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:140)
    10 frames