myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Mahoney (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-888) NPE when using AjaxAnywhere
Date Thu, 08 Feb 2007 15:21:06 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471357
] 

Peter Mahoney commented on TOMAHAWK-888:
----------------------------------------

Yes. I now have it working with tree2.

> NPE when using AjaxAnywhere
> ---------------------------
>
>                 Key: TOMAHAWK-888
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-888
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects Versions: 1.1.5-SNAPSHOT
>            Reporter: Peter Mahoney
>             Fix For: 1.1.5-SNAPSHOT
>
>         Attachments: HtmlRendererUtils.patch
>
>
> The following exception is generated following an AjaxAnywhere request:
> java.lang.NullPointerException
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.isAllowedCdataSection(HtmlRendererUtils.java:1121)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl.closeStartTagIfNecessary(HtmlResponseWriterImpl.java:200)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl.endElement(HtmlResponseWriterImpl.java:248)
> 	at org.apache.myfaces.renderkit.html.util.DefaultAddResource$ScriptPositionedInfo.writePositionedInfo(DefaultAddResource.java:1051)
> 	at org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeWithFullHeader(DefaultAddResource.java:836)
> 	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:170)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:65)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
> 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
> 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
> 	at com.dbplc.web.RedirectServlet.doGet(RedirectServlet.java:186)
> 	at com.dbplc.web.RedirectServlet.doPost(RedirectServlet.java:247)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Unknown Source)
> It seems that at the point this code is run, a FacesContext does not exist.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message