tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53381] New: NPE at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2963)
Date Thu, 07 Jun 2012 16:13:02 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53381

          Priority: P2
            Bug ID: 53381
          Assignee: dev@tomcat.apache.org
           Summary: NPE at
                    org.apache.catalina.loader.WebappClassLoader.findResou
                    rceInternal(WebappClassLoader.java:2963)
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: randd@lucierna.com
          Hardware: PC
            Status: NEW
           Version: 6.0.32
         Component: Catalina
           Product: Tomcat 6

I get this exception sometimes. I think that occurs in re-deploys but I am not
sure if only occurs in this case.


java.lang.NullPointerException
    at
org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2963)
    at
org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:1242)
    at
org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1389)
    at
org.aspectj.apache.bcel.util.ClassLoaderRepository.toURL(ClassLoaderRepository.java:276)
    at
org.aspectj.apache.bcel.util.ClassLoaderRepository.loadClass(ClassLoaderRepository.java:289)
    at org.aspectj.weaver.bcel.BcelWorld.lookupJavaClass(BcelWorld.java:402)
    at org.aspectj.weaver.bcel.BcelWorld.resolveDelegate(BcelWorld.java:376)
    at org.aspectj.weaver.ltw.LTWWorld.resolveDelegate(LTWWorld.java:107)
    at org.aspectj.weaver.World.resolveToReferenceType(World.java:488)
    at org.aspectj.weaver.World.resolve(World.java:329)
    at org.aspectj.weaver.World.resolve(World.java:239)
    at
org.aspectj.weaver.ResolvedTypeMunger.matches(ResolvedTypeMunger.java:110)
    at
org.aspectj.weaver.ConcreteTypeMunger.matches(ConcreteTypeMunger.java:82)
    at
org.aspectj.weaver.bcel.BcelWeaver.weaveNormalTypeMungers(BcelWeaver.java:1627)
    at
org.aspectj.weaver.bcel.BcelWeaver.addNormalTypeMungers(BcelWeaver.java:1437)
    at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1128)
    at
org.aspectj.weaver.tools.WeavingAdaptor.getWovenBytes(WeavingAdaptor.java:525)
    at
org.aspectj.weaver.tools.WeavingAdaptor.weaveClass(WeavingAdaptor.java:361)
    at org.aspectj.weaver.loadtime.Aj.preProcess(Aj.java:100)
    at
org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:54)
    at sun.instrument.TransformerManager.transform(Unknown Source)
    at sun.instrument.InstrumentationImpl.transform(Unknown Source)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2818)
    at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Unknown Source)
    at java.lang.Class.getDeclaredFields(Unknown Source)
    at
org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:2034)
    at
org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1929)
    at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1833)
    at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:740)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4920)
    at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3454)
    at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
    at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1361)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
    at java.lang.Thread.run(Unknown Source)



Any idea about

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message