Hello everybody.

While developing junit tests in GWT app I have stucked on a problem
that I cannot solve for couple of days now.
In normal runtime I can normally call RPC services that use JPA
(Toplink and Glassfish Appserver) for data access purposes, but during
Junit tests (My tests extends GWTTestCase and use delayTestFinish and
finishTest for asynchronous calls as described in GWT documentation)
RPC methods that use injected objects are failing with
NullPointerException. In other words @EJB annotatnion doesn't work,
Beans are not injected and references to them are nulls.

Have anybody had that issue? Does anybody know a solution? Thx in
advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to