Fatal Exception after refresh and resize

Questions about http://online.tt-rss.org go here
mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Fatal Exception after refresh and resize

Postby mimox » 07 Nov 2010, 12:06

I get a "Fatal Exception" after refreshing feeds (which seems to work nevertheless) or trying to resize the preview pane (which does not work):


Fatal Exception

Error message:
Exception: TypeError, getInitParam("theme_options") is null
Function: parse_counters()
Location: functions.js?1289120029:507

Stack trace:
parse_counters([object Element],false)@http://online.tt-rss.org/functions.js?1289120029:507
headlines_callback2([object Object],0)@http://online.tt-rss.org/viewfeed.js?1289120029:200
([object Object],null)@http://online.tt-rss.org/feedlist.js?1289120029:324
(4)@http://online.tt-rss.org/lib/prototype.js:1307
([object Event])@http://online.tt-rss.org/lib/prototype.js:1237
([object Event])@http://online.tt-rss.org/lib/prototype.js:208

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fatal Exception after refresh and resize

Postby fox » 07 Nov 2010, 12:59

Hmm... seems to work for me. It might be broken if some scripts got stuck in your browser cache or something.

mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Re: Fatal Exception after refresh and resize

Postby mimox » 07 Nov 2010, 15:29

fox wrote:Hmm... seems to work for me. It might be broken if some scripts got stuck in your browser cache or something.


I just cleared my browser cache but the problem still occurs. It just started to happen yesterday or the day before. Did you not change anything during the last few days?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fatal Exception after refresh and resize

Postby fox » 07 Nov 2010, 16:13

I did, merged some new code. What's your browser? Are you using the default theme or a different one?

Also, can you post the contents of this URL: http://online.tt-rss.org/backend.php?op=rpc&subop=sanityCheck

mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Re: Fatal Exception after refresh and resize

Postby mimox » 07 Nov 2010, 16:30

I am running the latest Firefox 4 beta. I use the "Compact" theme. I also noticed that there are icons now in the tree view, which was not the case before.

<rpc-reply><error error-code="0"/><init-params>[{"param":"theme","value":"compact"},{"param":"theme_options","value":null},{"param":"daemon_enabled","value":true},{"param":"feeds_frame_refresh","value":600},{"param":"sign_progress","value":"images\/indicator_white.gif"},{"param":"sign_progress_tiny","value":"images\/indicator_tiny.gif"},{"param":"sign_excl","value":"images\/sign_excl.png"},{"param":"sign_info","value":"images\/sign_info.png"},{"param":"on_catchup_show_next_feed","value":0},{"param":"hide_read_feeds","value":0},{"param":"enable_feed_cats","value":1},{"param":"feeds_sort_by_unread","value":0},{"param":"confirm_feed_catchup","value":0},{"param":"cdm_auto_catchup","value":0},{"param":"fresh_article_max_age","value":672},{"param":"hide_read_shows_special","value":1},{"param":"hide_feedlist","value":0},{"param":"icons_url","value":"icons"},{"param":"cookie_lifetime","value":2592000},{"param":"default_view_mode","value":"all_articles"},{"param":"default_view_limit","value":200},{"param":"default_view_order_by","value":"date"},{"param":"prefs_active_tab","value":"genConfig"},{"param":"infobox_disable_overlay","value":false},{"param":"bw_limit","value":0},{"param":"offline_enabled","value":0},{"param":"num_feeds","value":25},{"param":"collapsed_feedlist","value":0}]</init-params><runtime-info><param key="num_feeds" value="25"/><param key="daemon_is_running" value="1"/></runtime-info></rpc-reply>

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fatal Exception after refresh and resize

Postby fox » 07 Nov 2010, 18:26

Bug fixed, thanks for reporting. :)

mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Re: Fatal Exception after refresh and resize

Postby mimox » 07 Nov 2010, 19:10

fox wrote:Bug fixed, thanks for reporting. :)


I now (after clearing browser cache and relaoding the page) get this:

Fatal Exception

Error message:
Exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMStorage.clear]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://online.tt-rss.org/tt-rss.js?1289146126 :: init_second_stage :: line 425" data: no]
Function: init_second_stage()

Stack trace:
undefined

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fatal Exception after refresh and resize

Postby fox » 07 Nov 2010, 19:18

Can you try it in FF 3.x? This is html5 localStorage thingie failing for some reason, maybe because it's broken in the beta.

mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Re: Fatal Exception after refresh and resize

Postby mimox » 07 Nov 2010, 20:14

You are right, it seems to work in FF 3.6.12... Sure this is a Mozilla bug? If so, do you have any more information on what goes wrong (in order to allow a good bug report there)

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fatal Exception after refresh and resize

Postby fox » 07 Nov 2010, 20:47

localStorage.clear() seems to be broken.

mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Re: Fatal Exception after refresh and resize

Postby mimox » 08 Nov 2010, 10:03

fox wrote:localStorage.clear() seems to be broken.


It's working again now... did you make any changes?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fatal Exception after refresh and resize

Postby fox » 08 Nov 2010, 11:31

Nope. The beta is probably just buggy or something.

mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Re: Fatal Exception after refresh and resize

Postby mimox » 08 Nov 2010, 22:29

Just got a similar thing again:

Fatal Exception

Error message:
Exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMStorage.getItem]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://online.tt-rss.org/viewfeed.js?1289244005 :: cache_check :: line 1777" data: no]
Function: preloadArticleUnderPointer()

Stack trace:
undefined

I reported to mozilla, the issue is tracked here now: https://bugzilla.mozilla.org/show_bug.cgi?id=610236

mimox
Bear Rating Trainee
Bear Rating Trainee
Posts: 27
Joined: 21 May 2010, 21:16

Re: Fatal Exception after refresh and resize

Postby mimox » 09 Nov 2010, 00:32

Would you be willing/able to provide a test account on online.tt-rss.org for mozilla people to test this?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Fatal Exception after refresh and resize

Postby fox » 09 Nov 2010, 09:31

This is the goddamn test suite we're talking about:

Code: Select all

localStorage.clear()


They need an account to test this? I knew that Mozilla devs general incompetency is only outweighed by their ability to spout bullshit about them being the holy saviors of "organic software" or whatever but this really takes the cake.


Return to “Online”

Who is online

Users browsing this forum: No registered users and 0 guests