You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/05/03 21:24:41 UTC

[jira] Created: (MSUREFIRE-100) IllegalAccessError with a dynamic proxy

IllegalAccessError with a dynamic proxy
---------------------------------------

         Key: MSUREFIRE-100
         URL: http://jira.codehaus.org/browse/MSUREFIRE-100
     Project: Maven 2.x Surefire Plugin
        Type: Bug

    Versions: 2.2    
    Reporter: Carlos Sanchez
     Fix For: 2.2


I found this regression in the code from the book, migration chapter, when using 2.2-SNAPSHOT instead of 2.1.3

-------------------------------------------------------------------------------
Test set: org.springframework.aop.support.DelegatingIntroductionInterceptorTests
-------------------------------------------------------------------------------
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.141 sec <<< FAILURE!
testIntroductionInterceptorWithInterfaceHierarchy(org.springframework.aop.support.DelegatingIntroductionInterceptorTests)  Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalAccessError: class org.springframework.aop.support.$Proxy9 cannot access its superinterface org.springframework.aop.support.DelegatingIntroductionInterceptorTests$SubTimeStamped
	at java.lang.reflect.Proxy.defineClass0(Native Method)
	at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
	at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94)
	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
	at org.springframework.aop.support.DelegatingIntroductionInterceptorTests.testIntroductionInterceptorWithInterfaceHierarchy(DelegatingIntroductionInterceptorTests.java:88)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (SUREFIRE-65) IllegalAccessError with a dynamic proxy

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated SUREFIRE-65:
---------------------------------

    Affects Version/s: 2.0 (2.2 plugin)
        Fix Version/s: 2.0 (2.2 plugin)

> IllegalAccessError with a dynamic proxy
> ---------------------------------------
>
>                 Key: SUREFIRE-65
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-65
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.0 (2.2 plugin)
>            Reporter: Carlos Sanchez
>         Assigned To: Brett Porter
>             Fix For: 2.0 (2.2 plugin)
>
>
> I found this regression in the code from the book, migration chapter, when using 2.2-SNAPSHOT instead of 2.1.3
> -------------------------------------------------------------------------------
> Test set: org.springframework.aop.support.DelegatingIntroductionInterceptorTests
> -------------------------------------------------------------------------------
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.141 sec <<< FAILURE!
> testIntroductionInterceptorWithInterfaceHierarchy(org.springframework.aop.support.DelegatingIntroductionInterceptorTests)  Time elapsed: 0 sec  <<< ERROR!
> java.lang.IllegalAccessError: class org.springframework.aop.support.$Proxy9 cannot access its superinterface org.springframework.aop.support.DelegatingIntroductionInterceptorTests$SubTimeStamped
> 	at java.lang.reflect.Proxy.defineClass0(Native Method)
> 	at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
> 	at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94)
> 	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptorTests.testIntroductionInterceptorWithInterfaceHierarchy(DelegatingIntroductionInterceptorTests.java:88)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MSUREFIRE-100) IllegalAccessError with a dynamic proxy

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSUREFIRE-100?page=all ]
     
Brett Porter closed MSUREFIRE-100:
----------------------------------

     Assign To: Brett Porter
    Resolution: Fixed

working now

> IllegalAccessError with a dynamic proxy
> ---------------------------------------
>
>          Key: MSUREFIRE-100
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-100
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Versions: 2.2
>     Reporter: Carlos Sanchez
>     Assignee: Brett Porter
>      Fix For: 2.2

>
>
> I found this regression in the code from the book, migration chapter, when using 2.2-SNAPSHOT instead of 2.1.3
> -------------------------------------------------------------------------------
> Test set: org.springframework.aop.support.DelegatingIntroductionInterceptorTests
> -------------------------------------------------------------------------------
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.141 sec <<< FAILURE!
> testIntroductionInterceptorWithInterfaceHierarchy(org.springframework.aop.support.DelegatingIntroductionInterceptorTests)  Time elapsed: 0 sec  <<< ERROR!
> java.lang.IllegalAccessError: class org.springframework.aop.support.$Proxy9 cannot access its superinterface org.springframework.aop.support.DelegatingIntroductionInterceptorTests$SubTimeStamped
> 	at java.lang.reflect.Proxy.defineClass0(Native Method)
> 	at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
> 	at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94)
> 	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptorTests.testIntroductionInterceptorWithInterfaceHierarchy(DelegatingIntroductionInterceptorTests.java:88)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MSUREFIRE-100) IllegalAccessError with a dynamic proxy

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-100?page=comments#action_64694 ] 

Carlos Sanchez commented on MSUREFIRE-100:
------------------------------------------

The other failure I get in all the modules is

-------------------------------------------------------------------------------
Test set: org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests
-------------------------------------------------------------------------------
Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.093 sec <<< FAILURE!
testInvokesMethodOnEjbInstance(org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests)  Time elapsed: 0.016 sec  <<< ERROR!
java.lang.IllegalAccessError: class org.springframework.ejb.access.$Proxy7 cannot access its superinterface org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests$BusinessMethods
	at java.lang.reflect.Proxy.defineClass0(Native Method)
	at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
	at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94)
	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
	at org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests.testInvokesMethodOnEjbInstance(LocalSlsbInvokerInterceptorTests.java:94)

testInvokesMethodOnEjbInstanceWithSeparateBusinessMethods(org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests)  Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalAccessError: class org.springframework.ejb.access.$Proxy9 cannot access its superinterface org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests$BusinessMethods
	at java.lang.reflect.Proxy.defineClass0(Native Method)
	at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
	at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94)
	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
	at org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests.testInvokesMethodOnEjbInstanceWithSeparateBusinessMethods(LocalSlsbInvokerInterceptorTests.java:119)

testApplicationException(org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests)  Time elapsed: 0.015 sec  <<< ERROR!
java.lang.IllegalAccessError: class org.springframework.ejb.access.$Proxy10 cannot access its superinterface org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests$LocalInterfaceWithBusinessMethods
	at java.lang.reflect.Proxy.defineClass0(Native Method)
	at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
	at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94)
	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
	at org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests.testException(LocalSlsbInvokerInterceptorTests.java:141)
	at org.springframework.ejb.access.LocalSlsbInvokerInterceptorTests.testApplicationException(LocalSlsbInvokerInterceptorTests.java:156)



> IllegalAccessError with a dynamic proxy
> ---------------------------------------
>
>          Key: MSUREFIRE-100
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-100
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Versions: 2.2
>     Reporter: Carlos Sanchez
>      Fix For: 2.2

>
>
> I found this regression in the code from the book, migration chapter, when using 2.2-SNAPSHOT instead of 2.1.3
> -------------------------------------------------------------------------------
> Test set: org.springframework.aop.support.DelegatingIntroductionInterceptorTests
> -------------------------------------------------------------------------------
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.141 sec <<< FAILURE!
> testIntroductionInterceptorWithInterfaceHierarchy(org.springframework.aop.support.DelegatingIntroductionInterceptorTests)  Time elapsed: 0 sec  <<< ERROR!
> java.lang.IllegalAccessError: class org.springframework.aop.support.$Proxy9 cannot access its superinterface org.springframework.aop.support.DelegatingIntroductionInterceptorTests$SubTimeStamped
> 	at java.lang.reflect.Proxy.defineClass0(Native Method)
> 	at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
> 	at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94)
> 	at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptorTests.testIntroductionInterceptorWithInterfaceHierarchy(DelegatingIntroductionInterceptorTests.java:88)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira