NullPointerException EEResourceProducerField:134

32 views
Skip to first unread message

Thomas Scheibelreiter

unread,
Oct 15, 2015, 10:33:44 AM10/15/15
to CDI-Unit
Hi guys

CdiRunner gives me a NPE at EEResourceProducerField:134 when starting up.

In the stack trace there is

at at.fhhagenberg.unitTesting.SurveyBeanWSTest$Proxy$_$$_WeldClientProxy.initMocks(Unknown Source)
so the problem might be my BaseTest:

public abstract class MockitoBaseTest {
@Before
public void initMocks() {
MockitoAnnotations.initMocks(this);
}
}

Any suggestions what to try?

Hilton Wichwski Silva

unread,
Oct 3, 2018, 3:06:31 PM10/3/18
to CDI-Unit
Are you use the right CDI version?
Reply all
Reply to author
Forward
0 new messages