Fórum

PortalContextLoaderListener: java.lang.NullPointerException

thumbnail
Vishnu Mohan, modificado 9 Anos atrás.

PortalContextLoaderListener: java.lang.NullPointerException

New Member Postagens: 19 Data de Entrada: 14/10/14 Postagens Recentes
Hi,
I am using Liferay 6.2 ce-ga2 ,tomcat 7.0.42 and i integrated vaadin 7.1.15 with the liferay using vaadin dependency jars, vaadin control panel etc... But when deploying portlet application in tomcat deploy folder, the deployment is not performing and it results in some exceptions.

SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
java.lang.RuntimeException: java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:221)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
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:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
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:745)
==================================================================================================================

01:57:11,097 ERROR [localhost-startStop-1][PortalContextLoaderListener:94] java.lang.NullPointerException
java.lang.NullPointerException
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:45)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:130)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
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:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
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:745)
========================================================================================================

Help me to solve this. Thanks in advance.
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: PortalContextLoaderListener: java.lang.NullPointerException

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Does your vaadin portlet leverage OSGi?
thumbnail
Vishnu Mohan, modificado 9 Anos atrás.

RE: PortalContextLoaderListener: java.lang.NullPointerException

New Member Postagens: 19 Data de Entrada: 14/10/14 Postagens Recentes
What does this means?? I dont know about that.
When starting the tomcat server, It is also showing like this.

"Queueing your-portlet for deploy because it is missing marketplace-portlet".

"Group or layout set prototype already exists for company liferay.com".