shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ondrej Svetlik (JIRA)" <j...@apache.org>
Subject [jira] Created: (SHALE-470) Shale breaks ajax4jsf - NullPointerException at at org.ajax4jsf.renderkit.AjaxRendererUtils.buildAjaxFunction
Date Wed, 19 Sep 2007 02:52:36 GMT
Shale breaks ajax4jsf - NullPointerException at at org.ajax4jsf.renderkit.AjaxRendererUtils.buildAjaxFunction
-------------------------------------------------------------------------------------------------------------

                 Key: SHALE-470
                 URL: https://issues.apache.org/struts/browse/SHALE-470
             Project: Shale
          Issue Type: Bug
    Affects Versions: 1.1.0-SNAPSHOT
         Environment: shale nightly build 20070918
richfaces-3.1.0
tomcat-6.0.14
            Reporter: Ondrej Svetlik


Without shale the application works fine, with shale:
- Stack Trace

java.lang.NullPointerException
	at org.ajax4jsf.renderkit.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:390)
	at org.ajax4jsf.renderkit.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:369)
	at org.richfaces.renderkit.TreeRendererBase.getAjaxScript(TreeRendererBase.java:507)
	at org.richfaces.renderkit.html.TreeRenderer.doEncodeEnd(TreeRenderer.java:220)
	at org.richfaces.renderkit.html.TreeRenderer.doEncodeEnd(TreeRenderer.java:237)
	at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
	at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
	at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
	at org.richfaces.renderkit.html.SimpleToggleControlTemplate.doEncodeChildren(SimpleToggleControlTemplate.java:326)
	at org.richfaces.renderkit.html.SimpleToggleControlTemplate.doEncodeChildren(SimpleToggleControlTemplate.java:321)
	at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
	at org.richfaces.renderkit.html.SimpleTogglePanelRenderer.encodeChildren(SimpleTogglePanelRenderer.java:185)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
	at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
	at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
	at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:199)
	at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:194)
	at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:243)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:395)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
	at java.lang.Thread.run(Thread.java:595)

+- Component Tree
<ShaleViewRoot locale="cs_CZ" renderKitId="HTML_BASIC" rendered="true" transient="false"
viewId="/index.xhtml">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
    <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-type"
content="text/html; charset=utf-8"/> <title>
    Úvod
    - Knihkupectví Moudrá sova</title> </head> <body>
    <HtmlPanel id="j_id4" rendered="true" transient="false">
        header
        Knihkupectví Moudrá sova - administrace
        <HtmlSimpleTogglePanel ajaxSingle="false" bypassUpdates="false" id="j_id6" ignoreDupResponses="false"
immediate="false" label="Literatura" limitToList="false" opened="true" rendered="true" requestDelay="-2147483648"
switchType="client" timeout="-2147483648" transient="false" width="">
            pokus<br/>
            <HtmlTree ajaxSingle="false" ajaxSubmitSelection="true" bypassUpdates="false"
componentState="org.richfaces.component.state.TreeState@c573aba" first="0" id="j_id8" ignoreDupResponses="false"
immediate="false" limitToList="false" nodeSelectListener="#{categoryTree.nop}" preserveDataInRequest="true"
preserveModel="request" reRender="pokus" rendered="true" requestDelay="-2147483648" rowIndex="-1"
rows="0" showConnectingLines="true" switchType="client" timeout="-2147483648" toggleOnClick="false"
transient="false" value="org.richfaces.model.TreeNodeImpl@32d08faa" var="item"/>
        </HtmlSimpleTogglePanel>
        <HtmlOutputText escape="true" id="pokus" rendered="true" transient="false"/>
    </HtmlPanel>
    </body> </html>
</ShaleViewRoot>

-- 
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