I have one senario in which we are using a custom class loader by extending the org.apache.catalina.loader.WebappClassLoader
i have made the extending class singleton .
I get an unexpected error while using the classLoader second time onwards
First time it works fine .
The error is
Caused by: java.lang.NullPointerException
at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2956)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2830)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
at fr.studec.webxml.s1000d18.exporter.utilities.PublisherHelper$1.run(PublisherHelper.java:99)
... 1 more
I when i try to debug the org.apache.catalina.loader.WebappClassLoader
I get this message
The JAR of this class file belongs the container "Nuxeo Sdk" (Main) .Which do not allow modification to the source attached
Can someone help me to fix above two issue
Thanks
Atul