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. ,

    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

  2. ,

    checkState() is Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met). This occurs when the precondition does not met.

Solutions on the web

via Sonatype JIRA by Joe Tom, 1 year ago
Missing: {attributes::nuget} version_download_count
via Sonatype JIRA by Rich Seddon, 5 months ago
via opendaylight.org by Unknown author, 2 years ago
There are inconsistencies between configuration subsystem and yangstore in terms of discovered yang modules, yang modules missing from config subsystem but present in yangstore: [(urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup
java.lang.IllegalStateException: Missing: {attributes::nuget} version_download_count	at com.google.common.base.Preconditions.checkState(Preconditions.java:173)	at org.sonatype.nexus.common.collect.AttributesMap.require(AttributesMap.java:190)	at org.sonatype.nexus.common.collect.AttributesMap.require(AttributesMap.java:208)	at org.sonatype.nexus.common.collect.AttributesMap.require(AttributesMap.java:217)	at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.maintainAggregateInfo(NugetGalleryFacetImpl.java:521)	at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.maintainAggregateInfo(NugetGalleryFacetImpl.java:502)	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.nuget.internal.NugetGalleryFacetImpl.put(NugetGalleryFacetImpl.java:334)	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 com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.storePayload(NugetPushHandler.java:76)	at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.push(NugetPushHandler.java:63)	at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.handle(NugetPushHandler.java:45)	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.ExceptionHandler.handle(ExceptionHandler.java:41)	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)