Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1703

NPE on selecting default datasource value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.1B1
    • None
    • None

    Description

      1. create new project with datamap and datanode;
      2. click on datanode;
      3. click on local datasource compobox and select "Select datasource for local work" (default option)

      Result:
      java.lang.NullPointerException
      at java.util.prefs.AbstractPreferences.put(AbstractPreferences.java:224)
      at org.apache.cayenne.modeler.pref.DataNodeDefaults.setLocalDataSource(DataNodeDefaults.java:38)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ksenia Ksenia Khailenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: