Please post the entire exception stacktrace, the version of JBoss and Java you are using, the code in that static method and the piece of code from where you are invoking the method.
While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted
Thanks Jai-kiran. I was looking at the wrong version of the file. And of course, static method calls cannot throw a null pointer exception. Happy Days!