IvyDE
  1. IvyDE
  2. IVYDE-136

When migrating from ivyde alpha to ivyde beta eclipse is throwing NPE at startup

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0.beta1
    • Fix Version/s: 2.0.0.final
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows

      Description

      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); }

      }

      1. rad_stack_trace.txt
        33 kB
        Daniel Becheanu
      2. Patch_IvyDEPreferenceStoreHelper.txt
        1 kB
        Daniel Becheanu

        Issue Links

          Activity

          Daniel Becheanu created issue -
          Daniel Becheanu made changes -
          Field Original Value New Value
          Attachment rad_stack_trace.txt [ 12395311 ]
          Daniel Becheanu made changes -
          Attachment Patch_IvyDEPreferenceStoreHelper.txt [ 12395313 ]
          Nicolas Lalevée made changes -
          Fix Version/s 2.0.0.final [ 12313533 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Nicolas Lalevée [ hibou ]
          Resolution Fixed [ 1 ]
          Nicolas Lalevée made changes -
          Affects Version/s 2.0.0.beta1 [ 12313273 ]
          Nicolas Lalevée made changes -
          Link This issue is duplicated by IVYDE-147 [ IVYDE-147 ]
          Nicolas Lalevée made changes -
          Link This issue is duplicated by IVYDE-184 [ IVYDE-184 ]

            People

            • Assignee:
              Nicolas Lalevée
              Reporter:
              Daniel Becheanu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development