Non-threaded

Forums » Bugs & Problems » Read Thread

Post reports about problems or bugs in here.
This bug was closed 5/31/2014: Hopefully this will not come back; pls email me if it does.

Total Storygames error

11 years ago

Every time I click 'Total Storygames' (regardless of category) it says this-

---

Server Error in '/' Application.
 
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 
Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
 
Source Error: 
 
 
Line 187:            //Remove the "0" value
Line 188:            ddlMinimumRating.Items.RemoveAt(0);
Line 189:            ddlMinimumLength.Items.RemoveAt(0);
Line 190:            ddlMaximumLength.Items.RemoveAt(0);
Line 191:            ddlMinimumDifficulty.Items.RemoveAt(0);
 
Source File: c:\Websites\ChooseYourStory\ChooseYourStory.com\Stories\Category.aspx    Line: 189 
 
Stack Trace: 
 
 
[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.Collections.ArrayList.RemoveAt(Int32 index) +14636433
   System.Web.UI.WebControls.ListItemCollection.RemoveAt(Int32 index) +23
   ChooseYourStory.Web.UI.Stories.Category.Page_PreRender(Object sender, EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\Stories\Category.aspx:189
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.PreRenderRecursiveInternal() +113
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297
 
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446

Total Storygames error

11 years ago

Crap... Tans is right, but it also extends to trying to click the title of a category from a game. Basically, unless you get to it via random, the user, or you know the URL for the game, you can only play the featured games right now. >_>' Sooo... who broke CYS? (I'm using Mozilla, btw.)

Total Storygames error

11 years ago

I have the same problem. 

Total Storygames error

11 years ago

http://chooseyourstory.com/forums/bugs-and-problems/message/12252#352028

http://chooseyourstory.com/forums/bugs-and-problems/message/12251

<_< Okay, so I guess it wasn't just me. But yeah, this is a rather big problem so it should be fixed ASAP. Should I contact Alex?

Total Storygames error

11 years ago

Yes, if Alex is one of the site moderators. 

Total Storygames error

11 years ago

He created the site >.<

Total Storygames error

11 years ago

I just noticed the problem this morning. We could ask 3J first to see what he says/knows about this.

Total Storygames error

11 years ago

3J hasn't been on in two days, so I emailed Alexp. Hopefully he knows how to fix it haha.

Total Storygames error

11 years ago

Hmm, so the three last bugs all are about this...

Total Storygames error

11 years ago
seems so. Must be very recent though, because I could easily access each genre last night with no problems (until I went to sleep at 4AM which was 5-6 hours ago)

Though clicking the total storygame genres does not work (due to rendering problems [according to my data in the developer console, debugger, and page source code anyways]), you can still navigate through games using the "Search" and "Random" buttons under the storygames tab. So - we're not completely out of options, it's just a bit annoying... it'll be fixed soon enough though :P

Total Storygames error

11 years ago

Probably data overload. If that's possible. 

"must be less than the size of the collection"

Total Storygames error

11 years ago

It's trying to access something outside of the storygame array. So it's either trying to access it wrong, or for some reason the array that holds the storygames is messed up.

Total Storygames error

11 years ago
I think it's the latter, but I can't be sure :S

Total Storygames error

11 years ago

Ford is that Gif less than 1000 bytes? o.O 

Total Storygames error

11 years ago
4.09KB - the max is 100KB (or 10, can't remember.)

Total Storygames error

11 years ago

Seems to be fixed, anyways.

Total Storygames error

11 years ago

Wait...this happened to you too?

Oh. What a surprise.