1. This forum is archived for reference. For support & bug reports visit the help section of forums.stardewvalley.net

Bug/Issue Beta: Crash when purchasing cow

Discussion in 'Support' started by Kalil, Feb 23, 2017.

  1. Kalil

    Kalil Intergalactic Tourist

    Updated to the Beta branch. A few in-game days later, when I went to purchase a cow for my new barn, the game crashed upon mousing over the barn after selecting the cow from Marnie's purchase menu. Restarting and repeating had the same result. Rolling back to the stable branch fixed the issue.

    Here is my error log:

    Message: Value cannot be null.
    Parameter name: value
    InnerException:
    Stack Trace: at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
    at StardewValley.Menus.PurchaseAnimalsMenu.performHoverAction(Int32 x, Int32 y)
    at StardewValley.Game1.updateActiveMenu(GameTime gameTime)
    at StardewValley.Game1.Update(GameTime gameTime)
    at Microsoft.Xna.Framework.Game.Tick()
    at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
    at Microsoft.Xna.Framework.GameHost.OnIdle()
    at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
    at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
    at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at Microsoft.Xna.Framework.WindowsGameHost.Run()
    at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
    at StardewValley.Program.Main(String[] args)


    Hope this helps!
     
    • Dr. Pip Pip

      Dr. Pip Pip Space Hobo

      I encounter the same bug.
      I'm on Beta 1.2.9
      When purchasing an animal from Marnie the names of the animals don't appear when the mouse hover over the animal and the game crashes when choosing a barn or coop for the animal.

      This was my error log:

      Message: Value cannot be null.
      Parameter name: value
      InnerException:
      Stack Trace: at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
      at StardewValley.Menus.PurchaseAnimalsMenu.performHoverAction(Int32 x, Int32 y)
      at StardewValley.Game1.updateActiveMenu(GameTime gameTime)
      at StardewValley.Game1.Update(GameTime gameTime)
      at Microsoft.Xna.Framework.Game.Tick()
      at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
      at Microsoft.Xna.Framework.GameHost.OnIdle()
      at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
      at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
      at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
      at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
      at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
      at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
      at System.Windows.Forms.Application.Run(Form mainForm)
      at Microsoft.Xna.Framework.WindowsGameHost.Run()
      at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
      at StardewValley.Program.Main(String[] args)

      Hope this helps!
       

      Share This Page