if you get an NPE it means salve is not instrumenting your classes.
might be because the javaagent doesnt see the classes loaded by
glassfish' class loader.
i would recomment you use the maven2 plugin to instrument your code
instead - before it is deployed into glassfish.
-igor