myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-368) addResources for inputCalendar make a NoSuchMethodError with RI
Date Thu, 28 Jul 2005 13:27:21 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-368?page=comments#action_12317081 ] 

Martin Marinschek commented on MYFACES-368:
-------------------------------------------


I have added the first of the following methods:

    public void setAddResources(Boolean addResources)
    {
        _addResources = addResources==null?Boolean.TRUE:addResources;
    }

    public void setAddResources(boolean addResources)
    {
        _addResources = Boolean.valueOf(addResources);
    }

If that is not what the problem is, I really don't know what it could be. Can you do some
debugging to get down to the problem? We don't use the RI that much here at the MyFaces team
;)

regards,

Martin

> addResources for inputCalendar make a NoSuchMethodError with RI
> ---------------------------------------------------------------
>
>          Key: MYFACES-368
>          URL: http://issues.apache.org/jira/browse/MYFACES-368
>      Project: MyFaces
>         Type: Bug
>     Versions: Nightly Build
>  Environment: JDK 1.3
> Sun RI
>     Reporter: Pierrick Samary
>     Assignee: Martin Marinschek

>
> When I remove the _addRessources attribute from the HtmlInputCalendarTag class, everything
works fine.
> Here is the JSP code (very simple) :
> <f:view>
>   <h:form id="calendarForm">
>      <x:inputCalendar  value="#{calendar.date}" />
>   </h:form>			
> </f:view>
> Here is the stackTrace :
> javax.faces.FacesException: java.lang.NoSuchMethodError
> 	at javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBase.java:1407)
> 	at org.apache.myfaces.taglib.UIComponentTagUtils.setBooleanProperty(UIComponentTagUtils.java:112)
> 	at org.apache.myfaces.taglib.UIComponentTagBase.setBooleanProperty(UIComponentTagBase.java:152)
> 	at com.es2i.jsf.custom.calendar.HtmlInputCalendarTag.setProperties(HtmlInputCalendarTag.java:136)
> 	at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1017)
> 	at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1036)
> 	at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:749)
> 	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
> 	at org.apache.jsp.calendar_jsp._jspx_meth_x_inputCalendar_0(calendar_jsp.java:143)
> 	at org.apache.jsp.calendar_jsp._jspx_meth_h_form_0(calendar_jsp.java:125)
> 	at org.apache.jsp.calendar_jsp._jspx_meth_f_view_0(calendar_jsp.java:98)
> 	at org.apache.jsp.calendar_jsp._jspService(calendar_jsp.java:66)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
> 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
> 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
> 	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
> 	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
> 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
> 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> 	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:479)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message