com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 12:37:10,235 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:129)

Liferay Issues | Kiyoshi Lee | 5 years ago
  1. 0

    When a user shutsdown JBoss after deploying the Social Networking portlet and logging in, the console throws an exception. Note: It may be necessary to wait a few minutes after logging in before shutting down for the error to appear. Immediate shut down after deploying the portlet does not throw the error. Steps to reproduce # Deploy Social Networking Portlet # Log-in # Shutdown application server # Console throws the following error {code} 12:37:10,192 INFO [org.jboss.as.logging] Restored bootstrap log handlers 12:37:10,193 WARN [org.jboss.remoting.remote] JBREM00205: Failed to accept a connection: java.nio.channels.ClosedChannelException 12:37:10,225 INFO [stdout] 12:37:10,205 INFO [HookHotDeployListener:1072] Hook for social-networking-portlet was unregistered 12:37:10,225 INFO [org.jboss.as.server.deployment] Stopped deployment tunnel-web.war in 96ms 12:37:10,226 INFO [stdout] 12:37:10,226 INFO [PortletHotDeployListener:464] Unregistering portlets for social-networking-portlet 12:37:10,234 INFO [stdout] 12:37:10,232 ERROR [HotDeployUtil:205] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 12:37:10,235 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:129) 12:37:10,236 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeployUtil.java:202) 12:37:10,236 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:44) 12:37:10,236 INFO [stdout] at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalDestroy(PortletContextListener.java:60) 12:37:10,237 INFO [stdout] at com.liferay.portal.kernel.util.BasePortalLifecycle.portalDestroy(BasePortalLifecycle.java:30) 12:37:10,237 INFO [stdout] at com.liferay.portal.kernel.servlet.PortletContextListener.contextDestroyed(PortletContextListener.java:45) 12:37:10,238 INFO [stdout] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3465) 12:37:10,241 INFO [stdout] at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3970) 12:37:10,241 INFO [stdout] at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:86) 12:37:10,242 INFO [stdout] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1869) 12:37:10,243 INFO [stdout] at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) 12:37:10,244 INFO [stdout] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 12:37:10,245 INFO [stdout] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 12:37:10,246 INFO [stdout] at java.lang.Thread.run(Thread.java:662) 12:37:10,247 INFO [stdout] Caused by: java.lang.NullPointerException 12:37:10,248 INFO [stdout] at com.liferay.portal.model.impl.PortletImpl.getSocialActivityInterpreterInstance(PortletImpl.java:938) 12:37:10,249 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.destroyPortlet(PortletHotDeployListener.java:175) 12:37:10,250 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeUndeploy(PortletHotDeployListener.java:473) 12:37:10,251 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:126) 12:37:10,252 INFO [stdout] ... 13 more 12:37:10,285 INFO [org.jboss.as.server.deployment] Stopped deployment social-networking-portlet.war in 156ms 12:37:11,314 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] Closing Spring root WebApplicationContext 12:37:11,343 INFO [com.liferay.portal.kernel.messaging.BaseAsyncDestination] The following 0 tasks were not executed due to shutown: [] 12:37:11,344 INFO [com.liferay.portal.kernel.messaging.BaseAsyncDestination] The following 0 tasks were not executed due to shutown: [] 12:37:11,382 INFO [com.liferay.portal.osgi.BundleListener] [STOPPED] org.eclipse.osgi 12:37:11,402 WARNING [com.liferay.portal.kernel.cluster.ClusterExecutorUtil] ClusterExecutorUtil has not been initialized 12:37:11,522 INFO [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying TransactionManagerService 12:37:11,525 INFO [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery manager 12:37:11,720 INFO [org.jboss.as.server.deployment] Stopped deployment ROOT.war in 1590ms 12:37:11,721 INFO [org.jboss.as] JBoss AS 7.0.1.Final "Zap" stopped in 1550ms Terminate batch job (Y/N)? y D:\projects\trunk\bundles\jboss-7.0.1\bin> {code}

    Liferay Issues | 5 years ago | Kiyoshi Lee
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 12:37:10,235 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:129)
  2. 0

    When a user shutsdown JBoss after deploying the Social Networking portlet and logging in, the console throws an exception. Note: It may be necessary to wait a few minutes after logging in before shutting down for the error to appear. Immediate shut down after deploying the portlet does not throw the error. Steps to reproduce # Deploy Social Networking Portlet # Log-in # Shutdown application server # Console throws the following error {code} 12:37:10,192 INFO [org.jboss.as.logging] Restored bootstrap log handlers 12:37:10,193 WARN [org.jboss.remoting.remote] JBREM00205: Failed to accept a connection: java.nio.channels.ClosedChannelException 12:37:10,225 INFO [stdout] 12:37:10,205 INFO [HookHotDeployListener:1072] Hook for social-networking-portlet was unregistered 12:37:10,225 INFO [org.jboss.as.server.deployment] Stopped deployment tunnel-web.war in 96ms 12:37:10,226 INFO [stdout] 12:37:10,226 INFO [PortletHotDeployListener:464] Unregistering portlets for social-networking-portlet 12:37:10,234 INFO [stdout] 12:37:10,232 ERROR [HotDeployUtil:205] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 12:37:10,235 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:129) 12:37:10,236 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeployUtil.java:202) 12:37:10,236 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:44) 12:37:10,236 INFO [stdout] at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalDestroy(PortletContextListener.java:60) 12:37:10,237 INFO [stdout] at com.liferay.portal.kernel.util.BasePortalLifecycle.portalDestroy(BasePortalLifecycle.java:30) 12:37:10,237 INFO [stdout] at com.liferay.portal.kernel.servlet.PortletContextListener.contextDestroyed(PortletContextListener.java:45) 12:37:10,238 INFO [stdout] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3465) 12:37:10,241 INFO [stdout] at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3970) 12:37:10,241 INFO [stdout] at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:86) 12:37:10,242 INFO [stdout] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1869) 12:37:10,243 INFO [stdout] at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) 12:37:10,244 INFO [stdout] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 12:37:10,245 INFO [stdout] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 12:37:10,246 INFO [stdout] at java.lang.Thread.run(Thread.java:662) 12:37:10,247 INFO [stdout] Caused by: java.lang.NullPointerException 12:37:10,248 INFO [stdout] at com.liferay.portal.model.impl.PortletImpl.getSocialActivityInterpreterInstance(PortletImpl.java:938) 12:37:10,249 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.destroyPortlet(PortletHotDeployListener.java:175) 12:37:10,250 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeUndeploy(PortletHotDeployListener.java:473) 12:37:10,251 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:126) 12:37:10,252 INFO [stdout] ... 13 more 12:37:10,285 INFO [org.jboss.as.server.deployment] Stopped deployment social-networking-portlet.war in 156ms 12:37:11,314 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] Closing Spring root WebApplicationContext 12:37:11,343 INFO [com.liferay.portal.kernel.messaging.BaseAsyncDestination] The following 0 tasks were not executed due to shutown: [] 12:37:11,344 INFO [com.liferay.portal.kernel.messaging.BaseAsyncDestination] The following 0 tasks were not executed due to shutown: [] 12:37:11,382 INFO [com.liferay.portal.osgi.BundleListener] [STOPPED] org.eclipse.osgi 12:37:11,402 WARNING [com.liferay.portal.kernel.cluster.ClusterExecutorUtil] ClusterExecutorUtil has not been initialized 12:37:11,522 INFO [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying TransactionManagerService 12:37:11,525 INFO [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery manager 12:37:11,720 INFO [org.jboss.as.server.deployment] Stopped deployment ROOT.war in 1590ms 12:37:11,721 INFO [org.jboss.as] JBoss AS 7.0.1.Final "Zap" stopped in 1550ms Terminate batch job (Y/N)? y D:\projects\trunk\bundles\jboss-7.0.1\bin> {code}

    Liferay Issues | 5 years ago | Kiyoshi Lee
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 12:37:10,235 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:129)
  3. 0

    [LPS-22551] JBoss shutdown throws exception after deploying Social Networking - Liferay Issues

    liferay.com | 11 months ago
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets social-networking-portlet 12:37:10,235 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 12:37:10,235 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:129)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reproduce: # Start the app server # Deploy AT 1.1.3 RC2 # Shut down the app server # Assert the console error: {code} 19:30:51,629 INFO [stdout] 19:30:51,629 ERROR [MSC service thread 1-1][HotDeployImpl:114] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for portal-6-2-x-compat -hookportal-6-2-x-compat-hook 19:30:51,629 INFO [stdout] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for portal-6-2-x-compat-hookportal-6-2-x-compat-hook 19:30:51,629 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 19:30:51,629 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:144) 19:30:51,645 INFO [stdout] at com.liferay.portal.deploy.hot.HotDeployImpl.fireUndeployEvent(HotDeployImpl.java:111) 19:30:51,645 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:32) 19:30:51,645 INFO [stdout] at com.liferay.portal.kernel.servlet.PluginContextListener.fireUndeployEvent(PluginContextListener.java:169) 19:30:51,645 INFO [stdout] at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalDestroy(PluginContextListener.java:132) 19:30:51,645 INFO [stdout] at com.liferay.portal.kernel.util.BasePortalLifecycle.portalDestroy(BasePortalLifecycle.java:31) 19:30:51,645 INFO [stdout] at com.liferay.portal.kernel.servlet.PluginContextListener.contextDestroyed(PluginContextListener.java:97) 19:30:51,645 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment analytics-hook.war in 288ms 19:30:51,645 INFO [stdout] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) 19:30:51,645 INFO [stdout] at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) 19:30:51,660 INFO [stdout] at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:108) 19:30:51,660 INFO [stdout] at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) 19:30:51,660 INFO [stdout] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) 19:30:51,660 INFO [stdout] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 19:30:51,660 INFO [stdout] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 19:30:51,660 INFO [stdout] at java.lang.Thread.run(Thread.java:745) 19:30:51,660 INFO [stdout] Caused by: java.lang.NullPointerException 19:30:51,660 INFO [stdout] at com.liferay.portal.model.impl.PortletImpl.getAssetRendererFactoryInstances(PortletImpl.java:652) 19:30:51,675 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.destroyPortlet(PortletHotDeployListener.java:284) 19:30:51,675 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeUndeploy(PortletHotDeployListener.java:529) 19:30:51,675 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:141) 19:30:51,675 INFO [stdout] ... 14 more {code}

    Liferay Issues | 9 months ago | Evan Nagayama
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering portlets for portal-6-2-x-compat-hookportal-6-2-x-compat-hook 19:30:51,629 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 19:30:51,629 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:144)
  6. 0

    Regarding cache not alive issue - Forums | Liferay

    liferay.com | 1 year ago
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error unregistering plugins for StoreFrontManager-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeUndeploy(PluginPackageHotDeployListener.java:63) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeployUtil.java:202) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:44) at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalDestroy(PortletContextListener.java:60) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalDestroy(BasePortalLifecycle.java:30) at com.liferay.portal.kernel.servlet.PortletContextListener.contextDestroyed(PortletContextListener.java:45) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3949) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1175) at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4705)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.liferay.portal.kernel.deploy.hot.HotDeployException

      Error unregistering portlets for social-networking-portlet 12:37:10,235 INFO [stdout] at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46) 12:37:10,235 INFO [stdout] at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeUndeploy(PortletHotDeployListener.java:129)

      at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent()
    2. Liferay Portal Service
      PortletContextListener.doPortalDestroy
      1. com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeployUtil.java:202)
      2. com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:44)
      3. com.liferay.portal.kernel.servlet.PortletContextListener.doPortalDestroy(PortletContextListener.java:60)
      3 frames