Foros de discusión

Getting Annoying, but harmless error in JSF app deploy...

Jason Hodge, modificado hace 6 años.

Getting Annoying, but harmless error in JSF app deploy...

New Member Mensajes: 13 Fecha de incorporación: 24/04/17 Mensajes recientes
I am getting an error when deploying an ice-faces 4.2 JSF app. I've included a snippet from the logs to see if anyone recognizes something. I don't know what else to include. Our environment is Liferay DXP SP3, Maven, faces.api.version 2.2. Anyone have an idea why this might be happening. Notably, none of my code is in the stack-trace, so it's a side-effect of what I'm doing, I think. Thanks ahead of time for any advice!

Here is the log:

17:07:41,710 INFO [fileinstall-C:/dev-servers/liferay-dxp-digital-enterprise-7.0-sp4/osgi/war][BaseDeployer:863] Deploying sample-portlet-jsf-0.4.0-SNAPSHOT.war
17:07:45,267 INFO [fileinstall-C:/dev-servers/liferay-dxp-digital-enterprise-7.0-sp4/osgi/war][BaseAutoDeployListener:50] Portlets for C:\dev-servers\liferay-dxp-digital-enterprise-7.0-sp4\tomcat-8.0.32\temp\20180216170741242LIVLFIQU\sample-portlet-jsf-0.4.0-SNAPSHOT.war copied successfully
java.lang.NullPointerException
at java.util.ArrayList.<init>(ArrayList.java:177)
at com.sun.faces.application.WebappLifecycleListener.getActiveSessions(WebappLifecycleListener.java:395)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
17:07:57,376 INFO [Refresh Thread: Equinox Container: b0418c13-3a13-0018-10c0-b2fd160c58ac][BundleStartStopLogger:35] STARTED com.company.portlet.sample.jsf_0.1.0 [833]
17:08:17,251 INFO [Refresh Thread: Equinox Container: b0418c13-3a13-0018-10c0-b2fd160c58ac][HotDeployImpl:226] Deploying sample-portlet-jsf-0.4.0-SNAPSHOT from queue
thumbnail
Kyle Joseph Stiemann, modificado hace 6 años.

RE: Getting Annoying, but harmless error in JSF app deploy...

Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Hi Jason,
It looks like you are running into FACES-3214. As a workaround, you can change to "Production" mode rather than "Development."

- Kyle