myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sansaricq Marcel-EMS002" <Marcel.Sansar...@motorola.com>
Subject RE: t:inputCalendar causing error with tomahawk12-1.1.9.jar
Date Wed, 02 Sep 2009 20:39:36 GMT
Leonardo,
 
I applied the patch you suggested below and it solved my problem:
https://issues.apache.org/jira/browse/TOMAHAWK-1425
<https://issues.apache.org/jira/browse/TOMAHAWK-1425> 
 
Thanks again,
 
Marcel

________________________________

From: Leonardo Uribe [mailto:lu4242@gmail.com] 
Sent: 09/02/2009 12:55
To: MyFaces Discussion
Subject: Re: t:inputCalendar causing error with tomahawk12-1.1.9.jar


Hi

Look this part of the stack trace:


Caused by: java.lang.IllegalArgumentException
	at java.sql.Date.getHours(Date.java:156)
	at
org.apache.myfaces.dateformat.SimpleDateFormatter.formatOps(SimpleDateFo
rmatter.java:839)

	at
org.apache.myfaces.dateformat.SimpleDateFormatter.format(SimpleDateForma
tter.java:1207)



Somewhere, the value assigned to t:inputCalendar is a java.sql.Date
instance. Note that java.sql.Date extends from java.util.Date, but
override some methods (in this case getHours) throwing the exception.

regards

Leonardo Uribe


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


	Hi Leonardo,
	 
	I searched my entire project java source and could not find one
instance where I am importing java.sql.Date. All Date objects used in my
application are of type java.util.Date. So, I am still confused as to
why I am getting this error. Any other explanation for this ?
	 
	Thanks,
	 
	Marcel

________________________________

	
	From: Leonardo Uribe [mailto:lu4242@gmail.com] 
	
	Sent: 09/01/2009 17:19 

	To: MyFaces Discussion
	Subject: Re: t:inputCalendar causing error with
tomahawk12-1.1.9.jar
	

	Hi
	
	Just a small note: I have found a bug on MYFACES-2343
<https://issues.apache.org/jira/browse/MYFACES-2343>  that could prevent
the suggested solution (create a custom converter) work.
	
	regards
	
	Leonardo Uribe
	
	
	2009/9/1 Sansaricq Marcel-EMS002 <Marcel.Sansaricq@motorola.com>
	

		Leonardo,
		 
		Thanks again for shedding some much needed light on this
issue. I will try your suggestions and hopefully resolve this problem
soon.
		 
		Regards,
		 
		Marcel

________________________________

		
		From: Leonardo Uribe [mailto:lu4242@gmail.com] 
		
		Sent: 09/01/2009 15:35 

		To: MyFaces Discussion
		Subject: Re: t:inputCalendar causing error with
tomahawk12-1.1.9.jar
		

		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(JspView
HandlerImpl.java:383)
				at
org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java
:74)
				at
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrappe
r.java:100)
				at
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java
:176)
				at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderRespon
seExecutor.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(Applica
tionFilterChain.java:290)
				at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.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(Applica
tionFilterChain.java:235)
				at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
				at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:301)
				at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
				at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
				at
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:18
8)
				at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
				at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
				at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
				at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.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:2
86)
				at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
5)
				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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGr
oupRenderer.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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(R
endererUtils.java:520)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.r
enderChildren(HtmlGridRendererBase.java:231)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.e
ncodeEnd(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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGr
oupRenderer.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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(R
endererUtils.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.encodeColumnChil
d(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(H
tmlTableRenderer.java:280)
				at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.jav
a:611)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(R
endererUtils.java:516)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.r
enderChildren(HtmlGridRendererBase.java:231)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.e
ncodeEnd(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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGr
oupRenderer.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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.r
enderChildren(HtmlGridRendererBase.java:231)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.e
ncodeEnd(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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGr
oupRenderer.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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(R
endererUtils.java:520)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.r
enderChildren(HtmlGridRendererBase.java:231)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.e
ncodeEnd(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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGr
oupRenderer.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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.r
enderChildren(HtmlGridRendererBase.java:231)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.e
ncodeEnd(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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGr
oupRenderer.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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.r
enderChildren(HtmlGridRendererBase.java:231)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.e
ncodeEnd(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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildre
n(RendererUtils.java:499)
				at
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGr
oupRenderer.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(R
endererUtils.java:522)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.r
enderChildren(HtmlGridRendererBase.java:231)
				at
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGridRendererBase.e
ncodeEnd(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(SimpleDateFo
rmatter.java:839)
				at
org.apache.myfaces.dateformat.SimpleDateFormatter.format(SimpleDateForma
tter.java:1207)
				at
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer$CalendarDateTime
Converter.getAsString(HtmlCalendarRenderer.java:1204)
				at
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.renderPopup(Html
CalendarRenderer.java:198)
				at
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(HtmlCa
lendarRenderer.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