BinaryConstruct/Terraria-Map-Editor — Issue #179: unhandled exception error?how to fix it
Author: ianthenoob99
Created: 2011-12-20 16:07:08+00:00
State: open

20-Dec-11 5:32 PM: Error - Value cannot be null.
Parameter name: value
at System.IO.BinaryWriter.Write(String value)
at TEdit.TerrariaWorld.World.SaveFile(String filename) in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEdit\TerrariaWorld\World.File.cs:line 638
at TEdit.ViewModels.WorldViewModel.<>c__DisplayClass16.b__13() in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEdit\ViewModels\WorldViewModel.cs:line 559
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
20-Dec-11 5:41 PM: Error - Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.IO.BinaryReader.Read7BitEncodedInt()
at System.IO.BinaryReader.ReadString()
at TEdit.TerrariaWorld.World.Load(String filename) in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEdit\TerrariaWorld\World.File.cs:line 402
at TEdit.ViewModels.WorldViewModel.LoadWorld(String filename) in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEdit\ViewModels\WorldViewModel.cs:line 581
at TEdit.ViewModels.WorldViewModel.<>c__DisplayClass1c.b__19() in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEdit\ViewModels\WorldViewModel.cs:line 574
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
21-Dec-11 12:01 AM: Error - Value cannot be null.
Parameter name: value
at System.IO.BinaryWriter.Write(String value)
at TEdit.TerrariaWorld.World.SaveFile(String filename) in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEdit\TerrariaWorld\World.File.cs:line 638
at TEdit.ViewModels.WorldViewModel.<>c__DisplayClass16.b__13() in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEdit\ViewModels\WorldViewModel.cs:line 559
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

this came out when i tried to save my made world.So how do i avoid it?