掲示板

Portlet portletId has a null portlet bag

12年前 に juju bou によって更新されました。

Portlet portletId has a null portlet bag

Junior Member 投稿: 44 参加年月日: 10/02/11 最新の投稿
Hello,

I keep getting an error while hot-deploying a portlet :

13:35:02,217 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for synergie-portlet
com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for synergie-portlet
	at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45)
	at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:104)
	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109)
	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182)
	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38)
	at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99)
	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52)
	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
	at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1244)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
	at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.reflect.InvocationTargetException
	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:616)
	at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:81)
	at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:75)
	at com.liferay.portlet.PortletBagFactory.getPluginPropertyValue(PortletBagFactory.java:324)
	at com.liferay.portlet.PortletBagFactory.initScheduler(PortletBagFactory.java:356)
	at com.liferay.portlet.PortletBagFactory.initSchedulers(PortletBagFactory.java:391)
	at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:132)
	at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:456)
	at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:253)
	at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:101)
	... 19 more
Caused by: java.lang.NullPointerException
	at com.liferay.util.portlet.PortletProps.get(PortletProps.java:37)
	... 32 more
13:35:02,231 ERROR [PortletContextFactory:75] Portlet synergie_WAR_synergieportlet has a null portlet bag
13:35:02,231 ERROR [BasePortalLifecycle:45] java.lang.NullPointerException
java.lang.NullPointerException
	at com.liferay.portlet.PortletContextFactory._create(PortletContextFactory.java:82)
	at com.liferay.portlet.PortletContextFactory.create(PortletContextFactory.java:41)
	at com.liferay.portlet.PortletConfigFactoryImpl.create(PortletConfigFactoryImpl.java:52)
	at com.liferay.portlet.PortletConfigFactoryUtil.create(PortletConfigFactoryUtil.java:31)
	at com.liferay.portal.servlet.filters.language.LanguageFilter.init(LanguageFilter.java:70)
	at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doPortalInit(PortalClassLoaderFilter.java:95)
	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52)
	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
	at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.init(PortalClassLoaderFilter.java:63)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1244)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
	at java.lang.Thread.run(Thread.java:679)
</init>



Is this familiar to anyone ?
Im running Liferay 6.0.6 on a tomcat server.
12年前 に juju bou によって更新されました。

RE: Portlet portletId has a null portlet bag

Junior Member 投稿: 44 参加年月日: 10/02/11 最新の投稿
nobody?
thumbnail
11年前 に Zeeshan Khan によって更新されました。

RE: Portlet portletId has a null portlet bag

Expert 投稿: 349 参加年月日: 11/07/21 最新の投稿
hi !

did you get the solution......?? I am also facing the same problem...... emoticon
thumbnail
11年前 に Jay Trivedi によって更新されました。

RE: Portlet portletId has a null portlet bag

Regular Member 投稿: 109 参加年月日: 12/11/24 最新の投稿
Clear Tomcat logs/worl/temp

Go to /liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib

delete that synergey portlet jar file, rebuild/recompile and restart server run app.
If changes doesn't reflect still restart once again. It helped me Lets test it.

Jay emoticon
thumbnail
11年前 に Juan Gonzalez P によって更新されました。

RE: Portlet portletId has a null portlet bag

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Did you try restarting tomcat?
thumbnail
11年前 に Zeeshan Khan によって更新されました。

RE: Portlet portletId has a null portlet bag

Expert 投稿: 349 参加年月日: 11/07/21 最新の投稿
thnx guys....its been solved....actually it was version mismatch.......i used plugin sdk 6.0.6 and now its working fine...... emoticon
thumbnail
8年前 に Syed Nasar によって更新されました。

RE: Portlet portletId has a null portlet bag

Junior Member 投稿: 64 参加年月日: 15/09/03 最新の投稿
Hi I removed my portlet from webapps in liferay's tomcat folder and deployed it. It solved this issue..
thumbnail
8年前 に Mufas Mydeen によって更新されました。

RE: Portlet portletId has a null portlet bag

New Member 投稿: 7 参加年月日: 15/08/12 最新の投稿
Thank You nasar..It helped me lot..
8年前 に saifulla soudagar によって更新されました。

RE: Portlet portletId has a null portlet bag

New Member 投稿: 9 参加年月日: 14/08/04 最新の投稿
Hi friends,

earlier I also faced many times this issue I solved this by following steps

1)checking all configuration xml files of liferay .
2)deleting temp and work folder of tomcat server , restart server
3) also before getting error check recent file changed .