Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Any way to get details for exception "BCException: Do not call nameToSignature..."?

Andy Clement wrote:
That is an Aj bug, nothing you can do anything about I don't think - I
presume you are on a recent AJ as we have fixed things like that in
the past?  The unresolved type is '[Ljava.lang.Class' (Array of
Class).

Well, I'm using 1.5.3. Should I be using a later development build?

(BTW, the context/trigger is a spring FactoryBean that returns as its object Class[].)

-barry

Andy.

On 10/07/07, Barry Kaplan <groups1@xxxxxxxxxxx> wrote:
I get the below message when LTWing. But the message does not indicate
the aspect, the pointcut, the target, nor the unresolved type. I don't
have any idea how to determine what is going wrong.

(In this case, the weaving is via springs <aop:aspectj-autoproxy>. But
the below error seems be in the parsing, not the actual weaving.)

thanks!

----
[#|2007-07-10T14:16:42.072-0400|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-0;|July
10, 2007 02:16:42 PM EDT:4942:DEBUG :httpSSLWorkerThread-8080-0
:AspectJExpressionPointcut.matches:221: PointcutExpression matching
rejected target class
org.aspectj.weaver.BCException: Do not call nameToSignature with
something that looks like a signature (descriptor): '[Ljava.lang.Class;'

    at
org.aspectj.weaver.UnresolvedType.nameToSignature(UnresolvedType.java:751) at org.aspectj.weaver.UnresolvedType.forName(UnresolvedType.java:312)
    at org.aspectj.weaver.World.resolve(World.java:338)
    at
org.aspectj.weaver.internal.tools.PointcutExpressionImpl.couldMatchJoinPointsInType(PointcutExpressionImpl.java:76)

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top