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 Todd Merrill, 1 year ago
via Sonatype JIRA by Todd Merrill, 2 years ago
via Sonatype JIRA by Rich Seddon, 1 year 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.walk(DefaultWalker.java:110)	at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:218)	at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:98)	at org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:439)	at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:91)	at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:30)	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:269)	at java.util.concurrent.FutureTask.run(FutureTask.java:123)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:172)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)	at java.lang.Thread.run(Thread.java:595)