Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
YAO KOUASSI
Error when building social office with liferay-6.1
September 22, 2011 5:05 AM
Answer

YAO KOUASSI

Rank: New Member

Posts: 1

Join Date: September 22, 2011

Recent Posts

I tried building social office with liferay-plugins in the trunk, liferay-ide-1.3.1, liferay-sdk-6.1 and liferay-6.1.

1/ I have error with so-portlet wich not register and so-portlet.xml is still in ../deploy for autodeploy
Trace following :

11:18:01,036 INFO [AutoDeployDir:167] Processing so-portlet.xml
11:18:01,038 INFO [HookExplodedTomcatListener:45] Modifying hook for C:\Users\admin\workspace2\bundles\liferay-social-office_01\deploy\so-portlet.xml
11:18:01,117 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.lang.NullPointerException
com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.lang.NullPointerException
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatDeployer.explodedTomcatDeploy(HookExplodedTomcatDeployer.java:38)
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatListener.deploy(HookExplodedTomcatListener.java:48)
at com.liferay.portal.deploy.auto.exploded.tomcat.BaseExplodedTomcatListener.deploy(BaseExplodedTomcatListener.java:61)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221)
at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:50)
Caused by: java.lang.NullPointerException
at com.liferay.portal.tools.deploy.BaseDeployer.copyProperties(BaseDeployer.java:385)
at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:512)
at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:696)
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatDeployer.explodedTomcatDeploy(HookExplodedTomcatDeployer.java:34)


2/Other plugins needed so-hook registering registered then swich to unregistering.

Trace following :

22 sept. 2011 11:20:25 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration mail-portlet.xml
22 sept. 2011 11:20:25 org.apache.catalina.startup.HostConfig deployDescriptor
ATTENTION: A docBase C:\Users\admin\workspace2\bundles\liferay-social-office_01\tomcat-6.0.29\webapps\mail-portlet inside the host appBase has been specified, and will be ignored
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
11:20:26,847 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
11:20:27,086 INFO [ServiceComponentLocalServiceImpl:192] Upgrading Mail database to build number 4
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
11:20:27,483 INFO [HookHotDeployListener:504] Registering hook for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portal.properties
11:20:27,514 INFO [HookHotDeployListener:941] Hook for mail-portlet is available for use
11:20:27,517 INFO [PortletHotDeployListener:262] Registering portlets for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
11:20:27,762 INFO [PortletHotDeployListener:423] 1 portlet for mail-portlet is available for use
22 sept. 2011 11:22:08 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
22 sept. 2011 11:22:08 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/mail-portlet] suite aux erreurs précédentes
11:22:08,183 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet
11:22:08,258 INFO [HookHotDeployListener:1062] Hook for mail-portlet was unregistered
11:22:08,259 INFO [PortletHotDeployListener:458] Unregistering portlets for mail-portlet
11:22:08,261 INFO [PortletHotDeployListener:490] 1 portlet for mail-portlet was unregistered
11:22:08,263 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet
Juan Gonzalez
RE: Error when building social office with liferay-6.1
December 12, 2011 12:23 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2382

Join Date: October 28, 2008

Recent Posts

YAO KOUASSI:
I tried building social office with liferay-plugins in the trunk, liferay-ide-1.3.1, liferay-sdk-6.1 and liferay-6.1.

1/ I have error with so-portlet wich not register and so-portlet.xml is still in ../deploy for autodeploy
Trace following :

11:18:01,036 INFO [AutoDeployDir:167] Processing so-portlet.xml
11:18:01,038 INFO [HookExplodedTomcatListener:45] Modifying hook for C:\Users\admin\workspace2\bundles\liferay-social-office_01\deploy\so-portlet.xml
11:18:01,117 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.lang.NullPointerException
com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.lang.NullPointerException
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatDeployer.explodedTomcatDeploy(HookExplodedTomcatDeployer.java:38)
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatListener.deploy(HookExplodedTomcatListener.java:48)
at com.liferay.portal.deploy.auto.exploded.tomcat.BaseExplodedTomcatListener.deploy(BaseExplodedTomcatListener.java:61)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221)
at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:50)
Caused by: java.lang.NullPointerException
at com.liferay.portal.tools.deploy.BaseDeployer.copyProperties(BaseDeployer.java:385)
at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:512)
at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:696)
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatDeployer.explodedTomcatDeploy(HookExplodedTomcatDeployer.java:34)


2/Other plugins needed so-hook registering registered then swich to unregistering.

Trace following :

