Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7023

Error during server shutdown because NPE of nuxeo-runtime-management desaactivation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2-SNAPSHOT
    • Fix Version/s: 5.4.2-HF17, 5.7.1
    • Component/s: Runtime

      Description

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: