Bugs item #877172, was opened at 2004-01-14 13:59
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=877172&group_id=22866

Category: JBossMX
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim McCune (javajedi)
>Assigned to: Scott M Stark (starksm)
Summary: NullPointerException in LoadMgr3

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2004-01-15 04:54

Message:
Logged In: YES 
user_id=175228

Add the full stack trace as an attachment so I can see where
the load attempt is originating from. An NPE in LoadMgr
indicates that the UnifiedClassLoader3 has been removed from
the repository in between the loadClass class and the
delegation to LoadMgr. The only cause of this would be
destruction of the associated deployment due to a redeploy.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=877172&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to