Community
Participate
Working Groups
There are some test failures in the latest maintenance build related. The change in bug 348455 has surfaced this problem. We have code in RepositoryAction#setRepositoryCount which is accessing the preference node after it has been removed, thus the error. java.lang.IllegalStateException: Preference node "http:__eclipse.org_eclipse_updates_RemoveRepositoryActionTest" has been removed. at org.eclipse.core.internal.preferences.EclipsePreferences.checkRemoved(EclipsePreferences.java:158) at org.eclipse.core.internal.preferences.EclipsePreferences.remove(EclipsePreferences.java:863) at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.RepositoryAction.setRepositoryCount(RepositoryAction.java:219) at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.RepositoryAction.removeFromSelf(RepositoryAction.java:174) at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.RemoveRepositoryAction.execute(RemoveRepositoryAction.java:38) at org.eclipse.equinox.p2.tests.touchpoint.eclipse.RemoveRepositoryActionTest.testInvalidEnablement(RemoveRepositoryActionTest.java:59)
Fixed in branch. http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?h=R3_7_maintenance&id=25c5165e12c482bb9c78e5830c74e54d6325017d
.
Actually I'm going to change this differently and set the repository count before removing the repository. Reopening to make the change.
Fixed. http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?h=R3_7_maintenance&id=ed809dd0b10957d94a2e0da2e71ac9fa4856bd72