Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4506596

NPE thrown when called on non-inited standard property editor for primitive bool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 1.3.1
    • client-libs
    • b10
    • x86
    • linux_2.4
    • Verified

      linux jdk1.3.1

      Standard PropertyEditor for primitive boolean type, throws NPE instead of return null when its getAsText() method is called and there was not value set yet. I
      think its against bean spec.
      (I guess similar problem could cause setAsText method.)

      I created testcase (see attachment).

            malenkov Sergey Malenkov (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: