[jboss-user] [JBoss Seam] - Re: NullPointerException when get a row from a list

SmokingAPipe do-not-reply at jboss.com
Mon Feb 5 03:01:58 EST 2007


If the cnMessages component has not been accessed from a page, then Seam will not have initialized it (ie, called the factory).  Just because your other class is trying to access it, Seam doesn't know anything about that and won't magically call the factory method.  That class will have to call the factory method manually, or do it some other way.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011188#4011188

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011188



More information about the jboss-user mailing list