myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <lu4...@gmail.com>
Subject Re: t:inputCalendar causing error with tomahawk12-1.1.9.jar
Date Tue, 01 Sep 2009 19:35:24 GMT
Hi

The problem is described here:

http://www.mail-archive.com/dev@myfaces.apache.org/msg34593.html

In 1.1.7, org.apache.myfaces.dateformat.SimpleDateFormatter was added. This
causes default converter for t:inputCalendar only supports java.util.Date
instances. Unfortunately, this restriction cause previous applications using
java.sql.Date fails.

The solution in your case is use a custom converter that implements
HtmlCalendarRenderer.DateConverter interface and deals with java.sql.Date
instances. Other option is apply the patch on
https://issues.apache.org/jira/browse/TOMAHAWK-1425, but I'm not very sure
if this one works or has side effects.

regards

Leonardo Uribe

2009/9/1 Sansaricq Marcel-EMS002 <Marcel.Sansaricq@motorola.com>

>  Hi Leonardo,
>
> Thank you for your willingness to help with this issue. Below is the stack
> trace:
>
>
> javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path
: [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:261)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
> 	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
> 	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
> 	at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
> 	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
> 	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
> 	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
> 	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:178)
> 	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
> 	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
> 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
> 	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:191)
> 	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:286)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 35 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:520)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 39 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 45 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:520)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.renderColumnBody(HtmlTableRenderer.java:731)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:349)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.encodeColumnChild(HtmlTableRenderer.java:615)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:325)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:144)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.encodeChildren(HtmlTableRenderer.java:280)
> 	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:611)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:516)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 49 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 63 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 67 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 71 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperation][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_748197950_1]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:520)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 75 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperation][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_748197950_1][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_2]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 81 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperation][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_748197950_1][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_2][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_3]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 85 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperation][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_748197950_1][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_2][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_3][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
j_id_jsp_748197950_4]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 89 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperation][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_748197950_1][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_2][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_3][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
j_id_jsp_748197950_4][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_6]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 93 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperation][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_748197950_1][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_2][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_3][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
j_id_jsp_748197950_4][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_6][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_7]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:499)
> 	at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 97 more
> Caused by: javax.faces.FacesException: Exception while calling encodeEnd on component
: {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /jobmaintenance/jobeditor/edit-job.jsp][Class:
javax.faces.component.html.HtmlForm,Id: formEditJob][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_949192306_6][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_949192306_7][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperations][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_11][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_12][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id: dataTableOperations][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
j_id_jsp_1176016798_14][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_1176016798_15][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_16][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_1176016798_27][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_1176016798_28][Class:
javax.faces.component.UINamingContainer,Id: subviewJobOperation][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
j_id_jsp_748197950_1][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_2][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_3][Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
j_id_jsp_748197950_4][Class: org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id: j_id_jsp_748197950_6][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id: j_id_jsp_748197950_7][Class: org.apache.myfaces.custom.calendar.HtmlInputCalendar,Id:
quoteDate]}
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:522)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:231)
> 	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:102)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 101 more
> Caused by: java.lang.IllegalArgumentException
> 	at java.sql.Date.getHours(Date.java:156)
> 	at org.apache.myfaces.dateformat.SimpleDateFormatter.formatOps(SimpleDateFormatter.java:839)
> 	at org.apache.myfaces.dateformat.SimpleDateFormatter.format(SimpleDateFormatter.java:1207)
> 	at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer$CalendarDateTimeConverter.getAsString(HtmlCalendarRenderer.java:1204)
> 	at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.renderPopup(HtmlCalendarRenderer.java:198)
> 	at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(HtmlCalendarRenderer.java:149)
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
> 	... 105 more
>
>
>  ------------------------------
> *From:* Leonardo Uribe [mailto:lu4242@gmail.com]
> *Sent:* 09/01/2009 13:00
> *To:* MyFaces Discussion
> *Subject:* Re: t:inputCalendar causing error with tomahawk12-1.1.9.jar
>
> Hi
>
> t:inputCalendar component has many changes from 1.1.3. It could be good to
> have stack trace of the error.
>
> regards
>
> Leonardo Uribe
>
> 2009/8/31 Sansaricq Marcel-EMS002 <Marcel.Sansaricq@motorola.com>
>
>>  Hello,
>>
>> I am in the process of updating an application which currently uses
>> jsf1.1, My faces 1.1.4 and tomahawk 1.1.3 to jsf 1.2, My faces 1.2.7 and
>> tomahawk 12-1.1.9 ( Also tried My faces 1.2.4 and tomahawk 12-1.1.7). One of
>> the jsp pages is generating an error when I use the latest jsf 1.2 MyFaces
>> and Tomahawk libraries and this error does NOT occur in the version that
>> uses older jsf 1.1 libraries. Below is the error which is generated
>> apparently due to a t:inputCalendar component used on the page: Any ideas on
>> resolving this issue ?
>>
>> The following is the error report generated by Tomcat 6.1.8:
>>
>>  Exception while calling encodeEnd on component : {Component-Path :
>> [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId:
>> /jobmaintenance/jobeditor/edit-job.jsp][Class:
>> javax.faces.component.html.HtmlForm,Id: formEditJob][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_949192306_6]}
>>
>> Caused by:
>> java.lang.IllegalArgumentException - Exception while calling encodeEnd on
>> component : {Component-Path : [Class:
>> org.ajax4jsf.component.AjaxViewRoot,ViewId:
>> /jobmaintenance/jobeditor/edit-job.jsp][Class:
>> javax.faces.component.html.HtmlForm,Id: formEditJob][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_949192306_6][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
>> j_id_jsp_949192306_7][Class: javax.faces.component.UINamingContainer,Id:
>> subviewJobOperations][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_1176016798_11][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
>> j_id_jsp_1176016798_12][Class:
>> org.apache.myfaces.component.html.ext.HtmlDataTable,Id:
>> dataTableOperations][Class:
>> org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
>> j_id_jsp_1176016798_14][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_1176016798_15][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
>> j_id_jsp_1176016798_16][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_1176016798_27][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
>> j_id_jsp_1176016798_28][Class: javax.faces.component.UINamingContainer,Id:
>> subviewJobOperation][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_748197950_1][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
>> j_id_jsp_748197950_2][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_748197950_3][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
>> j_id_jsp_748197950_4][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGroup,Id:
>> j_id_jsp_748197950_6][Class:
>> org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
>> j_id_jsp_748197950_7][Class:
>> org.apache.myfaces.custom.calendar.HtmlInputCalendar,Id: quoteDate]}
>>
>> Thanks in advance for your help
>>
>
>

Mime
View raw message