[ http://jira.jboss.com/jira/browse/JBAOP-70?page=history ]

Paul Extance updated JBAOP-70:
------------------------------

    Environment: Windows XP, JBoss-AOP v1.1 standalone,   (was: AOP v1.1 
standalone)

> 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

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



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to