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

,

Thrown when an application is trying to use or access an object whose reference equals to null. You are probably trying to use a reference that points to no location in memory as though it were referencing an object.

Solutions on the web

via GitHub by anthonyanjorin
, 1 year ago
This exception has no message.
via GitHub by parrt
, 1 year ago
This exception has no message.
via GitHub by miracle2k
, 1 year ago
This exception has no message.
via Oracle Community by 829803, 1 year ago
This exception has no message.
via Stack Overflow by Reticality
, 2 years ago
This exception has no message.
via GitHub by madhephaestus
, 2 years ago
java.lang.NullPointerException:
at java.util.Hashtable.put(Hashtable.java:459)
at org.codehaus.plexus.interpolation.os.OperatingSystemUtils.getSystemEnvVars(OperatingSystemUtils.java:73)
at org.codehaus.plexus.interpolation.EnvarBasedValueSource.getEnvars(EnvarBasedValueSource.java:74)
at org.codehaus.plexus.interpolation.EnvarBasedValueSource.(EnvarBasedValueSource.java:64)
at org.apache.maven.settings.building.DefaultSettingsBuilder.interpolate(DefaultSettingsBuilder.java:226)
at org.apache.maven.cli.configuration.SettingsXmlConfigurationProcessor.process(SettingsXmlConfigurationProcessor.java:137)
at org.apache.maven.cli.MavenCli.configure(MavenCli.java:1017)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

Users with the same issue

Once, 3 weeks ago
Once, 1 month ago
4 times, 2 months ago
9 times, 6 months ago
3 times, 11 months ago

Write tip

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