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 Sonatype JIRA by Tamás Cservenák, 1 year ago
This exception has no message.
via Sonatype JIRA by Tamás Cservenák, 1 year ago
This exception has no message.
via Google Groups by Nicolae, 2 years ago
via GitHub by fabienv
, 2 years ago
This exception has no message.
via Stack Overflow by Wagner Moreira
, 1 year ago
This exception has no message.
via Stack Overflow by David J.
, 7 months ago
java.lang.NullPointerException:
at java.io.File.(File.java:222)
at org.sonatype.nexus.log.Log4jLogConfigurationSource.getSource(Log4jLogConfigurationSource.java:31)
at org.sonatype.nexus.log.Log4jLogConfigurationSource.getSource(Log4jLogConfigurationSource.java:23)
at org.sonatype.nexus.log.Log4jLogConfiguration.load(Log4jLogConfiguration.java:82)
at org.sonatype.nexus.log.Log4jLogManager.getLogConfig(Log4jLogManager.java:160)
at org.sonatype.nexus.events.NexusStartedEventInspector.ensureErrorWarningAppender(NexusStartedEventInspector.java:78)
at org.sonatype.nexus.events.NexusStartedEventInspector.inspect(NexusStartedEventInspector.java:51)
at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48)
at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:733)
at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647)
at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:280)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129)
at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181)
at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67)
at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:351)
at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:383)
at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:208)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 times, 4 months ago
2 times, 4 months ago
6 times, 5 months ago

Write tip

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