java.lang.NullPointerException

Sonatype JIRA | Kristine O'Connor | 8 years ago
  1. 0

    I setup a proxy repo to Central repo on RSO, and associated the username and password for authentication. When running reindex in my local Nexus, the following is logged in the log file: 2008-11-14 17:08:35.098 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.index.IndexerManager:default: Trying to get remote index for repository Central_ON_RSO 2008-11-14 17:08:35.145 WARN [pxpool-1-thread-1:] - org.sonatype.nexus.index.IndexerManager:default: Cannot fetch remote index: java.lang.NullPointerException at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.updateContext(CommonsHttpClientRemoteStorage.java:262) at org.sonatype.nexus.proxy.storage.remote.AbstractRemoteRepositoryStorage.getRemoteStorageContext(AbstractRemoteRepositoryStorage.java:116) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:403) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.containsItem(CommonsHttpClientRemoteStorage.java:93) at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:135) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:912) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:526) at org.sonatype.nexus.index.DefaultIndexerManager.publishAllIndex(DefaultIndexerManager.java:435) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:932) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1363) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:51) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.lang.NullPointerException
  2. 0

    I setup a proxy repo to Central repo on RSO, and associated the username and password for authentication. When running reindex in my local Nexus, the following is logged in the log file: 2008-11-14 17:08:35.098 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.index.IndexerManager:default: Trying to get remote index for repository Central_ON_RSO 2008-11-14 17:08:35.145 WARN [pxpool-1-thread-1:] - org.sonatype.nexus.index.IndexerManager:default: Cannot fetch remote index: java.lang.NullPointerException at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.updateContext(CommonsHttpClientRemoteStorage.java:262) at org.sonatype.nexus.proxy.storage.remote.AbstractRemoteRepositoryStorage.getRemoteStorageContext(AbstractRemoteRepositoryStorage.java:116) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:403) at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.containsItem(CommonsHttpClientRemoteStorage.java:93) at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:135) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:912) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:526) at org.sonatype.nexus.index.DefaultIndexerManager.publishAllIndex(DefaultIndexerManager.java:435) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:932) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1363) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:51) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      No message provided

      at org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.updateContext()
    2. org.sonatype.nexus
      CommonsHttpClientRemoteStorage.updateContext
      1. org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.updateContext(CommonsHttpClientRemoteStorage.java:262)
      1 frame
    3. ${project.groupId}:${project.artifactId}
      AbstractRemoteRepositoryStorage.getRemoteStorageContext
      1. org.sonatype.nexus.proxy.storage.remote.AbstractRemoteRepositoryStorage.getRemoteStorageContext(AbstractRemoteRepositoryStorage.java:116)
      1 frame
    4. org.sonatype.nexus
      CommonsHttpClientRemoteStorage.containsItem
      1. org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:403)
      2. org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.containsItem(CommonsHttpClientRemoteStorage.java:93)
      2 frames
    5. ${project.groupId}:${project.artifactId}
      AbstractRepository.retrieveItem
      1. org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:135)
      2. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:439)
      3. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:912)
      3 frames
    6. Sonatype Nexus Indexer
      DefaultIndexerManager.reindexAllRepositories
      1. org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:526)
      2. org.sonatype.nexus.index.DefaultIndexerManager.publishAllIndex(DefaultIndexerManager.java:435)
      3. org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:932)
      3 frames
    7. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1363)
      2. org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:51)
      3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142)
      3 frames
    8. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345)
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      7. java.lang.Thread.run(Unknown Source)
      7 frames