Bugs item #1114376, was opened at 2005-02-01 16:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1114376&group_id=22866
Category: Aspects Group: None Status: Open Resolution: None Priority: 5 Submitted By: PaulE (ut_paule) Assigned to: Nobody/Anonymous (nobody) Summary: JBoss-AOP v1.1 - NullPointerException in toString() Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1114376&group_id=22866 ------------------------------------------------------- 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 JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development