-
1. Re: NPE when redeploying precompiled code
bill.burke Jun 3, 2004 10:33 AM (in response to peterb)The Aspect service has a flag to ignore transformation errors. I had to have this switch because a bunch of Apache classes use their own classloaders and don't hook well into Javassist's class locator.
Do you have a simple testcase you can send me to reproduce the error (with hot deploy of precompiled AOP)? Email me at bill@jboss.org
Thanks for your patience. -
2. Re: NPE when redeploying precompiled code
peterb Jun 3, 2004 11:56 AM (in response to peterb)Thanks for the quick reply.
I just sent you a testcase by e-mail, which hopefully will recreate the exception at your end.
Peter -
3. Re: NPE when redeploying precompiled code
bill.burke Jun 6, 2004 9:21 PM (in response to peterb)didn't get a chance to look at this before the beta3 release. Sorry. I'll take a look soon.
-
4. Re: NPE when redeploying precompiled code
rkadayam Jun 7, 2004 11:02 AM (in response to peterb)This issue is very similar to what I had posted earlier and the solution that I resorted to was during the undeploy/re-deploy time call AspectManager.getAdvisors().remove(instrumentedClassName).
However Bill have'nt tried the newer version of AOP yet in which you had mentioned that I could avoid this call.