0 Replies Latest reply on May 11, 2007 5:12 PM by Kevin Gutch

    FastFilter Exception

    Kevin Gutch Newbie

      Hi,

      I am trying to get the fast filter working on my pages. My site is almost completely XHTML compliant. I seem to almost have it except in a situation where I have a commandlink that throws this error. Any ideas? Thanks in advance.

      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException
      at org.ajax4jsf.xml.serializer.ToXHTMLStream.endElement(ToXHTMLStream.java:967)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249)
      at org.cyberneko.html.filters.Purifier.endElement(Purifier.java:311)
      at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249)
      at org.ajax4jsf.framework.ajax.xmlfilter.nekko.HtmlCorrectionFilter.insertEndElement(HtmlCorrectionFilter.java:78)
      at org.ajax4jsf.framework.ajax.xmlfilter.nekko.HtmlCorrectionFilter$TableHtmlCorrectionState.startElement(HtmlCorrectionFilter.java:136)
      at org.ajax4jsf.framework.ajax.xmlfilter.nekko.HtmlCorrectionFilter.startElement(HtmlCorrectionFilter.java:62)
      at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:179)
      at org.ajax4jsf.framework.ajax.xmlfilter.nekko.NekkoParser$ViewStateFilter.startElement(NekkoParser.java:327)
      at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:179)
      at org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:286)
      at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1009)
      at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:639)
      at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:545)
      at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:545)
      at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2407)
      at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1881)
      at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809)
      at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
      at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.ajax4jsf.framework.ajax.xmlfilter.nekko.NekkoParser.parseSAXSource(NekkoParser.java:193)
      at org.ajax4jsf.framework.ajax.xmlfilter.nekko.NekkoParser.parseHtml(NekkoParser.java:213)
      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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      at java.lang.Thread.run(Unknown Source)