Waziup / Socialbackend

1 stars 3 forks source link

Null pointer exception #6

Closed cdupont closed 6 years ago

cdupont commented 6 years ago

Using a wrong user_id yields a null pointer exception:

curl -H "Content-Type: application/json" -X POST -d '{"user_id":"test","channel":"twitter", "message": "Hello from Waziup social media API"}' http://localhost:8080/SocialBackend/socials

org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException                                   
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:78)   
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:222)                                                                                                             
pandaconstantin commented 6 years ago

Solved !

cdupont commented 6 years ago

thanks, closing

pandaconstantin commented 6 years ago

Solved !