java.lang.NullPointerException: null

Sonatype JIRA | Manfred Moser | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When setting a checksum policy of "strict" the download of the prefix file for automatic routing will fail with jvm 1 | 2013-04-02 09:37:59 DEBUG [ar-4-thread-2 ] - eu.medsea.mimeutil.MimeUtil2 - Retrieved MIME types [text/plain] jvm 1 | 2013-04-02 09:37:59 DEBUG [ar-4-thread-2 ] - org.sonatype.nexus.proxy.maven.ChecksumContentValidator - Item checksums (SHA1, MD5) remotely unavailable central:/.meta/prefixes.txt jvm 1 | 2013-04-02 09:37:59 DEBUG [ar-4-thread-2 ] - org.sonatype.nexus.proxy.maven.ChecksumContentValidator - Validation failed due: The artifact /.meta/prefixes.txt has no remote checksum in repository central! The checksumPolicy of repository forbids downloading of it. jvm 1 | 2013-04-02 09:37:59 DEBUG [ar-4-thread-2 ] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - Failed mirror URL:https://secure.central.sonatype.com/maven2/ jvm 1 | 2013-04-02 09:37:59 DEBUG [ar-4-thread-2 ] - org.eclipse.jetty.webapp.WebAppClassLoader - loaded class org.sonatype.nexus.proxy.maven.ChecksumContentValidator from WebAppClassLoader=Sonatype Nexus Professional@17a6a352 jvm 1 | 2013-04-02 09:37:59 DEBUG [ar-4-thread-2 ] - org.eclipse.jetty.webapp.WebAppClassLoader - loaded class org.sonatype.nexus.proxy.maven.AbstractChecksumContentValidator from WebAppClassLoader=Sonatype Nexus Professional@17a6a352 jvm 1 | 2013-04-02 09:37:59 DEBUG [ar-4-thread-2 ] - org.sonatype.nexus.proxy.maven.maven2.M2Repository - null jvm 1 | java.lang.NullPointerException: null jvm 1 | at org.sonatype.nexus.proxy.maven.ChecksumContentValidator.cleanup(ChecksumContentValidator.java:78) ~[nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractChecksumContentValidator.isRemoteItemContentValid(AbstractChecksumContentValidator.java:95) ~[nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doValidateRemoteItemContent(AbstractProxyRepository.java:1438) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveRemoteItem(AbstractProxyRepository.java:1585) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1280) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1155) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:431) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:431) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:836) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.RemotePrefixFileStrategy.retrieveFromRemoteIfExists(RemotePrefixFileStrategy.java:136) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.RemotePrefixFileStrategy.discover(RemotePrefixFileStrategy.java:81) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl.discoverRemoteContent(RemoteContentDiscovererImpl.java:78) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl.discoverRemoteContent(RemoteContentDiscovererImpl.java:64) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.updateProxyPrefixFile(ManagerImpl.java:602) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.updateAndPublishPrefixFile(ManagerImpl.java:541) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.UpdateRepositoryRunnable.doRun(UpdateRepositoryRunnable.java:70) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.task.RunnableSupport.run(RunnableSupport.java:75) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.task.CancelableRunnableSupport.run(CancelableRunnableSupport.java:82) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at org.sonatype.nexus.proxy.maven.routing.internal.task.executor.ConstrainedExecutorImpl$CancelableRunnableWrapper.run(ConstrainedExecutorImpl.java:199) [nexus-core-2.4.0-07.jar:2.4.0-07] jvm 1 | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_17] jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_17] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_17] This breaks the automatic routing feature.

    Sonatype JIRA | 4 years ago | Manfred Moser
    java.lang.NullPointerException: null
  2. 0

    grails initializing bean null pointer exception

    Stack Overflow | 3 years ago | bdas
    java.lang.NullPointerException
  3. 0

    Grails app wont start from STS but launches from terminal

    Stack Overflow | 3 years ago | Alexander Suraphel
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    spring data neo4j version issue

    Stack Overflow | 3 years ago | Ankit Gupta
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'communityCentreRepository': Cannot resolve reference to bean 'neo4jTemplate' while setting bean property 'neo4jTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jTemplate' defined in class org.springframework.data.neo4j.config.Neo4jConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.data.neo4j.support.Neo4jTemplate org.springframework.data.neo4j.config.Neo4jConfiguration.neo4jTemplate() throws java.lang.Exception] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jMappingContext' defined in class org.springframework.data.neo4j.config.Neo4jConfiguration: Invocation of init method failed; nested exception is java.lang.NullPointerException
  6. 0

    IntelliJ: Spring loaded not working on Grails 2.3.x projects

    Stack Overflow | 2 years ago | Alexander Suraphel
    java.lang.NullPointerException

    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

      null

      at org.sonatype.nexus.proxy.maven.ChecksumContentValidator.cleanup()
    2. ${project.groupId}:${project.artifactId}
      ConstrainedExecutorImpl$CancelableRunnableWrapper.run
      1. org.sonatype.nexus.proxy.maven.ChecksumContentValidator.cleanup(ChecksumContentValidator.java:78)[nexus-core-2.4.0-07.jar:2.4.0-07]
      2. org.sonatype.nexus.proxy.maven.AbstractChecksumContentValidator.isRemoteItemContentValid(AbstractChecksumContentValidator.java:95)[nexus-core-2.4.0-07.jar:2.4.0-07]
      3. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doValidateRemoteItemContent(AbstractProxyRepository.java:1438)[nexus-core-2.4.0-07.jar:2.4.0-07]
      4. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveRemoteItem(AbstractProxyRepository.java:1585)[nexus-core-2.4.0-07.jar:2.4.0-07]
      5. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1280)[nexus-core-2.4.0-07.jar:2.4.0-07]
      6. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:1155)[nexus-core-2.4.0-07.jar:2.4.0-07]
      7. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:431)[nexus-core-2.4.0-07.jar:2.4.0-07]
      8. org.sonatype.nexus.proxy.maven.maven2.M2Repository.doRetrieveItem(M2Repository.java:431)[nexus-core-2.4.0-07.jar:2.4.0-07]
      9. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:836)[nexus-core-2.4.0-07.jar:2.4.0-07]
      10. org.sonatype.nexus.proxy.maven.routing.internal.RemotePrefixFileStrategy.retrieveFromRemoteIfExists(RemotePrefixFileStrategy.java:136)[nexus-core-2.4.0-07.jar:2.4.0-07]
      11. org.sonatype.nexus.proxy.maven.routing.internal.RemotePrefixFileStrategy.discover(RemotePrefixFileStrategy.java:81)[nexus-core-2.4.0-07.jar:2.4.0-07]
      12. org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl.discoverRemoteContent(RemoteContentDiscovererImpl.java:78)[nexus-core-2.4.0-07.jar:2.4.0-07]
      13. org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl.discoverRemoteContent(RemoteContentDiscovererImpl.java:64)[nexus-core-2.4.0-07.jar:2.4.0-07]
      14. org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.updateProxyPrefixFile(ManagerImpl.java:602)[nexus-core-2.4.0-07.jar:2.4.0-07]
      15. org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.updateAndPublishPrefixFile(ManagerImpl.java:541)[nexus-core-2.4.0-07.jar:2.4.0-07]
      16. org.sonatype.nexus.proxy.maven.routing.internal.UpdateRepositoryRunnable.doRun(UpdateRepositoryRunnable.java:70)[nexus-core-2.4.0-07.jar:2.4.0-07]
      17. org.sonatype.nexus.proxy.maven.routing.internal.task.RunnableSupport.run(RunnableSupport.java:75)[nexus-core-2.4.0-07.jar:2.4.0-07]
      18. org.sonatype.nexus.proxy.maven.routing.internal.task.CancelableRunnableSupport.run(CancelableRunnableSupport.java:82)[nexus-core-2.4.0-07.jar:2.4.0-07]
      19. org.sonatype.nexus.proxy.maven.routing.internal.task.executor.ConstrainedExecutorImpl$CancelableRunnableWrapper.run(ConstrainedExecutorImpl.java:199)[nexus-core-2.4.0-07.jar:2.4.0-07]
      19 frames
    3. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_17]
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.7.0_17]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.7.0_17]
      3 frames