Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-184

Null Pointer Exception in PreferenceImp.getValues()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.1-rc4
    • unspecified
    • portal driver
    • None
    • Irrelevant

    Description

      Below is the example portlet.xml snippet.
      <preference>
      <name>categories</name>
      </preference>

      getValues() method of PeferencesImpl throws a NullPointerException (Line# 53).

      setCastorValues() is never called, in the absence of value elements in portlet.xml. Hence "values" are never initialised to an empty ArrayList.

      Attachments

        Activity

          People

            emetsger Elliot Metsger
            sonal_anvekar sonal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: