Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Ajax in JSF using AJAX4JSF

  Asked By: Tye    Date: Mar 27    Category: Java    Views: 919
  

I`m new to ajax4jsf . I`m trying to use ajax in my jsf application. I
used Jboss seam in my app. for using ajax4jsf , i was copy the
ajax4jsf.jar in my WEB-INF/lib , deploy app and start jboss , but
when i want to link to my app e.x (http://localhost:8080/myapp), am
exception was thrown as below :
10:05:29,781 ERROR [[Faces Servlet]] Servlet.service() for servlet
Faces Servlet threw exception
java.lang.NullPointerException at
org.jboss.seam.contexts.PageContext.getCurrentReadableMap
(PageContext.java:62) at org.jboss.seam.contexts.PageContext.get
(PageContext.java:52) at
org.jboss.seam.contexts.Contexts.lookupInStatefulContexts
(Contexts.java:125) at org.jboss.seam.Component.getInstance
(Component.java:1026) at
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable
(SeamVariableResolver.java:43) at
org.ajax4jsf.framework.ajax.AjaxContext.getCurrentInstance
(AjaxContext.java:154) at
org.ajax4jsf.framework.renderer.AjaxPhaseListener.beforePhase
(AjaxPhaseListener.java:124) at
org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore
(LifecycleImpl.java:520) at
org.apache.myfaces.lifecycle.LifecycleImpl.render
(LifecycleImpl.java:342) at javax.faces.webapp.FacesServlet.service
(FacesServlet.java:107) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252) at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173) at
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter
(BaseXMLFilter.java:127) at
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter
(BaseFilter.java:277) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202) at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173) at
org.jboss.seam.servlet.SeamRedirectFilter.doFilter
(SeamRedirectFilter.java:23)

////////////////////////////////////////

Do anyone know what is the problem?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Ajax in JSF using AJAX4JSF Or get search suggestion and latest updates.




Tagged: