Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
juju bou
Portlet portletId has a null portlet bag
8 giugno 2011 6.47
Risposta

juju bou

Punteggio: Junior Member

Messaggi: 44

Data di Iscrizione: 11 febbraio 2010

Messaggi recenti

Hello,

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

 113:35:02,217 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for synergie-portlet
 2com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for synergie-portlet
 3    at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45)
 4    at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:104)
 5    at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109)
 6    at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182)
 7    at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38)
 8    at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99)
 9    at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
10    at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52)
11    at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
12    at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55)
13    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
14    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
15    at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1244)
16    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
17    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
18    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
19    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
20    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
21    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
22    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
23    at java.lang.Thread.run(Thread.java:679)
24Caused by: java.lang.reflect.InvocationTargetException
25    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
26    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
27    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
28    at java.lang.reflect.Method.invoke(Method.java:616)
29    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:81)
30    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:75)
31    at com.liferay.portlet.PortletBagFactory.getPluginPropertyValue(PortletBagFactory.java:324)
32    at com.liferay.portlet.PortletBagFactory.initScheduler(PortletBagFactory.java:356)
33    at com.liferay.portlet.PortletBagFactory.initSchedulers(PortletBagFactory.java:391)
34    at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:132)
35    at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:456)
36    at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:253)
37    at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:101)
38    ... 19 more
39Caused by: java.lang.NullPointerException
40    at com.liferay.util.portlet.PortletProps.get(PortletProps.java:37)
41    ... 32 more
4213:35:02,231 ERROR [PortletContextFactory:75] Portlet synergie_WAR_synergieportlet has a null portlet bag
4313:35:02,231 ERROR [BasePortalLifecycle:45] java.lang.NullPointerException
44java.lang.NullPointerException
45    at com.liferay.portlet.PortletContextFactory._create(PortletContextFactory.java:82)
46    at com.liferay.portlet.PortletContextFactory.create(PortletContextFactory.java:41)
47    at com.liferay.portlet.PortletConfigFactoryImpl.create(PortletConfigFactoryImpl.java:52)
48    at com.liferay.portlet.PortletConfigFactoryUtil.create(PortletConfigFactoryUtil.java:31)
49    at com.liferay.portal.servlet.filters.language.LanguageFilter.init(LanguageFilter.java:70)
50    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doPortalInit(PortalClassLoaderFilter.java:95)
51    at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
52    at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52)
53    at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)
54    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.init(PortalClassLoaderFilter.java:63)
55    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
56    at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
57    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
58    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
59    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
60    at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1244)
61    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
62    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
63    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
64    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
65    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
66    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
67    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
68    at java.lang.Thread.run(Thread.java:679)



Is this familiar to anyone ?
Im running Liferay 6.0.6 on a tomcat server.
juju bou
RE: Portlet portletId has a null portlet bag
15 giugno 2011 9.01
Risposta

juju bou

Punteggio: Junior Member

Messaggi: 44

Data di Iscrizione: 11 febbraio 2010

Messaggi recenti

nobody?
Zeeshan Khan
RE: Portlet portletId has a null portlet bag
14 febbraio 2013 1.36
Risposta

Zeeshan Khan

Punteggio: Expert

Messaggi: 349

Data di Iscrizione: 20 luglio 2011

Messaggi recenti

hi !

did you get the solution......?? I am also facing the same problem...... emoticon
Juan Gonzalez
RE: Portlet portletId has a null portlet bag
14 febbraio 2013 1.50
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1984

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

Did you try restarting tomcat?
Jay Trivedi
RE: Portlet portletId has a null portlet bag
14 febbraio 2013 2.12
Risposta

Jay Trivedi

Punteggio: Regular Member

Messaggi: 104

Data di Iscrizione: 23 novembre 2012

Messaggi recenti

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
Zeeshan Khan
RE: Portlet portletId has a null portlet bag
18 febbraio 2013 0.45
Risposta

Zeeshan Khan

Punteggio: Expert

Messaggi: 349

Data di Iscrizione: 20 luglio 2011

Messaggi recenti

thnx guys....its been solved....actually it was version mismatch.......i used plugin sdk 6.0.6 and now its working fine...... emoticon