Hello, I'm working for a simple Pageflow, realised in Seam, for a while. I thougt I got it running but something is missing. When accessing a Seam Component over a jsp-file like:
<h:outputText value="#{purchaseOrder1.number}"/> the function getNumber() in the component-class PurchaseOrder1 is called and I get the error-message from the browser: anonymous wrote : javax.servlet.ServletException: Cannot get value for expression '#{purchaseOrder1.number}' | javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) | org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | | and the app-server says: anonymous wrote : 16:44:37,062 ERROR [STDERR] java.lang.NullPointerException | 16:44:37,062 ERROR [STDERR] at org.jboss.seam.core.Pageflow.begin(Pageflow.java:191) | 16:44:37,062 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInter | ceptor.beginNavigation(ConversationInterceptor.java:200) | 16:44:37,062 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInter | ceptor.beginConversation(ConversationInterceptor.java:186) | 16:44:37,062 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInter | ceptor.beginConversationIfNecessary(ConversationInterceptor.java:146) | 16:44:37,062 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInter | ceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:70) | 16:44:37,062 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0( | Native Method) and many more. My code is oriented on the numberguess-example. Without calling the seam-component the jsp-site starts very well with URI-mapping anonymous wrote : http://localhost:8080/seam-purchaseOrder1/purchaseOrder1.seam but without initiating the pageflow. Thanks for your help, Regards Frank View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949633#3949633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949633 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user