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] Created: (IVYDE-136) When migrating from ivyde alpha to ivyde beta eclipse is throwing NPE at startup
Date Tue, 02 Dec 2008 17:40:44 GMT
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


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