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
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 | 1 year 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

    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