Community
Participate
Working Groups
N20110908-2000 and N20110906-2000, was OK in I20110906-0905 - new workspace - Preferences > Team > CVS => error message "timeout must be a number" => on all tabs of that page, preferences are not set
I realized this when I tried to commit and the dialog didn't show any changes (because max files threshold was 0).
This must be investigated before you do the next build input. Maybe caused by bug 356300 (although that patch looks fine to me)?
After spending some time in the remote debugger (thx for the tip Markus) it turned out that the issing initService is the culprit. It is supposed to be returned by PreferencesOSGiUtils.getDefault().getLegacyPreferences() for "org.eclipse.team.cvs.ui" [1]. If it's not null, eg. when self hosting, the prefs are init'ed properly. Investigating... [1] org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(String, WeakReference)
The bug also occurs in I20110911-2000 (where Team didn't contribute). Looks like a regression in Equinox or maybe a problem with Team relying on compatibility infrastructure without requiring org.eclipse.core.runtime.compatibility.
I patched N20110908-2000 with org.eclipse.core.runtime_3.7.0.v20110110.jar (from I20110906-0905) and the problem is gone. So I think Markus is right suspecting that the culprit is in org.eclipse.core.runtime_3.7.0.v20110831-1452.jar (from I20110911-2000). For the change that most probably caused this see bug 356306).
(In reply to comment #3) > If it's not null, eg. when self hosting, the prefs are init'ed properly. That's because I didn't switch to eclipse.platform.runtime git repo, so I was launching with the source code without the fix from bug 356306. Sync'ing with the CVS repo showed no changes so I thought I'm good.
Moving to Platform/Runtime, see comment 5.
(In reply to comment #5) > with org.eclipse.core.runtime_3.7.0.v20110110.jar (from I20110906-0905) org.eclipse.core.runtime_3.7.0.v20110110.jar is not part of I20110906-0905. I looked for a jar older then org.eclipse.core.runtime_3.7.0.v20110831-1452.jar in my bundle pool, saw org.eclipse.core.runtime_3.7.0.v20110110.jar and wrongly assumed that's the jar from I20110906-0905, to which Markus referred as not broken. It's org.eclipse.core.runtime_3.7.0.v20110721-1714.jar that is in I20110906-0905. Sorry for the confusion.
There is a problem with the timing of registering the services provided by the runtime bundle, and opening the service trackers used by the bundle. *** This bug has been marked as a duplicate of bug 356306 ***
Verified in I20110912-2126 that the bug is fixed.