tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Guay-Paquet <ber...@step.polymtl.ca>
Subject TomEE embedded 1.5.1 and Arquillian
Date Tue, 22 Jan 2013 16:55:46 GMT
Hello,

I'm trying to use TomEE embedded for tests with Arquillian but the 
simple example from the "Getting Started" guide fails. It seems that 
injection is not being performed in the test when using TomEE 1.5.1. It 
works fine with TomEE 1.0.0 and 1.5.0.

I get:
java.lang.NullPointerException
     at greeter.GreeterTest.test1(GreeterTest.java:32)
     [...]
which is where a method call is performed on the injected object.

Here is the (working, TomEE 1.5.0) test app:
https://github.com/berniegp/test-arquillian-tomee

Did I miss a step somewhere or is this a bug?

Regards,
Bertrand

Mime
View raw message