[weld-issues] [JBoss JIRA] Commented: (CDITCK-228) 2 CDI TCK Failures after latest Bean Validation integration into Java EE 6 RI

Martin Kouba (JIRA) jira-events at lists.jboss.org
Thu Sep 22 06:57:26 EDT 2011


    [ https://issues.jboss.org/browse/CDITCK-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629834#comment-12629834 ] 

Martin Kouba commented on CDITCK-228:
-------------------------------------

Related to this issue we made all package-private classes/interfaces/annotations public.

> 2 CDI TCK Failures after latest Bean Validation integration into Java EE 6 RI
> -----------------------------------------------------------------------------
>
>                 Key: CDITCK-228
>                 URL: https://issues.jboss.org/browse/CDITCK-228
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>    Affects Versions: 1.0.4.Final
>            Reporter: Kyle Grucci
>            Assignee: Martin Kouba
>             Fix For: 1.0.4.Final
>
>
> This occurs in 1.0.4.SP3 
> As per recent discussions, we're trying to test a new Java EE 6 RI build with the latest Bean Validation code integrated.  When we run the CDI TCK with it, we are now seeing the following errors.  Any idea what the problem could be?
> Tests
> -------
> org.jboss.jsr299.tck.tests.event.observer.enterprise.EnterpriseEventInheritenceTest testNonStaticObserverMethodIndirectlyInherited
> org.jboss.jsr299.tck.tests.event.observer.enterprise.EnterpriseEventInheritenceTest testNonStaticObserverMethodInherited
> 1.  org.jboss.jsr299.tck.tests.event.observer.enterprise.EnterpriseEventInheritenceTest testNonStaticObserverMethodIndirectlyInherited
> javax.enterprise.event.ObserverException
>    at java.lang.Class.newInstance0(Class.java:372)
>    at java.lang.Class.newInstance(Class.java:325)
>    at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
>    at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
>    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
>    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
>    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
>    at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
>    at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
>    at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
>    at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
>    at org.jboss.jsr299.tck.tests.event.observer.enterprise.EnterpriseEventInheritenceTest.testNonStaticObserverMethodIndirectlyInherited(EnterpriseEventInheritenceTest.java:55)
>    at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
>    at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
>    at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
>    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
>    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
>    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
>    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
>    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
>    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
>    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>    at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.IllegalAccessError: tried to access class org.jboss.jsr299.tck.tests.event.observer.enterprise.StockPrice from class org.jboss.jsr299.tck.tests.event.observer.enterprise.StockWatcherLocal$1879483017$Proxy$_$$_Weld$Proxy$
>    at org.jboss.jsr299.tck.tests.event.observer.enterprise.StockWatcherLocal$1879483017$Proxy$_$$_Weld$Proxy$.observeStockPrice(StockWatcherLocal$1879483017$Proxy$_$$_Weld$Proxy$.java)
>    at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
>    at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
>    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
>    ... 63 more
> ... Removed 42 stack frames
> 2.  org.jboss.jsr299.tck.tests.event.observer.enterprise.EnterpriseEventInheritenceTest testNonStaticObserverMethodInherited
> javax.enterprise.event.ObserverException
>    at java.lang.Class.newInstance0(Class.java:372)
>    at java.lang.Class.newInstance(Class.java:325)
>    at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
>    at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
>    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
>    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
>    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
>    at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
>    at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
>    at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
>    at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
>    at org.jboss.jsr299.tck.tests.event.observer.enterprise.EnterpriseEventInheritenceTest.testNonStaticObserverMethodInherited(EnterpriseEventInheritenceTest.java:44)
>    at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
>    at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
>    at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
>    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
>    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
>    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
>    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
>    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
>    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
>    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>    at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.IllegalAccessError: tried to access class org.jboss.jsr299.tck.tests.event.observer.enterprise.Egg from class org.jboss.jsr299.tck.tests.event.observer.enterprise.FarmerLocal$LazyFarmerLocal$637225338$Proxy$_$$_Weld$Proxy$
>    at org.jboss.jsr299.tck.tests.event.observer.enterprise.FarmerLocal$LazyFarmerLocal$637225338$Proxy$_$$_Weld$Proxy$.observeEggLaying(FarmerLocal$LazyFarmerLocal$637225338$Proxy$_$$_Weld$Proxy$.java)
>    at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
>    at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
>    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
>    ... 63 more
> ... Removed 42 stack frames

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list