[ANN] 2.2.0 released; PrimeFaces Push errors

UI Components for JSF
Post Reply
smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

27 Jul 2014, 17:19

[ANN] Atmosphere 2.2.0 has been released
jfarcand wrote:Hi,

We are happy to announce the immediate availability of:

http://goo.gl/H31RyM

Specifically,

atmosphere-runtime 2.2.0
nettosphere 2.2.0
atmosphere-extensions 2.2.0
atmosphere-javascript 2.2.3
atmosphere-vertx 2.2.0
atmosphere-play 2.2.0
wAsync 1.4.0

improved API, new annotations, performance improvements, etc. Main changes log

http://goo.gl/B56USR

Features and Improvements

http://goo.gl/JD7hsd

This release is also the first to be highly optimized for Atmosphere Pro!

In the upcoming weeks, we will announce our plan for Atmosphere 3, called Vibe!!!

Enjoy!

-- Jeanfrancois
Maven Central repository: org.atmosphere runtime
Last edited by smithh032772 on 07 Aug 2014, 20:09, edited 2 times in total.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

jp_2011
Posts: 35
Joined: 14 Feb 2011, 16:47

30 Jul 2014, 15:46

Does Primefaces 5.0 support this or will we need to wait for 5.1?

Thanks!
PrimeFaces 5.0, Glassfish 4, Wildfly 8.1, Java 8, Java EE 7
Ubuntu 13.10

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

30 Jul 2014, 17:59

please try Atmosphere 2.2.0 + PrimeFaces 5.0 and let us know. thanks.

EDIT: I just tried, and I'm getting the following errors in my log

Code: Select all

Jul 30, 2014 12:01:28 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:01:28 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:01:28 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:01:28 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:01:32 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 20ea2904-b993-447c-8315-be28d6987b8a
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:01:32 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:01:32 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:01:45 PM javax.faces.component._ExternalSpecifications isBeanValidationAvailable
INFO: MyFaces Bean Validation support enabled
Jul 30, 2014 12:01:45 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 98b41ddc-072e-40b5-a783-f3cdcfb188ed
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:01:46 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:01:46 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:01:48 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 19d5bfbb-5ea4-4c8e-9c9c-02d174dcd747
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:01:48 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:01:48 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:01:48 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 78d9709b-9519-49db-b378-a89ad5f40e2c
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:01:49 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:01:49 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:01:52 PM pf.MessengerBean init
INFO: pf.MessengerBean@170dde23
Jul 30, 2014 12:01:52 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 0b1a7638-9545-4974-b2f9-16bdea5719de
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:01:53 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:01:53 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:02:02 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 54ee7d13-25fb-4906-b484-0863736d6538
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:02:02 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:02:02 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:02:03 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 27b36735-5173-4e45-8e91-7f9d4c524ea4
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:02:04 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:02:04 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:02:22 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 8f3f1003-6e5a-4f57-b5f3-2194df37aa6a
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:02:22 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:02:22 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:02:27 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 914b4c39-5b12-45af-9b9f-3c89ca23d766
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:02:27 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:02:27 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:02:30 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 76c90e09-5b64-4018-89e1-de1bd46feffb
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:02:30 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:02:30 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Jul 30, 2014 12:02:34 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 92dbced7-4e96-4e82-8e7e-21865d624122
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:241)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.cpr.AsynchronousProcessor.endRequest(AsynchronousProcessor.java:548)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.executeClose(DefaultWebSocketProcessor.java:677)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:628)
	at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:84)
	at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:226)
	at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:210)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:141)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Jul 30, 2014 12:02:34 PM org.atmosphere.interceptor.JavaScriptProtocol inspect
SEVERE: Invalid Atmosphere Version 2.2.0-javascript
Jul 30, 2014 12:02:34 PM org.atmosphere.websocket.protocol.SimpleHttpProtocol onError
WARNING: Status code higher or equal than 400. Unable to deliver the websocket messages to installed component. Status 501 Message OK
Here is the post in atmosphere framework's google groups mail list
Issue 7242 in PrimeFaces issue tracker
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

marcintomiak
Posts: 16
Joined: 17 Jul 2014, 13:00
Location: Poland

11 Sep 2014, 22:55

I'd like to confirm that I keep having those NPE in server log when using PrimeFaces 5.1 Snapshot + Atmosphere 2.2.0

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

23 Sep 2014, 00:46

