Using jjs to confirm issue with DatatypeConverter in WebSphere Liberty

I kept running into a funky ‘java.lang.NullPointerException’ with the WebSphere Liberty included DataValidator. To debug the issue, I used the jjs – nashorn engine If you need, to figure out where the class is located try { Class c = Class.forName(“javax.xml.bind.DatatypeConverter”); System.out.println(“Location ” + c.getProtectionDomain().getCodeSource().getLocation()); } catch (ClassNotFoundException e1) { TODO Auto-generated catch block e1.printStackTrace(); […]

JAX-RS: Lesson Learned – JaxbAnnotationIntrospector.findAnnotation:909′ java.lang.NullPointerException

I recently was working with a colleague that was building a quick (and dirty) web project with Java API for RESTful Web Services (JAX-RS). We ran into an issue (which we realized later was due to rushing).   Exception thrown by application class ‘org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findAnnotation:909‘ java.lang.NullPointerException We built an Application config (see any issue yet? ) […]