java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by Slawomir Czarko, 1 year ago
This exception has no message.
via Jenkins JIRA by Slawomir Czarko, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at org.jenkinsci.lib.envinject.EnvInjectAction$1.transformEntry(EnvInjectAction.java:94)
at org.jenkinsci.lib.envinject.EnvInjectAction$1.transformEntry(EnvInjectAction.java:92)
at com.google.common.collect.Maps$TransformedEntriesMap$1$1.apply(Maps.java:1218)
at com.google.common.collect.Maps$TransformedEntriesMap$1$1.apply(Maps.java:1216)
at java.util.AbstractMap.putAll(AbstractMap.java:272)
at java.util.TreeMap.putAll(TreeMap.java:321)
at org.jenkinsci.lib.envinject.service.EnvInjectSavable.saveEnvironment(EnvInjectSavable.java:54)
at org.jenkinsci.lib.envinject.EnvInjectAction.writeReplace(EnvInjectAction.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:99)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:223)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:210)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:182)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:167)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
at hudson.XmlFile.write(XmlFile.java:178)
at hudson.model.Run.save(Run.java:1929)
at hudson.plugins.changelog_history.ChangeLogHistoryRunListener.copyChangeLogs(ChangeLogHistoryRunListener.java:82)
at hudson.plugins.changelog_history.ChangeLogHistoryRunListener.onDeleted(ChangeLogHistoryRunListener.java:50)
at hudson.plugins.changelog_history.ChangeLogHistoryRunListener.onDeleted(ChangeLogHistoryRunListener.java:40)
at hudson.model.listeners.RunListener.fireDeleted(RunListener.java:244)
at hudson.model.Run.delete(Run.java:1502)
at hudson.tasks.LogRotator.perform(LogRotator.java:129)
at hudson.model.Job.logRotate(Job.java:449)
at hudson.model.Run.execute(Run.java:1823)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.