You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Ksenia Khailenko (JIRA)" <ji...@apache.org> on 2012/04/30 14:56:49 UTC

[jira] [Closed] (CAY-1703) NPE on selecting default datasource value

     [ https://issues.apache.org/jira/browse/CAY-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ksenia Khailenko closed CAY-1703.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1M4

fixed in 1332170 
                
> NPE on selecting default datasource value
> -----------------------------------------
>
>                 Key: CAY-1703
>                 URL: https://issues.apache.org/jira/browse/CAY-1703
>             Project: Cayenne
>          Issue Type: Bug
>            Reporter: Ksenia Khailenko
>            Priority: Trivial
>             Fix For: 3.1M4
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira