java.lang.NullPointerException: null

Sonatype JIRA | Tamás Cservenák | 2 years ago
  1. 0

    On {{npm publish}} the version is being queries first by NPM CLI, and naturally it does not exists yet on server. Still, NX plugin will attempt to apply filter on {{null}} resulting in NPE. {noformat} jvm 1 | 2014-09-26 11:43:30,259+0200 DEBUG [qtp1788435570-93] deployment com.bolyuba.nexus.plugin.npm.hosted.DefaultNpmHostedRepository - getTargetsForRequest() :: npmhosted:/testproject1 jvm 1 | 2014-09-26 11:43:30,264+0200 WARN [qtp1788435570-93] deployment org.sonatype.nexus.content.internal.ContentServlet - null [client=127.0.0.1,ua=npm/1.4.28 node/v0.10.32 darwin x64,req=PUT http://localhost:8081/nexus/content/repositories/npmhosted/testproject1] jvm 1 | java.lang.NullPointerException: null jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageVersionDist(GeneratorSupport.java:188) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.generatePackageVersion(GeneratorSupport.java:125) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.hosted.DefaultNpmHostedRepository.getResultingActionOnWrite(DefaultNpmHostedRepository.java:198) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.hosted.DefaultNpmHostedRepository.storeItem(DefaultNpmHostedRepository.java:252) ~[na:na] jvm 1 | at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:179) ~[nexus-core-2.10.0-01.jar:2.10.0-01] jvm 1 | at org.sonatype.nexus.content.internal.ContentServlet.doPut(ContentServlet.java:602) [nexus-content-plugin-2.10.0-01/:na] {noformat}

    Sonatype JIRA | 2 years ago | Tamás Cservenák
    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 com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageVersionDist()
    2. com.bolyuba.nexus
      DefaultNpmHostedRepository.storeItem
      1. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.filterPackageVersionDist(GeneratorSupport.java:188)[na:na]
      2. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.generatePackageVersion(GeneratorSupport.java:125)[na:na]
      3. com.bolyuba.nexus.plugin.npm.hosted.DefaultNpmHostedRepository.getResultingActionOnWrite(DefaultNpmHostedRepository.java:198)[na:na]
      4. com.bolyuba.nexus.plugin.npm.hosted.DefaultNpmHostedRepository.storeItem(DefaultNpmHostedRepository.java:252)[na:na]
      4 frames
    3. ${project.groupId}:${project.artifactId}
      DefaultRepositoryRouter.storeItem
      1. org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:179)[nexus-core-2.10.0-01.jar:2.10.0-01]
      1 frame
    4. org.sonatype.nexus
      ContentServlet.doPut
      1. org.sonatype.nexus.content.internal.ContentServlet.doPut(ContentServlet.java:602)[nexus-content-plugin-2.10.0-01/:na]
      1 frame