Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-5197

java.lang.UnsupportedOperationException in the date component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.0
    • 6.0.3
    • Core Tags
    • None

    Description

      We (ab)use java.sql.Date in our frontends and see the following stack trace when trying to upgrade to 6.0.0:

      java.lang.UnsupportedOperationException
      	at java.sql.Date.toInstant(Date.java:304) ~[?:1.8.0_332]
      	at org.apache.struts2.components.Date.end(Date.java:297) ~[struts2-core-6.0.0.jar:6.0.0]
      	at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:40) ~[struts2-core-6.0.0.jar:6.0.0]
      ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tstadler Tobias Stadler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h