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

Warning and Exception with PictureBook when shutting down the server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.7.2
    • Fix Version/s: None
    • Component/s: Image Management
    • Environment:
      5.7.2 install on Mac, regular fasttrack-apt-get on Linux

      Description

      Standard install with DM/DAM, nothing else

      When quitting the server, the log complains about PictureBook.

      Note: a single start/stop does not display this problem. I think you need to create a Picture (maybe any other type of document)

      Don't know which component. It could be "core", but I used "Image Management" because I see "picture" in the log

      2013-08-28 13:03:06,996 INFO  [main] [org.apache.catalina.core.StandardServer] A valid shutdown command was received via the shutdown port. Stopping the Server instance.
      2013-08-28 13:03:06,997 INFO  [main] [org.apache.coyote.http11.Http11Protocol] Pausing ProtocolHandler ["http-bio-0.0.0.0-8080"]
      2013-08-28 13:03:07,048 INFO  [main] [org.apache.coyote.ajp.AjpProtocol] Pausing ProtocolHandler ["ajp-bio-0.0.0.0-8009"]
      2013-08-28 13:03:07,100 INFO  [main] [org.apache.catalina.core.StandardService] Stopping service Catalina
      2013-08-28 13:03:07,183 INFO  [localhost-startStop-2] [org.quartz.core.QuartzScheduler] Scheduler Quartz_$_NON_CLUSTERED shutting down.
      2013-08-28 13:03:07,183 INFO  [localhost-startStop-2] [org.quartz.core.QuartzScheduler] Scheduler Quartz_$_NON_CLUSTERED paused.
      2013-08-28 13:03:07,184 INFO  [localhost-startStop-2] [org.quartz.core.QuartzScheduler] Scheduler Quartz_$_NON_CLUSTERED shutdown complete.
      2013-08-28 13:03:07,201 WARN  [localhost-startStop-2] [org.jboss.seam.Component] Exception calling component @Destroy method: pictureBookManager
      java.lang.RuntimeException: exception invoking: getTypeManager
      	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:148)
      	at org.jboss.seam.Component.callComponentMethod(Component.java:2201)
      	at org.jboss.seam.Component.unwrap(Component.java:2227)
      	at org.jboss.seam.Component.getInstance(Component.java:1994)
      	at org.jboss.seam.Component.getInstance(Component.java:1940)
      	at org.jboss.seam.Component.getInstance(Component.java:1934)
      	at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2301)
      	at org.jboss.seam.Component.getValueToInject(Component.java:2253)
      	at org.jboss.seam.Component.injectAttributes(Component.java:1693)
      	at org.jboss.seam.Component.inject(Component.java:1511)
      	at org.nuxeo.ecm.platform.ui.web.util.NuxeoBijectionInterceptor.aroundInvoke(NuxeoBijectionInterceptor.java:55)
      	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      	at org.nuxeo.ecm.platform.ui.web.util.NuxeoExceptionInterceptor.aroundInvoke(NuxeoExceptionInterceptor.java:79)
      	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
      	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
      	at org.nuxeo.ecm.platform.picture.web.PictureBookManagerBean_$$_javassist_20.destroy(PictureBookManagerBean_$$_javassist_20.java)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:138)
      	at org.jboss.seam.Component.callComponentMethod(Component.java:2201)
      	at org.jboss.seam.Component.callDestroyMethod(Component.java:2132)
      	at org.jboss.seam.Component.destroy(Component.java:1426)
      	at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251)
      	at org.jboss.seam.contexts.Contexts.destroyConversationContext(Contexts.java:413)
      	at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:240)
      	at org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:146)
      	at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:49)
      	at org.apache.catalina.session.StandardSession.expire(StandardSession.java:806)
      	at org.apache.catalina.session.StandardSession.expire(StandardSession.java:742)
      	at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:530)
      	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5622)
      	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      	at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
      	at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:722)
      Caused by: org.nuxeo.ecm.core.api.ClientException: Error connecting to TypeManager. null
      	at org.nuxeo.ecm.webapp.delegate.TypeManagerBusinessDelegate.getTypeManager(TypeManagerBusinessDelegate.java:73)
      	at sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      	at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
      	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      	at org.nuxeo.ecm.platform.ui.web.util.NuxeoExceptionInterceptor.aroundInvoke(NuxeoExceptionInterceptor.java:79)
      	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
      	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
      	at org.nuxeo.ecm.webapp.delegate.TypeManagerBusinessDelegate_$$_javassist_24.getTypeManager(TypeManagerBusinessDelegate_$$_javassist_24.java)
      	at sun.reflect.GeneratedMethodAccessor241.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:138)
      	... 46 more
      Caused by: java.lang.NullPointerException
      	at org.nuxeo.runtime.api.Framework.getLocalService(Framework.java:231)
      	at org.nuxeo.runtime.api.ServiceManager.getService(ServiceManager.java:127)
      	at org.nuxeo.runtime.api.Framework.getService(Framework.java:211)
      	at org.nuxeo.ecm.webapp.delegate.TypeManagerBusinessDelegate.getTypeManager(TypeManagerBusinessDelegate.java:68)
      	... 67 more
      2013-08-28 13:03:07,227 INFO  [main] [org.apache.coyote.http11.Http11Protocol] Stopping ProtocolHandler ["http-bio-0.0.0.0-8080"]
      2013-08-28 13:03:07,227 INFO  [main] [org.apache.coyote.ajp.AjpProtocol] Stopping ProtocolHandler ["ajp-bio-0.0.0.0-8009"]
      2013-08-28 13:03:07,228 INFO  [main] [org.apache.coyote.http11.Http11Protocol] Destroying ProtocolHandler ["http-bio-0.0.0.0-8080"]
      2013-08-28 13:03:07,230 INFO  [main] [org.apache.coyote.ajp.AjpProtocol] Destroying ProtocolHandler ["ajp-bio-0.0.0.0-8009"]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: