Skip to content
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

java.lang.NullPointerException when packaged with exclude-swf-files #49

Closed
pablojr opened this issue Apr 11, 2013 · 0 comments
Closed
Assignees
Milestone

Comments

@pablojr
Copy link

pablojr commented Apr 11, 2013

If profile exclude-swf-files is used, resulting .jar file lacks folder static/... (which is Ok for the ones like me providing the SWF files for flashsocket from a separate HTTP server, see #42) but socket.io server throws NPE since there are hardcoded references to such files under static/...

Exception in thread "main" java.lang.NullPointerException
at com.corundumstudio.socketio.handler.ResourceHandler.addResource(ResourceHandler.java:79)
at com.corundumstudio.socketio.handler.ResourceHandler.(ResourceHandler.java:71)
at com.corundumstudio.socketio.SocketIOPipelineFactory.start(SocketIOPipelineFactory.java:117)
at com.corundumstudio.socketio.SocketIOServer.start(SocketIOServer.java:83)
at com.sabre.jpm.server.nio.services.SJPMSocketIoServerNio.start(SJPMSocketIoServerNio.java:112)
at com.sabre.jpm.server.nio.services.SJPMHTTPServerNio.start(SJPMHTTPServerNio.java:78)
at com.sabre.jpm.server.Main.start(Main.java:94)
at com.sabre.jpm.server.Main.main(Main.java:107)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants