[seam-issues] [JBoss JIRA] Created: (SOLDER-97) GenericBeanAlternativeTest fails on glassfish3.1 with weld snapshot

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Tue Mar 29 08:00:37 EDT 2011


GenericBeanAlternativeTest fails on glassfish3.1 with weld snapshot
-------------------------------------------------------------------

                 Key: SOLDER-97
                 URL: https://issues.jboss.org/browse/SOLDER-97
             Project: Seam Solder
          Issue Type: Bug
          Components: Compliance
    Affects Versions: 3.0.0.Final
         Environment: glassfish3.1 + weld-osgi-bundle-1.1.0-20110328.042304-8
            Reporter: Marek Schmidt
            Assignee: Dan Allen
            Priority: Minor
             Fix For: The Future


The GenericBeanAlternativeTest fails in Solder on glassfish3.1 + latest weld snapshot.

According to http://seamframework.org/Seam3/Compatibility, 

* several Solder features aren't available on GlassFish (EL evaluator, default beans, generic beans, unwraps, service handler)

don't work on glassfish due to the "Library-to-application visibililty" issue. 

the referenced test case for this issue VisibilityOfBeanInWebModuleFromBeanManagerInBeanLibraryTest in the compatibility module works fine in this environment, though, so it is not clear if the failing of the GenericBeanAlternativeTest is a known glassfish/weld issue or not, and if it is, which test in compatibility module should cover it.


Tests in error: 
  testGenericAlternatives(org.jboss.seam.solder.test.bean.generic.alternative.GenericBeanAlternativeTest)
  testGenericProducerMethodAlternatives(org.jboss.seam.solder.test.bean.generic.alternative.GenericBeanAlternativeTest)

-------------------------------------------------------------------------------
Test set: org.jboss.seam.solder.test.bean.generic.alternative.GenericBeanAlternativeTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.007 sec <<< FAILURE!
testGenericAlternatives(org.jboss.seam.solder.test.bean.generic.alternative.GenericBeanAlternativeTest)  Time elapsed: 0.002 sec  <<< ERROR!
org.jboss.arquillian.spi.ArquillianProxyException: junit.framework.ComparisonFailure : null expected:<[Alternative ]Big Bam> but was:<[]Big Bam> [Proxied because : Could not fin
d suitable constructor]
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at org.jboss.seam.solder.test.bean.generic.alternative.GenericBeanAlternativeTest.testGenericAlternatives(GenericBeanAlternativeTest.java:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:259)
        at org.jboss.arquillian.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:63)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.arquillian.impl.core.ObserverImpl.invoke(ObserverImpl.java:90)
        at org.jboss.arquillian.impl.core.EventContextImpl.invokeObservers(EventContextImpl.java:98)
        at org.jboss.arquillian.impl.core.EventContextImpl.proceed(EventContextImpl.java:80)
        at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:126)
        at org.jboss.arquillian.impl.core.ManagerImpl.fire(ManagerImpl.java:106)
        at org.jboss.arquillian.impl.core.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)
...




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


More information about the seam-issues mailing list