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)
Using a wrong user_id yields a null pointer exception: