[nio-8080-exec-7] o.p.push.impl.PushEndpointHandlerProxy

UI Components for JSF
Post Reply
pankaj.r.pandey
Posts: 5
Joined: 10 May 2016, 18:42

10 May 2016, 18:52

I am using Spring Boot with Embeded Tomcat and Primefaces.
I have updated the primefaces from 5.2 to 5.3 and atmosphere.runtime from 2.3.2 to 2.4.0-RC6.
After updating, when I push any message to the EventBus I am getting the below error:

2016-05-10 22:04:09.156 ERROR 6180 --- [nio-8080-exec-7] o.p.push.impl.PushEndpointHandlerProxy :

java.lang.StackOverflowError: null
at java.lang.Class.privateGetPublicMethods(Class.java:2892) ~[na:1.8.0_77]
at java.lang.Class.getMethods(Class.java:1615) ~[na:1.8.0_77]
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:990) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.<init>(JSONObject.java:282) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.wrap(JSONObject.java:1570) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:1020) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.<init>(JSONObject.java:282) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.wrap(JSONObject.java:1570) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:1020) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.<init>(JSONObject.java:282) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.wrap(JSONObject.java:1570) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:1020) ~[primefaces-5.3.jar:5.3]
at org.primefaces.json.JSONObject.<init>(JSONObject.java:282) ~[primefaces-5.3.jar:5.3]

Thanks in Advance.

Miguel Cubells
Posts: 99
Joined: 25 Feb 2015, 11:02

24 May 2016, 07:11

Try first with Atmosphere 2.4.3 , which is the latest version at the time of writing...

In any case, using Spring Boot, we don't use the PrimeFaces PUSH directly anymore, but the Atmosphere annotations directly ( and the Atmosphere Servlet )
We had some problems with @Inject annotations being present inside the PrimeFaces 5.3 PUSH source code package, that does not seem to work well with Spring somehow.

UPDATE : Just tried normal @PushEnpdoint classes using the specialized PrimeFaces Push Servlet, (NOT the Atmosphere Servlet) and everything seems to be working fine, but in this case we use "standard" Spring, not Spring Boot.
PrimeFaces 6.1 / PF Extensions 6.1.1 / Atmosphere 2.4.3
Apache Mojarra 2.2.13+
WildFly 10.1.0.Final

pankaj.r.pandey
Posts: 5
Joined: 10 May 2016, 18:42

17 Jun 2016, 09:35

Thanks Miguel Cubells.

We are got the solution for this issue. Issue was with the timestamp type variable present in the object which we were sending through the push event.
After removing that which was not needed. it ran smoothly.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests