myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-890) trinidad-demo fails to run in jetty
Date Wed, 09 Jan 2008 17:20:34 GMT
trinidad-demo fails to run in jetty
-----------------------------------

                 Key: TRINIDAD-890
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-890
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.2.4-core
            Reporter: Andrew Robinson


Using command:
(cd trinidad-examples/trinidad-demo/; mvn -PjettyConfig jetty:run)

The demo is unusable.

1) the ppr page fails miserably (http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx):
Caused by: java.lang.NullPointerException
        at org.apache.myfaces.taglib.core.SubviewTag.createVerbatimComponentFromBodyContent(SubviewTag.java:65)
        at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:421)
        at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:69)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_outputFormatted_18(org.apache.jsp.demos.pprDemos_jspx:2860)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_f_subview_0(org.apache.jsp.demos.pprDemos_jspx:2831)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_panelGroupLayout_14(org.apache.jsp.demos.pprDemos_jspx:2794)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_panelHeader_9(org.apache.jsp.demos.pprDemos_jspx:2759)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_panelGroupLayout_0(org.apache.jsp.demos.pprDemos_jspx:502)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_panelHeader_0(org.apache.jsp.demos.pprDemos_jspx:431)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_panelPage_0(org.apache.jsp.demos.pprDemos_jspx:311)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_form_0(org.apache.jsp.demos.pprDemos_jspx:275)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_tr_document_0(org.apache.jsp.demos.pprDemos_jspx:241)
        at org.apache.jsp.demos.pprDemos_jspx._jspx_meth_f_view_0(org.apache.jsp.demos.pprDemos_jspx:206)
        at org.apache.jsp.demos.pprDemos_jspx._jspService(org.apache.jsp.demos.pprDemos_jspx:175)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        ... 45 more

2) Invalid PPR errors can be reproduced with http://localhost:8080/trinidad-demo/faces/demos/showDetailDiscloseOne.jspx
page:
"Invalid PPR response. The response-headers were:\nContent-Language: en\nContent-Type: text/xml;
charse..."

Response:
<?xml version="1.0" ?>
<?Tr-XHR-Response-Type ?>
<content action="/trinidad-demo/faces/demos/showDetailDiscloseOne.jspx"> <fragment><![CDATA[<table
id="j_id_id6" class="x6o" style="null;display:none;" cellpadding="0" cellspacing="0" border="0"
summary=""><tbody><tr>
                    <td class="af_messages_top-start"></td>
                      
                    <td class="af_messages_top"></td>
                      
                    <td class="af_messages_top-end"></td>
                  </tr><tr>
                    <td class="af_messages_start"></td>
                      
                    <td><!--Start: org.apache.myfaces.trinidad.Messages["j_id_id6"]--><div
class="xcw"><div>
                          <h1 class="x6n"><span class="x6m">Error</span></h1>
                        </div>
                        <ol id="j_id_id6__LIST__" class="xa7 xa8"></ol>
                      </div></td>
                      
                    <td class="af_messages_end"></td>
                  </tr><tr>
                    <td class="af_messages_bottom-start"></td>
                      
                    <td class="af_messages_bottom"></td>
                      
                    <td class="af_messages_bottom-end"></td>
                  </tr></tbody></table>]]></fragment><fragment><![CDATA[<div
id="panelHeader">
                <h1 class="x6j">Backing bean enforcing only one disclosed</h1>
                <!--Start: org.apache.myfaces.trinidad.Panel["j_id_id8"]--><table
id="j_id_id8__xc_" cellpadding="0" cellspacing="0" border="0" summary=""><tr>
                    <td class="x15" nowrap="nowrap"><span id="j_id_id9::icon" style="display:none;"><a
name="_msgAnc_j_id_id9" title="Error" class="xc">X</a></span>&#xa0;<label
for="j_id_id9" accesskey="C"><span class="x9c">C</span>urrent key</label></td>
                      
                    <td valign="top" nowrap="nowrap" class="AFContentCell"><!--Start:
org.apache.myfaces.trinidad.Panel["j_id_id8"]--><table cellpadding="0" cellspacing="0"
border="0" summary=""><tr>
                          <td><!--Start: org.apache.myfaces.trinidad.Input["j_id_id9"]--><span
class="x1u"><input id="j_id_id9" name="j_id_id9" class="x25" size="30" type="text" value="ItemC"></input></span></td>
                            
                          <td><!--Start: org.apache.myfaces.trinidad.Command["manualUpdate"]-->
                            <button id="manualUpdate" name="manualUpdate" type="button"
onclick="TrPage._autoSubmit('j_id_id4','manualUpdate',event,1);return false;" class="x76"
accesskey="U"><span class="x9c">U</span>pdate</button>
                          </td>
                        </tr></table></td>
                  </tr><!--Start: org.apache.myfaces.trinidad.Panel["j_id_id8"]--><tr>
                    <td></td>
                      
                    <td class="AFComponentMessageCell"><!--Start: org.apache.myfaces.trinidad.Panel["j_id_id8"]--><span
id="j_id_id9::msg" class="x8z"></span></td>
                  </tr></table><!--Start: org.apache.myfaces.trinidad.Panel["j_id_id12"]--><div
class="xa2">
                  <h2 class="x6j">Iterator:</h2>
                  <!--Start: org.apache.myfaces.trinidad.ShowDetail["showDetialComponent"]--><span
id="iterator:0:showDetialComponent"><div><a onclick="return _submitHideShow('j_id_id4',1,'show','iterator:0:showDetialComponent','iterator:0:showDetialComponent__xc_')"
href="#" id="iterator:0:showDetialComponent__xc_"><span title="Select to show information"
class="xa6">&#x25ba;</span></a><a onclick="return _submitHideShow('j_id_id4',1,'show','iterator:0:showDetialComponent','iterator:0:showDetialComponent__xc_')"
href="#" class="xi">ItemA</a></div></span><!--Start: org.apache.myfaces.trinidad.ShowDetail["showDetialComponent"]--><span
id="iterator:1:showDetialComponent"><div><a onclick="return _submitHideShow('j_id_id4',1,'show','iterator:1:showDetialComponent','iterator:1:showDetialComponent__xc_')"
href="#" id="iterator:1:showDetialComponent__xc_"><span title="Select to show information"
class="xa6">&#x25ba;</span></a><a onclick="return _submitHideShow('j_id_id4',1,'show','iterator:1:showDetialComponent','iterator:1:showDetialComponent__xc_')"
href="#" class="xi">ItemB</a></div></span><!--Start: org.apache.myfaces.trinidad.ShowDetail["showDetialComponent"]--><span
id="iterator:2:showDetialComponent"><div><a onclick="return _submitHideShow('j_id_id4',1,'hide','iterator:2:showDetialComponent','iterator:2:showDetialComponent__xc_')"
href="#" id="iterator:2:showDetialComponent__xc_"><span title="Select to hide information"
class="xa6">&#x25bc;</span></a><a onclick="return _submitHideShow('j_id_id4',1,'hide','iterator:2:showDetialComponent','iterator:2:showDetialComponent__xc_')"
href="#" class="xi">ItemC</a></div><div><!--Start: org.apache.myfaces.trinidad.Output["j_id_id16"]-->Disclosed</div></span><!--Start:
org.apache.myfaces.trinidad.ShowDetail["showDetialComponent"]--><span id="iterator:3:showDetialComponent"><div><a
onclick="return _submitHideShow('j_id_id4',1,'show','iterator:3:showDetialComponent','iterator:3:showDetialComponent__xc_')"
href="#" id="iterator:3:showDetialComponent__xc_"><span title="Select to show information"
class="xa6">&#x25ba;</span></a><a onclick="return _submitHideShow('j_id_id4',1,'show','iterator:3:showDetialComponent','iterator:3:showDetialComponent__xc_')"
href="#" class="xi">ItemD</a></div></span></div><!--Start: org.apache.myfaces.trinidad.Panel["j_id_id17"]--><div
class="xa2">
                  <h2 class="x6j">Tabs:</h2>
                  <!--Start: org.apache.myfaces.trinidad.ShowOne["j_id_id18"]--><span
id="j_id_id18"><table class="xap" cellpadding="0" cellspacing="0" border="0" width="100%"
summary=""><tr>
                        <td class="xat"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xar"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id19"]--><a
id="j_id_id19" name="j_id_id19" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id19'});return
false" href="#">ItemA</a></td>
                          
                        <td class="af_panelTabbed_separator"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xar"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id22"]--><a
id="j_id_id22" name="j_id_id22" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id22'});return
false" href="#">ItemB</a></td>
                          
                        <td class="af_panelTabbed_separator-before-selected"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xas"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id25"]--><a
id="j_id_id25" name="j_id_id25" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id25'});return
false" href="#"><span class="x9g">Selected</span>ItemC</a></td>
                          
                        <td class="af_panelTabbed_separator-after-selected"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xar"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id28"]--><a
id="j_id_id28" name="j_id_id28" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id28'});return
false" href="#">ItemD</a></td>
                          
                        <td class="xau"><b style="margin-left:0px"></b></td>
                      </tr></table><div class="af_panelTabbed_body"><!--Start:
org.apache.myfaces.trinidad.Output["j_id_id27"]-->ItemC</div><!--Start: org.apache.myfaces.trinidad.ShowOne["j_id_id18"]--><table
class="xaq" cellpadding="0" cellspacing="0" border="0" width="100%" summary=""><tr>
                        <td class="xat"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xar"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id19"]--><a
id="j_id_id19" name="j_id_id19" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id19'});return
false" href="#">ItemA</a></td>
                          
                        <td class="af_panelTabbed_separator"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xar"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id22"]--><a
id="j_id_id22" name="j_id_id22" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id22'});return
false" href="#">ItemB</a></td>
                          
                        <td class="af_panelTabbed_separator-before-selected"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xas"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id25"]--><a
id="j_id_id25" name="j_id_id25" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id25'});return
false" href="#"><span class="x9g">Selected</span>ItemC</a></td>
                          
                        <td class="af_panelTabbed_separator-after-selected"><b style="margin-left:0px"></b></td>
                          
                        <td height="1" nowrap="nowrap" class="xar"><!--Start: org.apache.myfaces.trinidad.ShowDetail["j_id_id28"]--><a
id="j_id_id28" name="j_id_id28" onclick="_submitPartialChange('j_id_id4',1,{partialTargets:'j_id_id18',event:'show',source:'j_id_id28'});return
false" href="#">ItemD</a></td>
                          
                        <td class="xau"><b style="margin-left:0px"></b></td>
                      </tr></table></span></div></div>]]></fragment><fragment><![CDATA[<span
id="tr_j_id_id4_Postscript"><input type="hidden" name="javax.faces.ViewState" value="!-21fdba46"></input><input
type="hidden" name="event"></input><input type="hidden" name="source"></input><input
type="hidden" name="partial"></input><input type="hidden" name="partialTargets"></input></span>]]></fragment>

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