-
-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Wildfly 8.0.0.Final] Blocking request failed HttpServerExchange{ GET /primepush/message/qla/robert}: java.lang.NullPointerException #1728
Comments
@ladrob You means 2.1.5? Can you try 2.1.9? |
Oh, sorry, yes I mean 2.1.5. I've tried also 2.1.8 - the same problem. I'll try 2.1.9 and let you know. Thanks. |
@ladrob OK lines of the exception aren't matching with the current version. Please try 2.1.9 and paste the exception again. Thanks |
Hmm.. 2.1.9 - no error, and doesn't work for me. Maybe I could try 2.2.1? |
Yes give it a try. |
Now I have error:
Still doesn't work. Why Invalid Atmosphere Version? In my pom.xml I have only atmosphere-runtime 2.2.1. |
Update atmosphere-javascript to 2.2.4 |
I cannot find in maven atmosphere-javascript. I've tried: and groupId: org.atmosphere.client ... missing artifact. :-( |
Sorry, I don't know what is going on. I've copy/paste dependency from link you provided (that I've tried on the beginning) to my pom and only this one dependency says: Missing artifact org.atmosphere:javascript-project:jar:2.2.4 I must find the problem and then I'll come back. |
javascript-project is the parent project of atmosphere-javascript and atmosphere-jquery. You should use: http://search.maven.org/#search%7Cga%7C1%7Corg.atmosphere.client |
I used jquery and javascript, but the same problem. My maven client download all but war files. I downloaded them manually and changed war extension to jar (because of compilation problem) and unfortunaltely I have simmilar error:
Is everything alright with these artifacts? I haven't such problems with any yet. |
NOT 2.2.0, 2.2.4 |
Yes I know - I've installed 2.2.4 - I don't know why log says 2.2.0 still. It looks - it doesn't see new libraries. |
Too many actions and changes with atmosphere repo from my side. I'll remove all libraries from local mvn, restart my PC, clean everything and try again. |
I'll try with:
|
I've still the same error: Invalid Atmosphere Version 2.2.0-javascript. |
You have javascript cached somewhere. Just tested on Wildfly and everything works for me. So try to come with a test case. |
How should pom.xml look like? I mean atmosphere libraries. |
BTW for sure your error has been fixed @Override
public void onClose(javax.websocket.Session session, javax.websocket.CloseReason closeCode) {
logger.trace("{} closed {}", session, closeCode);
if (request != null) {
request.destroy();
webSocketProcessor.close(webSocket, closeCode.getCloseCode().getCode());
}
} The NPE was occuring because of |
Closing this issue as fixed. |
Ok, maybe this is primefaces push issue. PF doc suggests Atmosphere 2.1.3, so I'll back to 2.1.4 - as there were no errors for me. Thank you anyway and sorry for bothering you :-) |
Hi,
I've got the error from the title on page load. I'm using Primefaces 5.0.
My PushEndpoint resource file is:
Full trace of error:
The error appears in Atmosphere 2.1.5 and above. Version 2.1.4 works fine.
Thanks for any hints.
The text was updated successfully, but these errors were encountered: