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.