Ticket #526 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Add try / catch block to preferences saving

Reported by: zach Owned by: jeroen
Priority: Milestone: Flash 4.6
Component: Keywords:
Cc: Forum thread: e-mail

Description

Got an email


You should add try/catch statements to the flash component on the home page:

Error: Error #2134: Cannot create SharedObject.
       at flash.net::SharedObject$/getLocal()
       at com.jeroenwijering.utils::Configger/loadCookies()
       at com.jeroenwijering.utils::Configger/load()
       at com.jeroenwijering.player::Player/loadConfig()

Can be reproduced by:

  1. Clear Flash Settings (those accessible via right click menu and those at  http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html)
  2. Goto http://www.longtailvideo.com/.
  3. Hit play
  4. Click to change the volume / mute the player.

The following error is thrown:

Error: Error #2130: Unable to flush SharedObject.
	at Error$/throwError()
	at flash.net::SharedObject/flush()
	at com.jeroenwijering.utils::Configger$/saveCookie()
	at com.jeroenwijering.player::Controller/volumeHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.jeroenwijering.player::View/sendEvent()
	at com.jeroenwijering.plugins::Controlbar/upHandler()

Change History

comment:1 Changed 4 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.