[ http://jira.jboss.com/jira/browse/JBJMX-54?page=history ] Scott M Stark closed JBJMX-54: ------------------------------
Resolution: Won't Fix The issue is due to classes outside of the deployment holding onto the destroyed class loader. > NullPointerException in LoadMgr3 > -------------------------------- > > Key: JBJMX-54 > URL: http://jira.jboss.com/jira/browse/JBJMX-54 > Project: JBoss JMX > Type: Bug > Reporter: SourceForge User > Assignee: Scott M Stark > > > SourceForge Submitter: javajedi . > I get this error out of JBoss 3.2.2 on a fairly regular > basis. I'm still not sure exactly how to reproduce it, > but since it's an NPE, I'm hoping that someone can > track down what would cause it to happen fairly easily. > Once it occurs for a particular class, the only fix is > to restart JBoss. I never had this problem on 3.2.0. > java.lang.NullPointerException at > org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:119) > at > org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:169) > at > org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:123) > at > java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > Looking at the code, the UnifiedLoaderRepository3 that > is passed into beginLoadTask as the 2nd parameter must > be null. UnifiedClassLoader3, line 118 does a null > check for repository just a few lines before calling > loadClassImpl, so I'm assuming that this is a valid > state for the class loader to be in. That would mean > that beginLoadTask in LoadMgr3 needs to handle the > situation where repository is null. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development