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-20 14:45
Message:
Logged In: YES
user_id=175228
So where is the com.mysql.jdbc.Connection class coming from
in the deployment, and has there been a redeployment of
anything in the encompassing deployment? The current 3.2
codebase has additional debug level logging to track when a
class loader is removed from the repository as well as a fix
for delaying the removal of a class loader from its
repository until the top level deployment have been destroyed.
----------------------------------------------------------------------
Comment By: Tim McCune (javajedi)
Date: 2004-01-20 12:22
Message:
Logged In: YES
user_id=62441
Ok, stack trace attached.
----------------------------------------------------------------------
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
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development