[ 
https://issues.apache.org/struts/browse/WW-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42430
 ] 

chengas123 edited comment on WW-2094 at 10/28/07 4:21 PM:
---------------------------------------------------------------

I am attaching a patch for this issue.

      was (Author: chengas123):
    I noticed this exception in one of my log files today.  I'm not sure if 
it's the same issue or not, but thought I'd provide it in case it helps.

java.lang.NullPointerException
        at 
org.apache.struts2.dojo.components.DateTimePicker.evaluateParams(DateTimePicker.java:256)
        at org.apache.struts2.components.UIBean.end(UIBean.java:493)
        at 
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:41)
        at jsp_servlet._web_45_inf._pages.__index._jsp__tag0(__index.java:126)
        at jsp_servlet._web_45_inf._pages.__index._jspService(__index.java:97)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
        at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
        at 
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
com.sherwin.sd.rsa.filter.RSAClearTrustAuthFilter.doFilter(RSAClearTrustAuthFilter.java:270)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:497)
        at 
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
        at 
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
        at 
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:185)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:354)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:258)
        at 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:142)
        at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:228)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:226)
        at 
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:251)
        at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
        at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:228)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:226)
        at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:169)
        at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:228)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:226)
        at 
org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:228)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:226)
        at 
org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:163)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:228)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:226)
        at 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:228)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:226)
        at 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:51)
        at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:496)
        at 
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:427)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
com.sherwin.sos.auth.UserLoginFilter.doFilter(UserLoginFilter.java:55)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
com.sherwin.sd.rsa.filter.RSAClearTrustAuthFilter.doFilter(RSAClearTrustAuthFilter.java:270)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
        at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
        at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
  
> Error DateTimePicker when erase input then click again the calendar
> -------------------------------------------------------------------
>
>                 Key: WW-2094
>                 URL: https://issues.apache.org/struts/browse/WW-2094
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.1.0
>         Environment: Windows XP, TomCat 5.5, JDK 5
>            Reporter: Leneveut Michaƫl
>            Assignee: Musachy Barroso
>             Fix For: 2.1.0
>
>         Attachments: datetimepicker.patch, dateTimePicker_bug.jpg, Test.war
>
>
> When setting a displayFormat in the <sx:datetimepicker/> tag, there is a bug 
> on opening two times the calendar, if we erase the choosed date before the 
> second opening.
> Use case :
> The date field is empty.
> We open the calendar and pick a date. The date is well filled in.
> We erase the date in the input field.
> We open again the calendar => All dates are NaN (see screenchot)
> Look at the sample application attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to