[ http://jira.jboss.com/jira/browse/JBAOP-70?page=comments#action_12315456 
]
     
Kabir Khan commented on JBAOP-70:
---------------------------------

Actually, I have only fixed this in head. Not sure how our branching works at 
the moment

> NullPointerException in toString()
> ----------------------------------
>
>          Key: JBAOP-70
>          URL: http://jira.jboss.com/jira/browse/JBAOP-70
>      Project: JBoss AOP
>         Type: Bug
>     Versions: 1.1
>  Environment: Windows XP, JBoss-AOP v1.1 standalone, 
>     Reporter: Paul Extance
>     Assignee: Bill Burke
>      Fix For: 1.1.1

>
>
> JBoss-AOP v1.1 - NullPointerException in toString() 
> In org.jboss.aop.introduction.InterfaceIntroduction
> @version $Revision: 1.9 $
> public String toString()
> {
> return "InterfaceIntroduction:{ name=" + name + "; 
> class=" + classExpr.getClass().getName() + "; ast=" + 
> ast + ";interfaces=" + interfaces + ";mixins=" + mixins 
> + "}";
> }
> Throws an NPE when classExpr is null. The following is 
> an example where this can happen...
> InterfaceIntroduction ii = new InterfaceIntroduction
> (name, new TypeExpressionParser(new StringReader
> ("class("+className+")")).Start() , INTRODUCTIONS);
> AspectManager.instance().addInterfaceIntroduction(ii);
> log.debug("PRE-bind(): Applied! " + ii );
> the last line does an implicit ii.toString() and throws the 
> NPE.
>  

-- 
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

Reply via email to