Non-threaded

Forums » Bugs & Problems » Read Thread

Post reports about problems or bugs in here.
This bug was closed 9/22/2006: Fixed

Weird bug

19 years ago
 

Server Error in '/' Application.

Value was either too large or too small for an Int32.

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.OverflowException: Value was either too large or too small for an Int32.

Source Error:

Line 35: 			case "FollowLink":
            Line 36: 				{
            Line 37: 					StoryStateReturnValues ret = State.FollowLink(int.Parse(Request.Form["pbValue"]));
            Line 38: 					switch (ret)
            Line 39: 					{

Source File: d:\Users\alexp\Websites\ChooseYourStory.com\Story\Viewer\Default.aspx    Line: 37

Stack Trace:

[OverflowException: Value was either too large or too small for an Int32.]
            System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +2751909
            System.Int32.Parse(String s) +20
            ChooseYourStory.Stories.StoryState.isVariableNotRestricted(Variable var, VariableRestriction restriction) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState.cs:206
            ChooseYourStory.Stories.StoryState.PostProcess_Links() in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_PostProcess.cs:36
            ChooseYourStory.Stories.StoryState.PostProcess() in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_PostProcess.cs:187
            ChooseYourStory.Stories.StoryState.FollowLink(Int32 linkId) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_PublicInterface.cs:255
            ASP.story_viewer_default_aspx.OnLoad(EventArgs e) in d:\Users\alexp\Websites\ChooseYourStory.com\Story\Viewer\Default.aspx:37
            System.Web.UI.Control.LoadRecursive() +47
            System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
            


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version

Weird bug

19 years ago

you need to tell where you found this error rodney. besides, i already posted this same error when playing primate's game. look through the forums before you post next time.

nate

Weird bug

19 years ago

It really is tiring to say the same thing over again.

BEFORE YO UPOST BUGS GIV TONS OF INFORMATION AND LOOOOOK THROUGH THE FORUMS.

Weird bug

19 years ago
Thank you for posting this; this technical info you posted is VERY helpful to me, but the problem is that I need to know what storygame / where in the storygame you found this.

Weird bug

19 years ago
Well, I've seen this error a couple of times myself. They're in those CYOAs that you never really know about. I forget the names, but there are quite a few stories with this bug.

Weird bug

19 years ago
Moi aussi.  Tres Bien.