[Bug] Error #1502, client hangs while loading premade party store

Discussion in 'Bugs' started by neoncat, Sep 25, 2014.

  1. neoncat

    neoncat Feline Outline

    When I try to open the premade party store, the flash client freezes for a 15+ seconds. Sometimes it simply crashes after a while, sometimes it recovers / gets stuck on the spinning loading overlay with error #1502 in the console, and very rarely it will manage to load the store.

    I recovered this error at one point while stuck at the loading overlay:
    Code:
    Initializing deck builder
    MESSAGE: Error #1502
    STACK TRACE:
    Error: Error #1502
       at com.smartfoxserver.v2.entities.data::SFSArray/size()
       at com.cardhunter.genericdata::DataArray/size()
       at com.cardhunter.data::Inventory$/createFromDataObject()
       at com.cardhunter.pcclient::CardHunterCore/Handle_inventory()
       at com.cardhunter.pcclient::CardHunterCore/onSFSExtensionResponse()
       at flash.events::EventDispatcher/dispatchEvent()
       at com.smartfoxserver.v2.controllers::ExtensionController/handleMessage()
       at com.smartfoxserver.v2.core::SFSProtocolCodec/dispatchRequest()
       at com.smartfoxserver.v2.core::SFSProtocolCodec/onPacketRead()
       at com.smartfoxserver.v2.core::SFSIOHandler/handlePacketData()
       at com.smartfoxserver.v2.core::SFSIOHandler/onDataRead()
       at com.smartfoxserver.v2.bitswarm::BitSwarmClient/onSocketData()
     
  2. Jon

    Jon Blue Manchu Staff Member

    It sounds like flash is hanging trying to process your inventory, which I assume is large.

    Not sure why the premade party store has this problem - how long are your load times for the keep, for example?
     
  3. neoncat

    neoncat Feline Outline

    I got the premade store to load just now, after ~12 seconds (and Flash freezing for about 5 of those). For what it's worth, my keep load time is ~6-8 seconds.
     
  4. Jon

    Jon Blue Manchu Staff Member

    That's weird. I'll take a look and see if I can see why it's so slow.
     
  5. Jon

    Jon Blue Manchu Staff Member

    Ah, I found the problem. The premade party store is using our old inventory loading system (we need the inventory to show item counts). I should be able to make it as fast as the regular load time.
     

Share This Page