[ 
https://jira.nuxeo.com/browse/NXP-7023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=97433#comment-97433
 ] 

Stéphane Lacoin commented on NXP-7023:
--------------------------------------

This is related to the unordered way of de-activating components in nuxeo. We 
can protect pubisher service uses after it's de-activation but I think it's 
better to let the root cause being solved.

> Error during server shutdown because NPE of nuxeo-runtime-management 
> desaactivation
> -----------------------------------------------------------------------------------
>
>                 Key: NXP-7023
>                 URL: https://jira.nuxeo.com/browse/NXP-7023
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.4.2-SNAPSHOT
>            Reporter: Thierry Delprat
>            Assignee: Stéphane Lacoin
>             Fix For: 5.4.3
>
>
> 2011-05-28 21:39:08,040 ERROR 
> [org.nuxeo.runtime.model.impl.ComponentInstanceImpl] Failed to deactivate 
> component: service:org.nuxeo.runtime.management.metrics
> java.lang.NullPointerException
>       at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
>       at java.util.regex.Matcher.reset(Matcher.java:291)
>       at java.util.regex.Matcher.<init>(Matcher.java:211)
>       at java.util.regex.Pattern.matcher(Pattern.java:888)
>       at 
> org.nuxeo.runtime.management.ObjectNameFactory.hasAttributeValueAssertion(ObjectNameFactory.java:152)
>       at 
> org.nuxeo.runtime.management.ObjectNameFactory.getQualifiedName(ObjectNameFactory.java:162)
>       at 
> org.nuxeo.runtime.management.ObjectNameFactory.getObjectName(ObjectNameFactory.java:171)
>       at 
> org.nuxeo.runtime.management.ResourcePublisherService$ResourcesRegistry.doUnregisterResource(ResourcePublisherService.java:291)
>       at 
> org.nuxeo.runtime.management.ResourcePublisherService.unregisterResource(ResourcePublisherService.java:318)
>       at 
> org.nuxeo.runtime.management.metrics.MetricRegister.unregisterMXBean(MetricRegister.java:60)
>       at 
> org.nuxeo.runtime.management.metrics.MetricRegister.unregisterMXBean(MetricRegister.java:51)
>       at 
> org.nuxeo.runtime.management.metrics.MetricComponent.doStop(MetricComponent.java:78)
>       at 
> org.nuxeo.runtime.management.metrics.MetricComponent.deactivate(MetricComponent.java:52)
>       at 
> org.nuxeo.runtime.model.impl.ComponentInstanceImpl.deactivate(ComponentInstanceImpl.java:143)
>       at 
> org.nuxeo.runtime.model.impl.RegistrationInfoImpl.deactivate(RegistrationInfoImpl.java:411)
>       at 
> org.nuxeo.runtime.model.impl.RegistrationInfoImpl.unresolve(RegistrationInfoImpl.java:444)
>       at 
> org.nuxeo.runtime.model.impl.RegistrationInfoImpl.unregister(RegistrationInfoImpl.java:290)
>       at 
> org.nuxeo.runtime.model.impl.ComponentManagerImpl._unregister(ComponentManagerImpl.java:295)
>       at 
> org.nuxeo.runtime.model.impl.ComponentManagerImpl.unregister(ComponentManagerImpl.java:249)
>       at 
> org.nuxeo.runtime.model.impl.ComponentManagerImpl.shutdown(ComponentManagerImpl.java:135)
>       at 
> org.nuxeo.runtime.AbstractRuntimeService.stop(AbstractRuntimeService.java:141)
>       at org.nuxeo.runtime.api.Framework.shutdown(Framework.java:108)
>       at 
> org.nuxeo.runtime.osgi.OSGiRuntimeActivator.stop(OSGiRuntimeActivator.java:92)
>       at org.nuxeo.osgi.BundleImpl.shutdown(BundleImpl.java:249)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to