File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Tiles+Ajax in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Tiles+Ajax in JSF" Watch "Tiles+Ajax in JSF" New topic
Author

Tiles+Ajax in JSF

Bhawana Tiwari
Greenhorn

Joined: Sep 05, 2008
Posts: 1
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!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles+Ajax in JSF
 
Similar Threads
JDBC / Oracle / Blob: compatibility problem
JSF Tiles Error
error - handleRequest EJPFD0004E
Problem compiling the generated servlet from JSP
Portal Access Problem