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

Error trying to execute SimpleEchoClient #4

Open
antolinos95 opened this issue Oct 26, 2016 · 2 comments
Open

Error trying to execute SimpleEchoClient #4

antolinos95 opened this issue Oct 26, 2016 · 2 comments

Comments

@antolinos95
Copy link

Hi!
I get the next exception when I execute SimpleEchoClient or RosTest:

Exception in thread "main" java.lang.NullPointerException
at org.eclipse.jetty.websocket.common.extensions.AbstractExtension.getName(AbstractExtension.java:90)
at org.eclipse.jetty.websocket.api.extensions.ExtensionFactory.(ExtensionFactory.java:37)
at org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory.(WebSocketExtensionFactory.java:40)
at org.eclipse.jetty.websocket.client.WebSocketClient.(WebSocketClient.java:85)
at org.eclipse.jetty.websocket.client.WebSocketClient.(WebSocketClient.java:78)
at tests.SimpleEchoClient.main(SimpleEchoClient.java:18)

Thank you!

@stefie10
Copy link
Contributor

I'm going to guess it's something to do with Jetty not having all the
libraries that it needs... It's trying to load an extension and
failing. Is Jetty installed correctly? Your classpath set up? Have
you tried looking on Jetty forums?

On 10/26/2016 04:41 AM, antolinos95 wrote:

Hi!
I get the next exception when I execute SimpleEchoClient or RosTest:

Exception in thread "main" java.lang.NullPointerException
at
org.eclipse.jetty.websocket.common.extensions.AbstractExtension.getName(AbstractExtension.java:90)
at
org.eclipse.jetty.websocket.api.extensions.ExtensionFactory.(ExtensionFactory.java:37)
at
org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory.(WebSocketExtensionFactory.java:40)
at
org.eclipse.jetty.websocket.client.WebSocketClient.(WebSocketClient.java:85)
at
org.eclipse.jetty.websocket.client.WebSocketClient.(WebSocketClient.java:78)
at tests.SimpleEchoClient.main(SimpleEchoClient.java:18)

Thank you!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAIHQrRl-NJJQ4aLM9WjU87hbEK5416ks5q3xIsgaJpZM4Kg5vv.

@antolinos95
Copy link
Author

It was a weird conflict between different versions of Jetty, now it's solved.
Thank you! 😄

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