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

The ThemeManager in Nuxeo throw a java.lang.NullPointerException while shutting down.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 5.6.0-HF05
    • Fix Version/s: None
    • Component/s: Themes (deprecated)

      Description

      2013-07-19 14:48:48,850 ERROR main {} [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Failed to unregister extension. Contributor: RegistrationInfo: service:org.nuxeo.ecm.user.center.theme to service:org.nuxeo.theme.styling.service; xpoint: pages
      java.lang.NullPointerException
      at org.nuxeo.theme.themes.ThemeManager.registerTheme(ThemeManager.java:1070)
      at org.nuxeo.theme.themes.ThemeParser.loadTheme(ThemeParser.java:284)
      at org.nuxeo.theme.themes.ThemeParser.registerThemeFromInputStream(ThemeParser.java:174)
      at org.nuxeo.theme.themes.ThemeParser.registerTheme(ThemeParser.java:109)
      at org.nuxeo.theme.themes.ThemeParser.registerTheme(ThemeParser.java:81)
      at org.nuxeo.theme.themes.ThemeManager.loadTheme(ThemeManager.java:1118)
      at org.nuxeo.theme.styling.service.ThemeStylingServiceImpl.unRegisterThemePageResources(ThemeStylingServiceImpl.java:551)
      at org.nuxeo.theme.styling.service.ThemeStylingServiceImpl.unRegisterThemePageResources(ThemeStylingServiceImpl.java:537)
      at org.nuxeo.theme.styling.service.ThemeStylingServiceImpl.unregisterContribution(ThemeStylingServiceImpl.java:166)
      at org.nuxeo.runtime.model.DefaultComponent.unregisterExtension(DefaultComponent.java:60)
      at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.unregisterExtension(ComponentInstanceImpl.java:224)
      at org.nuxeo.runtime.model.impl.ComponentManagerImpl.unregisterExtension(ComponentManagerImpl.java:307)
      at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.deactivate(RegistrationInfoImpl.java:417)
      at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.unresolve(RegistrationInfoImpl.java:462)
      at org.nuxeo.runtime.model.impl.ComponentRegistry.unresolveComponent(ComponentRegistry.java:212)
      at org.nuxeo.runtime.model.impl.ComponentRegistry.removeComponent(ComponentRegistry.java:141)
      at org.nuxeo.runtime.model.impl.ComponentManagerImpl.unregister(ComponentManagerImpl.java:191)
      at org.nuxeo.runtime.model.impl.ShutdownTask.shutdown(ShutdownTask.java:62)
      at org.nuxeo.runtime.model.impl.ShutdownTask.shutdown(ShutdownTask.java:57)
      at org.nuxeo.runtime.model.impl.ShutdownTask.shutdown(ShutdownTask.java:35)
      at org.nuxeo.runtime.model.impl.ComponentManagerImpl.shutdown(ComponentManagerImpl.java:110)
      at org.nuxeo.runtime.AbstractRuntimeService.stop(AbstractRuntimeService.java:148)
      at org.nuxeo.runtime.api.Framework.shutdown(Framework.java:176)
      at org.nuxeo.runtime.osgi.OSGiRuntimeActivator.stop(OSGiRuntimeActivator.java:92)
      at org.nuxeo.osgi.BundleImpl.shutdown(BundleImpl.java:328)
      at org.nuxeo.osgi.BundleRegistry.shutdown(BundleRegistry.java:211)
      at org.nuxeo.osgi.OSGiAdapter.shutdown(OSGiAdapter.java:158)
      at org.nuxeo.osgi.application.loader.FrameworkLoader.doStop(FrameworkLoader.java:227)
      at org.nuxeo.osgi.application.loader.FrameworkLoader.stop(FrameworkLoader.java:126)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.nuxeo.osgi.application.FrameworkBootstrap.stop(FrameworkBootstrap.java:145)
      at org.nuxeo.runtime.tomcat.NuxeoLauncher.handleEvent(NuxeoLauncher.java:132)
      at org.nuxeo.runtime.tomcat.NuxeoLauncher.lifecycleEvent(NuxeoLauncher.java:89)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4895)
      at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:936)
      at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1359)
      at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1330)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:326)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
      at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110)
      at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)
      at org.apache.catalina.core.StandardService.stop(StandardService.java:604)
      at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
      at org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: