ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Becheanu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVYDE-136) When migrating from ivyde alpha to ivyde beta eclipse is throwing NPE at startup
Date Thu, 04 Dec 2008 19:22:44 GMT

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

Daniel Becheanu updated IVYDE-136:
----------------------------------

    Attachment: Patch_IvyDEPreferenceStoreHelper.txt

> When migrating from ivyde alpha to ivyde beta eclipse is throwing NPE at startup
> --------------------------------------------------------------------------------
>
>                 Key: IVYDE-136
>                 URL: https://issues.apache.org/jira/browse/IVYDE-136
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Daniel Becheanu
>         Attachments: Patch_IvyDEPreferenceStoreHelper.txt, rad_stack_trace.txt
>
>
> When migrating from ivyde alpha to ivyde beta eclipse is throwing NPE at startup.
> The problem seems to be in IvyDEPreferenceStoreHelper. This class tries to invoke IPreferenceStore.putValue
with null newValue but the implementation from 
> org.eclipse.core.internal.preferences.EclipsePreferences does not accept nulls.
>     public void put(String key, String newValue)
>     {
>         if(key == null || newValue == null)
>             throw new NullPointerException();
>         String oldValue = internalPut(key, newValue);
>         if(!newValue.equals(oldValue))
>         {
>             makeDirty();
>             firePreferenceEvent(key, oldValue, newValue);
>         }
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message