hopefully fixed bug #11795.
--- a/core/com.nokia.carbide.cpp.sysdoc.hover/src/com/nokia/carbide/cpp/sysdoc/internal/hover/dal/sdk/SDKController.java Mon Aug 30 17:55:08 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sysdoc.hover/src/com/nokia/carbide/cpp/sysdoc/internal/hover/dal/sdk/SDKController.java Mon Aug 30 18:53:35 2010 -0500
@@ -83,6 +83,10 @@
}
};
probeAllAvailableSystemSDKDirectories();
+
+ // add the listener after getting the initial list of SDK's to prevent possible
+ // bundle state exception
+ sdkMgr.addInstalledSdkChangeListener(sdkListChangeListener);
}
@@ -144,7 +148,6 @@
* @throws MalformedURLException
*/
public void probeAllAvailableSystemSDKDirectories() {
- sdkMgr.addInstalledSdkChangeListener(sdkListChangeListener);
List<ISymbianSDK> sdkList = sdkMgr.getSDKList();
for (ISymbianSDK currSDK : sdkList) {