[ http://jira.jboss.com/jira/browse/JBAOP-60?page=history ]
     
Bill Burke closed JBAOP-60:
---------------------------

    Resolution: Won't Fix

too old to fix

> Method field and constructor pointcut
> -------------------------------------
>
>          Key: JBAOP-60
>          URL: http://jira.jboss.com/jira/browse/JBAOP-60
>      Project: JBoss AOP
>         Type: Bug
>     Reporter: SourceForge User
>     Assignee: Bill Burke

>
>
> SourceForge Submitter: lseinturier .
> With JBoss AOP DR2, when declaring a method pointcut 
> in jboss-aop.xml the program execution fails with a 
> NullPointerException: 
> Caused by: java.lang.NullPointerException
>       at 
> org.jboss.aop.AspectXmlLoader.deployMethodPointcut
> (AspectXmlLoader.java:262)
>       at org.jboss.aop.AspectXmlLoader.deployXML
> (AspectXmlLoader.java:683)
>       at org.jboss.aop.AspectXmlLoader.deployXML
> (AspectXmlLoader.java:818)
>       ... 8 more
> java.lang.Error: Error deploying aop configrations
> Line 262 of deployMethodPointcut is
> if (attr != null && group.trim().equals(""))
> it should be
> if (attr != null && attr.trim().equals(""))
> The error has been cut and paste in methods for 
> defining field pointcuts and constructor pointcut.
> Line 370 of DeployFieldPointcut should be
> if (attr != null && attr.trim().equals(""))
> Line 420 of deployConstructorPointcut should be
> if (attr != null && attr.trim().equals(""))
> Lionel.

-- 
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
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to