22 sept. 2011 11:20:25 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration mail-portlet.xml
22 sept. 2011 11:20:25 org.apache.catalina.startup.HostConfig deployDescriptor
ATTENTION: A docBase C:\Users\admin\workspace2\bundles\liferay-social-office_01\tomcat-6.0.29\webapps\mail-portlet inside the host appBase has been specified, and will be ignored
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
11:20:26,847 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
11:20:27,086 INFO [ServiceComponentLocalServiceImpl:192] Upgrading Mail database to build number 4
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
11:20:27,483 INFO [HookHotDeployListener:504] Registering hook for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portal.properties
11:20:27,514 INFO [HookHotDeployListener:941] Hook for mail-portlet is available for use
11:20:27,517 INFO [PortletHotDeployListener:262] Registering portlets for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
11:20:27,762 INFO [PortletHotDeployListener:423] 1 portlet for mail-portlet is available for use
22 sept. 2011 11:22:08 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
22 sept. 2011 11:22:08 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/mail-portlet] suite aux erreurs précédentes
11:22:08,183 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet
11:22:08,258 INFO [HookHotDeployListener:1062] Hook for mail-portlet was unregistered
11:22:08,259 INFO [PortletHotDeployListener:458] Unregistering portlets for mail-portlet
11:22:08,261 INFO [PortletHotDeployListener:490] 1 portlet for mail-portlet was unregistered
11:22:08,263 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet


Did you solved the issue? I am having the same trying to deploying a portlet with a service in it in 6.1
Juan Gonzalez
RE: Error when building social office with liferay-6.1
December 17, 2011 1:48 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2382

Join Date: October 28, 2008

Recent Posts

YAO KOUASSI:
I tried building social office with liferay-plugins in the trunk, liferay-ide-1.3.1, liferay-sdk-6.1 and liferay-6.1.

1/ I have error with so-portlet wich not register and so-portlet.xml is still in ../deploy for autodeploy
Trace following :

11:18:01,036 INFO [AutoDeployDir:167] Processing so-portlet.xml
11:18:01,038 INFO [HookExplodedTomcatListener:45] Modifying hook for C:\Users\admin\workspace2\bundles\liferay-social-office_01\deploy\so-portlet.xml
11:18:01,117 ERROR [AutoDeployDir:197] com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.lang.NullPointerException
com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.lang.NullPointerException
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatDeployer.explodedTomcatDeploy(HookExplodedTomcatDeployer.java:38)
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatListener.deploy(HookExplodedTomcatListener.java:48)
at com.liferay.portal.deploy.auto.exploded.tomcat.BaseExplodedTomcatListener.deploy(BaseExplodedTomcatListener.java:61)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221)
at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:50)
Caused by: java.lang.NullPointerException
at com.liferay.portal.tools.deploy.BaseDeployer.copyProperties(BaseDeployer.java:385)
at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:512)
at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:696)
at com.liferay.portal.deploy.auto.exploded.tomcat.HookExplodedTomcatDeployer.explodedTomcatDeploy(HookExplodedTomcatDeployer.java:34)


2/Other plugins needed so-hook registering registered then swich to unregistering.

Trace following :

22 sept. 2011 11:20:25 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration mail-portlet.xml
22 sept. 2011 11:20:25 org.apache.catalina.startup.HostConfig deployDescriptor
ATTENTION: A docBase C:\Users\admin\workspace2\bundles\liferay-social-office_01\tomcat-6.0.29\webapps\mail-portlet inside the host appBase has been specified, and will be ignored
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
11:20:26,847 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
11:20:27,086 INFO [ServiceComponentLocalServiceImpl:192] Upgrading Mail database to build number 4
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
11:20:27,483 INFO [HookHotDeployListener:504] Registering hook for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portal.properties
11:20:27,514 INFO [HookHotDeployListener:941] Hook for mail-portlet is available for use
11:20:27,517 INFO [PortletHotDeployListener:262] Registering portlets for mail-portlet
Loading file:/C:/Users/admin/workspace2/bundles/liferay-social-office_01/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
11:20:27,762 INFO [PortletHotDeployListener:423] 1 portlet for mail-portlet is available for use
22 sept. 2011 11:22:08 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
22 sept. 2011 11:22:08 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/mail-portlet] suite aux erreurs précédentes
11:22:08,183 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet
11:22:08,258 INFO [HookHotDeployListener:1062] Hook for mail-portlet was unregistered
11:22:08,259 INFO [PortletHotDeployListener:458] Unregistering portlets for mail-portlet
11:22:08,261 INFO [PortletHotDeployListener:490] 1 portlet for mail-portlet was unregistered
11:22:08,263 INFO [PluginPackageUtil:1101] Reading plugin package for mail-portlet


Issue solved!:

http://issues.liferay.com/browse/LPS-24212