Project: appceleratorstudio
Issue TISTUD-5887: User is in the offline mode though the saved credentials are valid
Though I have seen this happening only my development environment, I'm afraid that it can happen even in the RC builds. However, since I couldn't reproduce it whenever on the RC builds after my multiple attempts, I assume this happens only on the development. Here is the exception that is logged in the Studio logs during its startup. There is a very small timing window when Titanium360ServicesControl tries to add to the UserManager listeners, when UserManager is already notifying about the logged in event. java.util.ConcurrentModificationException java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) java.util.AbstractList$Itr.next(AbstractList.java:343) com.appcelerator.titanium.core.user.TitaniumUserManager.signIn(TitaniumUserManager.java:218) com.appcelerator.titanium360.internal.core.Titanium360Manager.login(Titanium360Manager.java:233) com.appcelerator.titanium360.internal.core.Titanium360Manager.checkLoginUser(Titanium360Manager.java:688) com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$2.run(TitaniumSplashHandler.java:258) org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Story points: 3