• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tiles+Ajax in JSF

 
Bhawana Tiwari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i've been trying to integrate Tiles to my JSF Project. One of the pages has <a4j> tags in it. But as soon as i integrate Tiles, the same page starts giving a NullPointerException( at org.ajax4jsf.io.parser.FastHtmlParser.parse(FastHtmlParser.java:89))

Note : All other pages are working fine after Tiles Integration, also this Ajax page was working properly before.
Not getting any clue where the problem is...Please help.

The entire stackTrace is,
0000002a WebApp E SRVE0026E: [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
at org.ajax4jsf.io.parser.FastHtmlParser.parse(FastHtmlParser.java:89)
at org.ajax4jsf.io.parser.FastHtmlParser.parseHtml(FastHtmlParser.java:229)
at org.ajax4jsf.framework.ajax.xmlfilter.FilterServletResponseWrapper.parseContent(FilterServletResponseWrapper.java:613)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:271)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:759)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

jars used :
myfaces-impl-1.1.5.jar
myfaces-api-1.1.5.jar
tomahawk-1.1.6.jar
struts-1.2.8.jar
ajax4jsf-1.1.1.jar

Java Platform : jdk 1.4

Thanks in advance!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!