In Java How could getClass().getClassLoader() return null?
The ClassLoader for all classes within the jar is null.
Are you using any endorsed standards? I believe this would cause the classes to be loaded by the bootstrap class loader even though you may not be explicitly using -Xbootclasspath.