Foren

Liferay 7 GA4 + Faces Alloy

Marcus Hiebenga, geändert vor 6 Jahren.

Liferay 7 GA4 + Faces Alloy

New Member Beiträge: 20 Beitrittsdatum: 11.01.17 Neueste Beiträge
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?
thumbnail
Neil Griffin, geändert vor 6 Jahren.

RE: Liferay 7 GA4 + Faces Alloy

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
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