java.lang.NullPointerException: null

Sonatype JIRA | Michael Prescott | 2 years ago
  1. 0

    Deleting components triggers an NPE (see below). This seems to happen because EntityAdapter.deleteEntity() sets the entity metadata to null. This causes problems, however, because the search facet (which is notified of the deletion) needs the metadata to identify the search index item being deleted. I assume similar issues will arise with consumers of ComponentDeletedEvent. 2015-04-16 10:39:39,984-0400 ERROR [qtp2077321810-46] admin com.sonatype.nexus.repository.nuget.internal.NugetItemHandler - Unknown error java.lang.NullPointerException: null at org.sonatype.nexus.repository.search.SearchServiceImpl.delete(SearchServiceImpl.java:179) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.repository.search.SearchFacetImpl.delete(SearchFacetImpl.java:53) [org.sonatype.nexus.repository:3.0.0.SNAPSHOT] at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:40) [org.sonatype.nexus.common:3.0.0.SNAPSHOT] at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:233) [org.sonatype.nexus.common:3.0.0.SNAPSHOT] at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53) [org.sonatype.nexus.common:3.0.0.SNAPSHOT] at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.delete(NugetGalleryFacetImpl.java:393) [na:na] at com.sonatype.nexus.repository.nuget.internal.NugetItemHandler.deleteItem(NugetItemHandler.java:78) [na:na]

    Sonatype JIRA | 2 years ago | Michael Prescott
    java.lang.NullPointerException: null
  2. 0

    HQL Exception (org.hibernate.dialect.Dialect$3)

    Stack Overflow | 4 years ago | Hari
    java.lang.NullPointerException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error loading model properties in JPA on play 2.0.3

    Stack Overflow | 4 years ago | Chappies
    java.lang.NullPointerException: null
  5. 0

    Why lift can't find my "db.properties"

    Stack Overflow | 5 years ago | Freewind
    java.lang.NullPointerException: null

    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.repository.search.SearchServiceImpl.delete()
    2. org.sonatype.nexus
      GuardedInterceptor.invoke
      1. org.sonatype.nexus.repository.search.SearchServiceImpl.delete(SearchServiceImpl.java:179)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      2. org.sonatype.nexus.repository.search.SearchFacetImpl.delete(SearchFacetImpl.java:53)[org.sonatype.nexus.repository:3.0.0.SNAPSHOT]
      3. org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:40)[org.sonatype.nexus.common:3.0.0.SNAPSHOT]
      4. org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:233)[org.sonatype.nexus.common:3.0.0.SNAPSHOT]
      5. org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)[org.sonatype.nexus.common:3.0.0.SNAPSHOT]
      5 frames
    3. com.sonatype.nexus
      NugetItemHandler.deleteItem
      1. com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.delete(NugetGalleryFacetImpl.java:393)[na:na]
      2. com.sonatype.nexus.repository.nuget.internal.NugetItemHandler.deleteItem(NugetItemHandler.java:78)[na:na]
      2 frames