RichFaces
  1. RichFaces
  2. RF-1800

NoSuchMethodError when using Calendar component on jdk 1.4

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.1.0, 3.1.1, 3.1.2, 3.1.3
    • Fix Version/s: 3.1.4
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      I'm receiving the following exception when trying to use the rich:calendar component on Weblogic 8.1 (jdk1.4)
      All other richfaces components run fine though, forcing us to use the myfaces calendar. (which is quite ugly).
      Being able to use richfaces also for the calendar would also make our html page size and required css, js files less big.

      java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
      at org.richfaces.renderkit.CalendarRendererBase.formatDate(CalendarRendererBase.java:500)
      at org.richfaces.renderkit.CalendarRendererBase.getCurrentDate(CalendarRendererBase.java:468)
      at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:394)
      at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:455)
      at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)

        Activity

        Hide
        Alexej
        added a comment -

        fixed jdk 1.4 compatibility

        Show
        Alexej
        added a comment - fixed jdk 1.4 compatibility
        Hide
        Viktor Volkov
        added a comment -

        verified with j2sdk1.4.2_05 on Tomcat 6

        Show
        Viktor Volkov
        added a comment - verified with j2sdk1.4.2_05 on Tomcat 6

          People

          • Assignee:
            Viktor Volkov
            Reporter:
            Wim Bervoets
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: