Community
Participate
Working Groups
When there is a binding error (eg, the type specified in a pointcut args does not match the bound method type) the below error is emitted. This message provides no context as the source of the error. 25 Jun 22:25:56,285 ERROR-AspectJWeaverLogger - incompatible type, expected java.util.Map found BindingTypePattern(java.util.Set, 1). Check the type specified in your pointcut [][main][com.foliofn.infra.aspectj.AspectJWeaverLogger]
Fixed - now includes the context: error at before(Map m): p(m) { ^ C:\temp\ajcSandbox\aspectj16_1\ajcTest3072.tmp\A.java:14:0::0 incompatible type, expected java.util.Set found BindingTypePattern(java.util.Map, 0). Check the type specified in your pointcut