Foros de discusión
Liferay 7 GA4 + Faces Alloy
Marcus Hiebenga, modificado hace 6 años.
Liferay 7 GA4 + Faces Alloy
New Member Mensajes: 20 Fecha de incorporación: 11/01/17 Mensajes recientes
Does it work correctly?
If I create the hello world example with following maven call:
mvn archetype:generate -DarchetypeGroupId=com.liferay.faces.archetype -DarchetypeArtifactId=com.liferay.faces.archetype.jsf.portlet -DarchetypeVersion=5.0.1 -DgroupId=de.mycompany -DartifactId=de.mycompany.test
The first time I build the war file and deploy it to the clean Liferay Server GA4 it works as it should.
But if I build it a second time an deploy the new war file I get following error message:
10:28:06,826 INFO [BridgeSessionListener:73] Context initialized for contextPath=[/o/de.mycompany.test]
java.lang.NullPointerException
at java.util.ArrayList.<init>(ArrayList.java:177)
at com.sun.faces.application.WebappLifecycleListener.getActiveSessions(WebappLifecycleListener.java:379)
at com.sun.faces.config.ConfigureListener.reload(ConfigureListener.java:544)
at com.sun.faces.config.ConfigureListener.access$700(ConfigureListener.java:122)
at com.sun.faces.config.ConfigureListener$WebConfigResourceMonitor.run(ConfigureListener.java:1101)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Is this a known bug?
If I create the hello world example with following maven call:
mvn archetype:generate -DarchetypeGroupId=com.liferay.faces.archetype -DarchetypeArtifactId=com.liferay.faces.archetype.jsf.portlet -DarchetypeVersion=5.0.1 -DgroupId=de.mycompany -DartifactId=de.mycompany.test
The first time I build the war file and deploy it to the clean Liferay Server GA4 it works as it should.
But if I build it a second time an deploy the new war file I get following error message:
10:28:06,826 INFO [BridgeSessionListener:73] Context initialized for contextPath=[/o/de.mycompany.test]
java.lang.NullPointerException
at java.util.ArrayList.<init>(ArrayList.java:177)
at com.sun.faces.application.WebappLifecycleListener.getActiveSessions(WebappLifecycleListener.java:379)
at com.sun.faces.config.ConfigureListener.reload(ConfigureListener.java:544)
at com.sun.faces.config.ConfigureListener.access$700(ConfigureListener.java:122)
at com.sun.faces.config.ConfigureListener$WebConfigResourceMonitor.run(ConfigureListener.java:1101)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Is this a known bug?
Neil Griffin, modificado hace 6 años.
RE: Liferay 7 GA4 + Faces Alloy
Liferay Legend Mensajes: 2655 Fecha de incorporación: 27/07/05 Mensajes recientes
Hi Marcus,
I think you are experiencing FACES-3025 which is a benign error that only happens when javax.faces.PROJECT_STAGE=Development, which is set for the sake of convenience in the WEB-INF/web.xml descriptor of the Liferay Faces Alloy archetype.
Kind Regards,
Neil
I think you are experiencing FACES-3025 which is a benign error that only happens when javax.faces.PROJECT_STAGE=Development, which is set for the sake of convenience in the WEB-INF/web.xml descriptor of the Liferay Faces Alloy archetype.
Kind Regards,
Neil