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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 7
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      x86
    • OS:
      linux_2.4
    • Verification:
      Verified

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: