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

Solutions on the web

via Sonatype JIRA by Rich Seddon, 1 year ago
via Sonatype JIRA by Todd Merrill, 1 year ago
via Sonatype JIRA by Todd Merrill, 2 years ago
java.lang.NullPointerException: 	at org.sonatype.nexus.proxy.item.StringContentLocator.toByteArray(StringContentLocator.java:53)	at org.sonatype.nexus.proxy.item.StringContentLocator.(StringContentLocator.java:39)	at org.sonatype.nexus.proxy.item.StringContentLocator.(StringContentLocator.java:34)	at org.sonatype.nexus.proxy.maven.metadata.DefaultMetadataHelper.store(DefaultMetadataHelper.java:55)	at org.sonatype.nexus.proxy.maven.metadata.AbstractMetadataHelper.rebuildChecksum(AbstractMetadataHelper.java:305)	at org.sonatype.nexus.proxy.maven.metadata.AbstractMetadataHelper.processFile(AbstractMetadataHelper.java:109)	at org.sonatype.nexus.proxy.maven.RecreateMavenMetadataWalkerProcessor.processItem(RecreateMavenMetadataWalkerProcessor.java:86)	at org.sonatype.nexus.proxy.walker.DefaultWalker.processItem(DefaultWalker.java:317)	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:232)	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244)	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244)	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:244)	at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:110)	at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRecreateMavenMetadata(AbstractMavenRepository.java:212)	at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.recreateMavenMetadata(AbstractMavenRepository.java:199)	at org.sonatype.nexus.maven.tasks.RebuildMavenMetadataTask.doRun(RebuildMavenMetadataTask.java:68)	at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192)	at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:680)