Community
Participate
Working Groups
Created attachment 267535 [details] Error dumps, partial test cases for method + constructor tracing, and aspect (with supporting files) We're attempting to define an aspect for LTW of trace logging of methods and constructors. Method tracing is working well, now that we're excluding CGLIB from being woven (was previously leading to a VerifyError about invalid constant in pool). But, now constructor tracing throws an NPE, and it doesn't seem like there's a workaround for this. Error dump, partial test cases for method + constructor tracing, and aspect (with supporting files) are attached. If I change the "around" advice to "before" and "after" advice, I get "java.lang.VerifyError: Bad local variable type" instead. That error trace is also attached. This Gradle submodule is using: compile group: 'org.springframework', name: 'spring-web', version: '4.3.5.RELEASE' testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19' testCompile group: 'org.powermock', name: 'powermock-module-junit4', version: '1.6.5' testCompile group: 'org.powermock', name: 'powermock-api-mockito', version: '1.6.5'