-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.4.0, 7.5.0, 7.6.0, 7.7.0, 7.8.0
-
None
Observed Behavior
- when the maven profile openwebbeans-embedded-1 of engine-cdi is executed, eight test cases fail due to a null pointer exception
CompleteTaskTest.testCompleteTask ProcessVariableLocalTypedTest.testProcessVariableLocalTypeAnnotation ProcessVariableTypedTest.testProcessVariableTypeAnnotation StartProcessTest.testStartProcessByKey ProgrammaticBeanLookupTest.testLookupShouldFindSpecialization ProgrammaticBeanLookupTest.testLookupShouldFindAlternative ProgrammaticBeanLookupTest.testLookupBean ProgrammaticBeanLookupTest.testLookupShouldSupportProducerMethods
- IBM Websphere 8.0 / 8.5 uses Open Web Beans 1.1.0 as CDI implementation
- The defined Open Web Beans version of the pom.xml is 1.1.3
- If the version is set to 1.1.0 all test cases fail due to a dependency problem
Hint
To get the profile running, add the following dependency to the dependencyManagement section of pom.xml (project.profiles.profile:"id=openwebbeans-embedded-1".dependencyManagement):
<dependency> <groupId>org.jboss.arquillian</groupId> <artifactId>arquillian-bom</artifactId> <version>1.0.2.Final</version> <scope>import</scope> <type>pom</type> </dependency>