jp_2011 wrote:Does Primefaces 5.0 support this or will we need to wait for 5.1?
marcintomiak wrote:I'd like to confirm that I keep having those NPE in server log when using PrimeFaces 5.1 Snapshot + Atmosphere 2.2.0
I just tried PrimeFaces 5.1 RC1 + Atmosphere 2.2.1 + TomEE 1.7.1 (tomcat 7.0.55), and I am getting errors :(

Code: Select all

Sep 22, 2014 6:32:11 PM org.atmosphere.cpr.AtmosphereFramework addAtmosphereHandler
INFO: Installed AtmosphereInterceptor [@PushEndpoint Interceptor] mapped to AtmosphereHandler org.primefaces.push.impl.PushEndpointHandlerProxy
Sep 22, 2014 6:32:21 PM org.atmosphere.cpr.AsynchronousProcessor completeLifecycle
SEVERE: Failed to cancel resource: 456c1120-6d79-4d90-b2a0-758e53bb0911
java.lang.NullPointerException
	at org.primefaces.push.impl.PushEndpointHandlerProxy.invokeOpenOrClose(PushEndpointHandlerProxy.java:373)
	at org.primefaces.push.impl.PushEndpointHandlerProxy.onStateChange(PushEndpointHandlerProxy.java:246)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeAtmosphereHandler(AsynchronousProcessor.java:492)
	at org.atmosphere.cpr.AsynchronousProcessor.completeLifecycle(AsynchronousProcessor.java:444)
	at org.atmosphere.interceptor.OnDisconnectInterceptor.inspect(OnDisconnectInterceptor.java:67)
	at org.atmosphere.cpr.AsynchronousProcessor.invokeInterceptors(AsynchronousProcessor.java:302)
	at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:167)
	at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:104)
	at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:66)
	at org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.doService(Tomcat7Servlet30SupportWithWebSocket.java:67)
	at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:98)
	at org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.service(Tomcat7Servlet30SupportWithWebSocket.java:62)
	at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2034)
	at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:211)
	at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:197)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
atmosphere startup log

Code: Select all

Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework interceptor
INFO: Installed AtmosphereInterceptor Atmosphere LifeCycle with priority AFTER_DEFAULT 
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework interceptor
INFO: Installed AtmosphereInterceptor  Track Message Size Interceptor using | with priority BEFORE_DEFAULT 
Sep 22, 2014 6:30:25 PM org.atmosphere.util.IOUtils readServiceFile
WARNING: META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework autoConfigureService
INFO: Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.DefaultAnnotationProcessor configure
INFO: AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$ServletContainerInitializerAnnotationProcessor being used
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AnnotationHandler handleAnnotation
INFO: Found Annotation in class org.primefaces.push.impl.PushEndpointInterceptor being scanned: interface org.atmosphere.config.service.AtmosphereInterceptorService
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AnnotationHandler handleAnnotation
INFO: Found Annotation in class org.primefaces.push.impl.PushEndpointProcessor being scanned: interface org.atmosphere.config.AtmosphereAnnotation
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AnnotationHandler handleAnnotation
INFO: Found Annotation in class org.primefaces.push.impl.PushEndpointMapper being scanned: interface org.atmosphere.config.service.EndpointMapperService
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AnnotationHandler handleAnnotation
INFO: Found Annotation in class pf.NotifyResource being scanned: interface org.primefaces.push.annotation.PushEndpoint
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework addAtmosphereHandler
INFO: Installed AtmosphereHandler org.primefaces.push.impl.PushEndpointHandlerProxy mapped to context-path /{usernameAndSessionId} and Broadcaster Class org.atmosphere.cpr.DefaultBroadcaster
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework addAtmosphereHandler
INFO: Installed AtmosphereInterceptor [@PushEndpoint Interceptor] mapped to AtmosphereHandler org.primefaces.push.impl.PushEndpointHandlerProxy
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework autoDetectWebSocketHandler
INFO: Auto detecting WebSocketHandler in /WEB-INF/classes/
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework initWebSocket
INFO: Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework configureAtmosphereInterceptor
INFO: Installing Default AtmosphereInterceptor
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.HeartbeatInterceptor : Heartbeat Interceptor Support
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: 	org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework interceptor
INFO: Installed AtmosphereInterceptor  Track Message Size Interceptor using | with priority BEFORE_DEFAULT 
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework interceptor
INFO: Installed AtmosphereInterceptor Atmosphere LifeCycle with priority AFTER_DEFAULT 
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework configureAtmosphereInterceptor
INFO: Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using EndpointMapper class org.primefaces.push.impl.PushEndpointMapper
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using BroadcasterCache: org.atmosphere.cache.UUIDBroadcasterCache
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Broadcaster Polling Wait Time 100
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Shared ExecutorService supported: true
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Messaging Thread Pool Size: Unlimited
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Async I/O Thread Pool Size: 200
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Invoke AtmosphereInterceptor on WebSocket message true
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: HttpSession supported: false
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere is using org.primefaces.push.impl.PushObjectFactory@4e498eaf for dependency injection and object creation
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere is using async support: org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket running under container: Apache Tomcat (TomEE)/7.0.55 (1.7.1) using javax.servlet/3.0
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere Framework 2.2.1 started.
Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: 

	For Atmosphere Framework Commercial Support, visit 
	http://www.async-io.org/ or send an email to support@async-io.org

Sep 22, 2014 6:30:25 PM org.atmosphere.cpr.AtmosphereFramework interceptor
INFO: Installed AtmosphereInterceptor @PushEndpoint Interceptor with priority AFTER_DEFAULT 
...
Sep 22, 2014 6:30:26 PM org.atmosphere.cpr.AtmosphereFramework$4 run
INFO: Latest version of Atmosphere's JavaScript Client 2.2.4
Click forum topic below for a SOLUTION that I added there.

Re: [ANN] 2.2.1 released; PrimeFaces 5.1RC1 Push errors
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests