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

Samebug tips

  1. ,
    Expert tip

    Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.

Solutions on the web

via Sonatype JIRA by Joe Tom, 1 year ago
via Atlassian JIRA by Joao Palharini, 1 year ago
via Atlassian JIRA by Joao Palharini [Atlassian], 1 year ago
via Kuali JIRA by Mindi Balmer, 2 years ago
via Kuali JIRA by Mindi Balmer, 1 year ago
via Sonatype JIRA by Steven Van Ophem, 3 months ago
java.lang.NullPointerException: null	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)	at org.sonatype.nexus.repository.storage.StorageTxImpl.attachBlob(StorageTxImpl.java:489)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.sonatype.nexus.common.stateguard.SimpleMethodInvocation.proceed(SimpleMethodInvocation.java:53)	at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)	at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:267)	at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)	at org.sonatype.nexus.common.stateguard.StateGuardAspect$1.invoke(StateGuardAspect.java:59)	at com.sun.proxy.$Proxy154.attachBlob(Unknown Source)	at com.sonatype.nexus.repository.npm.internal.NpmHostedFacetImpl.putTarball(NpmHostedFacetImpl.java:158)	at com.sonatype.nexus.repository.npm.internal.NpmHostedFacetImpl.putPackageRoot(NpmHostedFacetImpl.java:119)	at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:54)	at org.sonatype.nexus.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:45)	at com.sonatype.nexus.repository.npm.internal.NpmHostedFacetImpl.putPackage(NpmHostedFacetImpl.java:86)	at com.sonatype.nexus.repository.npm.internal.NpmHostedFacet$putPackage$0.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)	at com.sonatype.nexus.repository.npm.internal.NpmHandlers$_closure3.doCall(NpmHandlers.groovy:123)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.Closure.call(Closure.java:426)	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:53)	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:105)	at com.sun.proxy.$Proxy120.handle(Unknown Source)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.ContentHeadersHandler.handle(ContentHeadersHandler.java:44)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.Context$proceed.call(Unknown Source)	at com.sonatype.nexus.repository.npm.internal.NpmHandlers$_closure1.doCall(NpmHandlers.groovy:89)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)	at groovy.lang.Closure.call(Closure.java:426)	at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:53)	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:105)	at com.sun.proxy.$Proxy120.handle(Unknown Source)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.ConditionalRequestHandler.handle(ConditionalRequestHandler.java:72)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)	at org.sonatype.nexus.repository.view.Context.start(Context.java:102)	at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)	at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198)	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160)	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)	at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)	at com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.java:70)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)	at org.sonatype.nexus.security.SecurityFilter.executeChain(SecurityFilter.java:85)	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)	at org.sonatype.nexus.security.SecurityFilter.doFilterInternal(SecurityFilter.java:101)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.internal.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:63)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.internal.web.EnvironmentFilter.doFilter(EnvironmentFilter.java:101)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.DynamicFilterPipeline.dispatch(DynamicFilterPipeline.java:104)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)	at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)	at org.sonatype.nexus.bootstrap.osgi.DelegatingFilter.doFilter(DelegatingFilter.java:73)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1156)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1088)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:175)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)	at org.eclipse.jetty.server.Server.handle(Server.java:517)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)	at java.lang.Thread.run(Thread.java:745)