« Return to Thread: cglib 2.1_3 no dep and NPE in AbstractClassGenerator

Re: cglib 2.1_3 no dep and NPE in AbstractClassGenerator

by Costin :: Rate this Message:

Reply to Author | View in Thread


Chris Nokleberg wrote:
On 4/25/07, Costin <costin.leau@gmail.com> wrote:
> Basically, it seems that there the classloader asked from the cache, does
> not exist.
> The problem occured when doing some proxying on OSGi for
> java.util.ArrayList. I'm completely buffled on why this occurs - seems to be
> working fine with other java classes such as java.util.Date.

That is pretty strange. Have you made any progress? I don't really
have a good way to test this problem. If you could put a zip together
with all the necessary jars and a sample program we can probably track
it down quickly. Of course the answer may just end up being an issue
in OSGi.

Chris
I suspect that my environment (OSGi) is to quite different then the traditional J2EE
 but so far I haven't been able to identify the exact cause. By looking at the cglib code, it seems that the classloader should be already in the cache but I can't figure out where the initialization occurs.
I'll post back more information once I have it.

Cheers,
  Costin

 « Return to Thread: cglib 2.1_3 no dep and NPE in AbstractClassGenerator