# After setting apt-poxy to offline: Failed to validate facets; 14 failures

**URL:** <https://community.sonatype.com/t/after-setting-apt-poxy-to-offline-failed-to-validate-facets-14-failures/6721>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository\
**Created:** [June 14, 2021, 1:11pm UTC](https://community.sonatype.com/t/after-setting-apt-poxy-to-offline-failed-to-validate-facets-14-failures/6721 "2021-06-14T13:11:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cschlote](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@cschlote](https://community.sonatype.com/u/cschlote)\
**Post date:** [June 14, 2021, 1:11pm UTC](https://community.sonatype.com/t/after-setting-apt-poxy-to-offline-failed-to-validate-facets-14-failures/6721/1 "2021-06-14T13:11:37Z")

</div>

I set an apt-proxy repository to offline. Then I tried to delte the repository, but Nexus starts to report “Failed to validate facets; 14 failures”.

How can I fix the issue and remove the apt-proxy repository?

I’m using the docker installation:  
|version|3.22.1-02|  
|edition|OSS|  
|buildRevision|863ea05ce2444e6d4824dd2a663778dd72575e7c|  
|buildTimestamp|2020-04-15-1522-20759|

---

<div class="post-metadata">

**Author:** ![dsawa](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/dsawa/32/729_2.png) [@dsawa](https://community.sonatype.com/u/dsawa)\
**Post date:** [June 14, 2021, 2:33pm UTC](https://community.sonatype.com/t/after-setting-apt-poxy-to-offline-failed-to-validate-facets-14-failures/6721/2 "2021-06-14T14:33:56Z")

</div>

Hi Carsten, I’m afraid this is not enough information to help you. You need to insepct your `nexus.log` to find out what might be causing it, or share it in the forum so somebody might spot the issue and help you.

---

<div class="post-metadata">

**Author:** ![cschlote](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@cschlote](https://community.sonatype.com/u/cschlote)\
**Post date:** [June 15, 2021, 7:51am UTC](https://community.sonatype.com/t/after-setting-apt-poxy-to-offline-failed-to-validate-facets-14-failures/6721/3 "2021-06-15T07:51:37Z")

</div>

2021-06-15 07:50:02,878+0000 ERROR [qtp871655122-12079] SchloteCa org.sonatype.nexus.extdirect.internal.ExtDirectExceptionHandler - Failed to invoke action method: coreui\_Repository.coreui\_Repository\_readStatus, java-method: org.sonatype.nexus.coreui.RepositoryComponent.readStatus  
org.sonatype.nexus.common.stateguard.InvalidStateException: Invalid state: DELETED; allowed: [STARTED]  
at org.sonatype.nexus.common.stateguard.StateGuard.\_ensure(StateGuard.java:115)  
at org.sonatype.nexus.common.stateguard.StateGuard.access$1(StateGuard.java:108)  
at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:271)  
at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)  
at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)  
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)  
at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:76)  
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:299)  
at org.sonatype.nexus.coreui.RepositoryComponent.buildStatus(RepositoryComponent.groovy:329)  
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)  
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)  
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:352)  
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)  
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:68)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)  
at org.sonatype.nexus.coreui.RepositoryComponent$\_readStatus\_closure10.doCall(RepositoryComponent.groovy:317)  
at sun.reflect.GeneratedMethodAccessor569.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)  
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)  
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)  
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)  
at groovy.lang.Closure.call(Closure.java:420)  
at groovy.lang.Closure.call(Closure.java:436)  
at org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(DefaultGroovyMethods.java:3287)  
at org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(DefaultGroovyMethods.java:3257)  
at org.codehaus.groovy.runtime.dgm$67.invoke(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)  
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)  
at org.sonatype.nexus.coreui.RepositoryComponent.readStatus(RepositoryComponent.groovy:317)  
at com.palominolabs.metrics.guice.ExceptionMeteredInterceptor.invoke(ExceptionMeteredInterceptor.java:23)  
at com.palominolabs.metrics.guice.TimedInterceptor.invoke(TimedInterceptor.java:26)  
at org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49)  
at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)  
at org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36)  
at sun.reflect.GeneratedMethodAccessor593.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeJavaMethod(DispatcherBase.java:142)  
at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeMethod(DispatcherBase.java:133)  
at org.sonatype.nexus.extdirect.internal.ExtDirectDispatcher.invokeMethod(ExtDirectDispatcher.java:82)  
at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.dispatch(DispatcherBase.java:63)  
at com.softwarementors.extjs.djn.router.processor.poll.PollRequestProcessor.process(PollRequestProcessor.java:145)  
at org.sonatype.nexus.extdirect.internal.ExtDirectServlet$3.processPollRequest(ExtDirectServlet.java:262)  
at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.processRequest(DirectJNgineServlet.java:636)  
at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.doPost(DirectJNgineServlet.java:595)  
at org.sonatype.nexus.extdirect.internal.ExtDirectServlet.doPost(ExtDirectServlet.java:137)  
at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.doGet(DirectJNgineServlet.java:568)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)  
at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)  
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)  
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)  
at com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.java:71)  
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.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:387)  
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.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:114)  
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)  
at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:112)  
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)  
at org.sonatype.nexus.internal.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:79)  
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 org.sonatype.nexus.internal.web.HeaderPatternFilter.doFilter(HeaderPatternFilter.java:98)  
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.doFilter(GuiceFilter.java:135)  
at org.sonatype.nexus.bootstrap.osgi.DelegatingFilter.doFilter(DelegatingFilter.java:73)  
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)  
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)  
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)  
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)  
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)  
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)  
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)  
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)  
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)  
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)  
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)  
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)  
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)  
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)  
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)  
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)  
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:239)  
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:152)  
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)  
at org.eclipse.jetty.server.Server.handle(Server.java:505)  
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)  
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)  
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)  
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)  
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)  
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)  
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)  
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)  
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)  
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)  
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)  
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)  
at java.lang.Thread.run(Thread.java:748)

---

<div class="post-metadata">

**Author:** ![dsawa](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/dsawa/32/729_2.png) [@dsawa](https://community.sonatype.com/u/dsawa)\
**Post date:** [June 15, 2021, 8:09am UTC](https://community.sonatype.com/t/after-setting-apt-poxy-to-offline-failed-to-validate-facets-14-failures/6721/4 "2021-06-15T08:09:20Z")

</div>

The log line you pasted is just a symptom, but I suspect there have been some errors logged between your instance boot time and the action that lead to the error you shared that may explain what happened.

---

<div class="post-metadata">

**Author:** ![cschlote](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@cschlote](https://community.sonatype.com/u/cschlote)\
**Post date:** [June 21, 2021, 9:05am UTC](https://community.sonatype.com/t/after-setting-apt-poxy-to-offline-failed-to-validate-facets-14-failures/6721/5 "2021-06-21T09:05:32Z")

</div>

After saving the DB backups to some other machine, I updated the docker image to the latest 3.31.0 and restartet the installation.

After startup of the container I executed ‘docker logs’. I spotted some ‘upgrade’ messages and the webfrontend showed some setup assistent to enable anonymous usage stats.

Actually the previous problem seems to be gone. I’m currently checking, if things are running without problems.
