Issue Details (XML | Word | Printable)

Key: GDS-699
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: William Draï
Reporter: Stefaan Nachtergaele
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GraniteDS

Error: ChannelSet is in the process of logging in or logging out.

Created: 07/Jul/10 04:44 PM   Updated: 10/Oct/11 11:58 AM
Component/s: Security
Affects Version/s: 2.2.0_beta1
Fix Version/s: None


 Description  « Hide
When calling logout on the identify object the following exception is raised:

Error: ChannelSet is in the process of logging in or logging out.
at mx.messaging::ChannelSet/logout()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\messaging\ChannelSet.as:1172]
at org.granite.tide::Tide/tryLogout()[/var/bamboo/xml-data/build-dir/GDS-CORE/as3/framework/org/granite/tide/Tide.as:2251]
at org.granite.tide::Tide/logout()[/var/bamboo/xml-data/build-dir/GDS-CORE/as3/framework/org/granite/tide/Tide.as:2223]
at org.granite.tide::BaseContext/meta_logout()[/var/bamboo/xml-data/build-dir/GDS-CORE/as3/framework/org/granite/tide/BaseContext.as:1734]
at org.granite.tide.spring::Identity/logout()[/var/bamboo/xml-data/build-dir/GDS-CORE/as3/framework/org/granite/tide/spring/Identity.as:112]
at com.asm.shop.control::LoginCtl/logout()[C:\Users\stefaan\devel\asm\project\head\flex\src\com\asm\shop\control\LoginCtl.as:106]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at org.granite.tide::Tide/invokeObservers()[/var/bamboo/xml-data/build-dir/GDS-CORE/as3/framework/org/granite/tide/Tide.as:2018]
at org.granite.tide::BaseContext/meta_dispatchEvent()[/var/bamboo/xml-data/build-dir/GDS-CORE/as3/framework/org/granite/tide/BaseContext.as:1471]
at org.granite.tide::BaseContext/meta_componentEventHandler()[/var/bamboo/xml-data/build-dir/GDS-CORE/as3/framework/org/granite/tide/BaseContext.as:1419]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9440]
at Shop/profileEvent()[C:\Users\stefaan\devel\asm\project\head\flex\src\Shop.mxml:149]
at Shop/__loginText_link()[C:\Users\stefaan\devel\asm\project\head\flex\src\Shop.mxml:226]

At Tide.as line 2250 I find the following:
if (ro.channelSet)
ro.channelSet.logout(); // Workaround described in BLZ-310



Stefaan Nachtergaele added a comment - 14/Jul/10 08:58 AM
Well, this is not a blocker but rather a minor bug.

My UI ends up calling logout twice in succession rapidly (my own bug). Only when this occurs and the granite/tide has not finished processing the first logout, will this error happen.

FYI I'm on spring.

William Draï added a comment - 15/Jul/10 10:47 AM
Not sure what can be done here to prevent this error.
Deferred to next version.

William Draï added a comment - 10/Oct/11 11:58 AM
Looks similar to GDS-856.
Can you check if it's fixed with nightly builds ?