java.lang.IllegalArgumentException: Cannot format given Object as a Date

Oracle Community | 807577 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JSpinner and Start and End Values

    Oracle Community | 1 decade ago | 807577
    java.lang.IllegalArgumentException: Cannot format given Object as a Date

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot format given Object as a Date

      at java.text.DateFormat.format()
    2. Java RT
      JSpinner$DateEditor.<init>
      1. java.text.DateFormat.format(DateFormat.java:279)
      2. java.text.Format.format(Format.java:133)
      3. javax.swing.text.InternationalFormatter.valueToString(InternationalFormatter.java:291)
      4. javax.swing.JSpinner$DateEditor.<init>(JSpinner.java:992)
      4 frames