javax.portlet.PortletException: java.lang.NullPointerException

liferay.com | 3 months ago
  1. 0

    Portlet Errors ยท GitHub

    github.com | 1 year ago
    javax.portlet.PortletException: java.lang.NullPointerException
  2. 0

    chat-portlet from EE4 trunk r 48851/ EE 4.1.1.Beta tag r 48851, cannot be installed on Liferay 6.2-ce-ga5/ Liferay 6.2-ce-ga3. The .war file was built using the /icefaces/lib/portlets/liferayfaces/liferay-faces-*-4.2.5-ga6.jar files from SVN. There are server errors when installing the .war file: INFO: Initializing Spring root WebApplicationContext 18:59:39,681 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for chat-portlet 18:59:39,701 ERROR [localhost-startStop-1][PortletBagFactory:411] java.lang.ClassNotFoundException: org.portletfaces.bri dge.GenericFacesPortlet java.lang.ClassNotFoundException: org.portletfaces.bridge.GenericFacesPortlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at com.liferay.portlet.PortletBagFactory.getPortletInstance(PortletBagFactory.java:408) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:121) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) 18:59:39,712 ERROR [localhost-startStop-1][PortletBagFactory:340] javax.portlet.PortletException: java.lang.NullPointerE xception javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:337) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,740 ERROR [localhost-startStop-1][HotDeployImpl:233] com.liferay.portal.kernel.deploy.hot.HotDeployException: E rror registering portlets for chat-portletchat-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for chat-portletchat-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java :46) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:128) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) Caused by: javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortletApp(PortletHotDeployListener.java:622) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:377) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) ... 25 more Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,791 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying kaleo-web from queue 18:59:39,794 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties May 25, 2016 6:59:40 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties 18:59:43,417 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portal.properties 18:59:43,451 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for kaleo-web is available for use May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\marketplace-por tlet has finished in 13,380 ms May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-portl et May 25, 2016 6:59:46 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:46,380 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin notifications-portlet requires marketplace-portlet 18:59:46,381 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying notifications-portlet from queue 18:59:46,382 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties May 25, 2016 6:59:46 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties 18:59:46,775 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portal.pro perties 18:59:47,039 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for notifications-portlet is available for us e 18:59:47,042 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties 18:59:47,201 INFO [localhost-startStop-1][PortletHotDeployListener:497] 2 portlets for notifications-portlet are availa ble for use May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-p ortlet has finished in 3,436 ms May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\opensocial-portlet May 25, 2016 6:59:54 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:54,605 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin opensocial-portlet requires marketplace-portlet 18:59:54,606 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying opensocial-portlet from queue 18:59:54,607 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for opensocial-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties May 25, 2016 6:59:55 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties

    ICEsoft JIRA Issue Tracker | 7 months ago | Carmen Cristurean
    javax.portlet.PortletException: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    chat-portlet from EE4 trunk r 48851/ EE 4.1.1.Beta tag r 48851, cannot be installed on Liferay 6.2-ce-ga5/ Liferay 6.2-ce-ga3. The .war file was built using the /icefaces/lib/portlets/liferayfaces/liferay-faces-*-4.2.5-ga6.jar files from SVN. There are server errors when installing the .war file: INFO: Initializing Spring root WebApplicationContext 18:59:39,681 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for chat-portlet 18:59:39,701 ERROR [localhost-startStop-1][PortletBagFactory:411] java.lang.ClassNotFoundException: org.portletfaces.bri dge.GenericFacesPortlet java.lang.ClassNotFoundException: org.portletfaces.bridge.GenericFacesPortlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at com.liferay.portlet.PortletBagFactory.getPortletInstance(PortletBagFactory.java:408) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:121) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) 18:59:39,712 ERROR [localhost-startStop-1][PortletBagFactory:340] javax.portlet.PortletException: java.lang.NullPointerE xception javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:337) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,740 ERROR [localhost-startStop-1][HotDeployImpl:233] com.liferay.portal.kernel.deploy.hot.HotDeployException: E rror registering portlets for chat-portletchat-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for chat-portletchat-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java :46) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:128) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:257) at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28) at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164) at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54) at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:744) Caused by: javax.portlet.PortletException: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:63) at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225) at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145) at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41) at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortletApp(PortletHotDeployListener.java:622) at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:377) at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125) ... 25 more Caused by: java.lang.NullPointerException at com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169) at com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56) ... 31 more 18:59:39,791 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying kaleo-web from queue 18:59:39,794 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portlet.properties May 25, 2016 6:59:40 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/service.properties 18:59:43,417 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for kaleo-web Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/2-kaleo-web/WEB-INF/classes/portal.properties 18:59:43,451 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for kaleo-web is available for use May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\marketplace-por tlet has finished in 13,380 ms May 25, 2016 6:59:43 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-portl et May 25, 2016 6:59:46 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:46,380 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin notifications-portlet requires marketplace-portlet 18:59:46,381 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying notifications-portlet from queue 18:59:46,382 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties May 25, 2016 6:59:46 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/service.pr operties 18:59:46,775 INFO [localhost-startStop-1][HookHotDeployListener:709] Registering hook for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portal.pro perties 18:59:47,039 INFO [localhost-startStop-1][HookHotDeployListener:851] Hook for notifications-portlet is available for us e 18:59:47,042 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for notifications-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/4-notifications-portlet/WEB-INF/classes/portlet.pr operties 18:59:47,201 INFO [localhost-startStop-1][PortletHotDeployListener:497] 2 portlets for notifications-portlet are availa ble for use May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\notifications-p ortlet has finished in 3,436 ms May 25, 2016 6:59:47 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\liferay-portal-6.2-ce-ga5\tomcat-7.0.62\webapps\opensocial-portlet May 25, 2016 6:59:54 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete l ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 18:59:54,605 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin opensocial-portlet requires marketplace-portlet 18:59:54,606 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying opensocial-portlet from queue 18:59:54,607 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for opensocial-portlet Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/portlet.properties May 25, 2016 6:59:55 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Loading file:/C:/Servers/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/temp/5-opensocial-portlet/WEB-INF/classes/service.properties

    ICEsoft JIRA Issue Tracker | 7 months ago | Carmen Cristurean
    javax.portlet.PortletException: java.lang.NullPointerException

    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. java.lang.NullPointerException

      No message provided

      at com.liferay.portlet.InvokerPortletImpl.<init>()
    2. Liferay Portal Service
      PortletBagFactory.create
      1. com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:169)
      2. com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:56)
      3. com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:225)
      4. com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:145)
      5. com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:41)
      6. com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:337)
      6 frames
    3. Liferay Portal Impl
      HotDeployImpl.fireDeployEvent
      1. com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:370)
      2. com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:125)
      3. com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:227)
      4. com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
      4 frames
    4. Liferay Portal Service
      PluginContextListener.contextInitialized
      1. com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
      2. com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
      3. com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
      4. com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
      5. com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
      6. com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
      7. com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
      8. com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
      8 frames
    5. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      4. org.apache.catalina.core.StandardContext.reload(StandardContext.java:3954)
      5. org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1270)
      6. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1439)
      7. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:315)
      8. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      9. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      10. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374)
      11. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
      12. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
      13. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
      13 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame