I've posted a question here:

xml - Exception in thread "main" java.lang.NullPointerException when using Jaxb unmarshal/marshal - Stack Overflow