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] Commented: (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

    [ https://issues.apache.org/jira/browse/IVYDE-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652434#action_12652434
] 

Daniel Becheanu commented on IVYDE-136:
---------------------------------------

This is happening in eclipse 3.4 and RAD7.5

> 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