voyent
Can't Instantiate Class Get NullPointerException  XML
Forum Index -> Woodstock to ICEfaces Migration
Author Message
vineetgarg

Joined: 28/Feb/2008 00:00:00
Messages: 8
Offline


Hi,

I am trying to use EJB3 with the icefaces but it seems that the way ManagedBeanFactory injects the beans context into the class is not working the same way as it use to works with Woodstock.

In woodstock, I directly write
@EJB
private SessionFacaceLocal sessionFacade;

and the server injects the context automatically into the variables and i was able to get the reference for the session bean.

But This same thing is not working with the IceFaces, when I tried to get the context of the bean using the the same line, it is not able to get the context and throws NullPointerException.

Can anybody please help me as its and very critical issue for my project porting from woodstock to IceFaces.

Thanks in Advance,

Regards,

Vineet Garg
frank.ye

Joined: 26/Oct/2004 00:00:00
Messages: 709
Offline


it sounds more likely a configuration problem,
Could you attach a simple project? ie a zip file with all related projects.
[Email]
sthiyagarajan

Joined: 02/Feb/2009 00:00:00
Messages: 9
Offline


which IDE used. And give the platform information for this. If u use the NB6.5 right click and choose insert code then select the ejb which one u want.
 
Forum Index -> Woodstock to ICEfaces Migration
Go to:   
Powered by JForum 2.1.7ice © JForum Team