Lỗi unable to read beyond the end of the stream năm 2024

exceptionMessage An error occurred when running report TestReport.Report. Message: Unable to read beyond the end of the stream. exceptionType System.IO.EndOfStreamException stackTrace System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.__Error.EndOfFile() at System.IO.BinaryReader.ReadString() at Microsoft.Dynamics.AX.Metadata.Storage.RuntimeDeserializer.DeserializeAxReportPrecisionDesign(BinaryReader reader) at Microsoft.Dynamics.AX.Metadata.Storage.RuntimeDeserializer.DeserializeAxReport(BinaryReader reader) This was originally posted here.

Same here after updating to 2.105.923.0 But after the EndOfStreamException I also have a ErrorException "Evaluation resulted in a stack overflow and cannot continue."

DataMashup.Trace Warning: 24579 : {"Start":"2022-05-30T22:57:07.1510658Z","Action":"ErrorTranslatingMessenger/Read","Exception":"Exception:
ExceptionType: System.IO.EndOfStreamException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message: Unable to read beyond the end of the stream.
StackTrace:
   at System.IO.__Error.EndOfFile()
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadInt32()
   at Microsoft.Mashup.Evaluator.MessageSerializer.Deserialize(BinaryReader reader)
   at Microsoft.Mashup.Evaluator.StreamMessenger.Read()
   at Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
","ProductVersion":"2.105.923.0 (22.05)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"msmdsrv","Pid":3876,"Tid":13,"Duration":"00:00:00.0261973"}
DataMashup.Trace Warning: 24579 : {"Start":"2022-05-30T22:57:07.1772767Z","Action":"ErrorTranslatingMessenger/Read","Exception":"Exception:
ExceptionType: Microsoft.Mashup.Evaluator.Interface.ErrorException, Microsoft.MashupEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Message: Evaluation resulted in a stack overflow and cannot continue.
StackTrace:
   at Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
   at Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
","ProductVersion":"2.105.923.0 (22.05)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"msmdsrv","Pid":3876,"Tid":13,"Duration":"00:00:00.0009396"}
DataMashup.Trace Warning: 24579 : {"Start":"2022-05-30T22:57:07.1798885Z","Action":"RemoteDocumentEvaluator/RemoteEvaluation/TranslateCancelExceptions","HostProcessId":"3876","identity":null,"evaluationID":"1","cancelled":"False","Exception":"Exception:
ExceptionType: Microsoft.Mashup.Evaluator.Interface.ErrorException, Microsoft.MashupEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Message: Evaluation resulted in a stack overflow and cannot continue.
StackTrace:
   at Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
   at Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
   at Microsoft.Mashup.Evaluator.ChannelMessenger.Read(MessageChannel channel)
   at Microsoft.Mashup.Evaluator.ChannelMessenger.MessageChannel.Read()
   at Microsoft.Mashup.Evaluator.Interface.IMessageChannelExtensions.WaitFor[T](IMessageChannel channel)
   at Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunkAndCheckIfClosed()
   at Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunk()
","ProductVersion":"2.105.923.0 (22.05)","ActivityId":"c6a66d1e-8ac3-4e4c-8c83-13384f19af9c","Process":"msmdsrv","Pid":3876,"Tid":13,"Duration":"00:00:00.0000616"}

And after that impossible to cancel the refresh, I have to kill the process.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Code:

17:23:26    TRACE    SMAPI    Content Patcher loaded asset 'Maps/Arcade_Couch' (for the 'Stardew Valley Expanded' content pack).
17:23:26    TRACE    SMAPI    Content Patcher loaded asset 'Maps/Trailer' (for the 'Stardew Valley Expanded' content pack).
17:23:26    TRACE    SMAPI    Content Patcher loaded asset 'Maps/Hospital' (for the 'Stardew Valley Expanded' content pack).
17:23:26    TRACE    SMAPI    Content Patcher loaded asset 'Maps/HarveyRoom' (for the 'Stardew Valley Expanded' content pack).
17:23:26    TRACE    SMAPI    Content Patcher loaded asset 'Maps/Beach' (for the 'Stardew Valley Expanded' content pack).
17:23:26    TRACE    SMAPI    Content Patcher edited Maps/ElliottHouseTiles (for the 'Rustic Country Town Interior' content pack).
17:23:26    TRACE    SMAPI    Content Patcher edited Maps/spring_outdoorsTileSheet2 (for the 'Stardew Foliage Redone Foliage Only' content pack).
17:23:26    TRACE    SMAPI    Content Patcher loaded asset 'Maps/Mountain' (for the 'Stardew Valley Expanded' content pack).
17:23:26    TRACE    SMAPI    Content Patcher edited Maps/spring_outdoorsTileSheet2 (for the 'Stardew Foliage Redone Foliage Only' content pack).
17:23:26    TRACE    SMAPI    Content Patcher loaded asset 'Maps/ScienceHouse' (for the 'Stardew Valley Expanded' content pack).
17:23:26    ERROR    game    An error occurred in the base update loop: EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.ReadByte()
   at Microsoft.Xna.Framework.Content.ContentManager.GetContentReaderFromXnb(String originalAssetName, Stream stream, BinaryReader xnbReader, Action`1 recordDisposableObject) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 339
   at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 322
   at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 133
   at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in SMAPI\Framework\Utilities\ContextHash.cs:line 53
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache) in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 0
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 153
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[T](String assetName, LanguageCode language) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 144
   at StardewValley.Game1.loadForNewGame_PatchedBy<SMAPI__spacechase0.JsonAssets__spacechase0.SpaceCore>(Boolean loadedGame)
   at StardewValley.Menus.TitleMenu.createdNewCharacter_PatchedBy<SMAPI>(TitleMenu this, Boolean skipIntro)
   at StardewValley.Menus.CharacterCustomization.optionButtonClick(String name)
   at StardewValley.Menus.CharacterCustomization.receiveLeftClick(Int32 x, Int32 y, Boolean playSound)
   at StardewValley.Menus.TitleMenu.receiveLeftClick(Int32 x, Int32 y, Boolean playSound)
   at StardewValley.Game1.updateActiveMenu(GameTime gameTime)
   at StardewValley.Game1._update(GameTime gameTime)
   at StardewValley.Game1.Update(GameTime gameTime)
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 1057
17:24:05    TRACE    Json Assets    Loading stuff early (really super early)
17:24:05    TRACE    SMAPI    Content Patcher loaded asset 'Maps/FarmHouse' (for the 'Seasonal Garden Farmhouse V2' content pack).
17:24:05    TRACE    SMAPI    Content Patcher edited Maps/FarmHouse (for the 'Seasonal Garden Farmhouse V2' content pack).
17:24:05    TRACE    SMAPI    Content Patcher loaded asset 'Maps/Town' (for the 'Stardew Valley Expanded' content pack).
17:24:05    TRACE    SMAPI    Content Patcher edited Maps/Town (for the '[CP] Khadija's Recipe Shop' content pack).
17:24:05    TRACE    SMAPI    Content Patcher edited Maps/Town (for the 'Stardew Valley Expanded' content pack).
17:24:05    ERROR    game    An error occurred in the base update loop: EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.ReadByte()
   at Microsoft.Xna.Framework.Content.ContentManager.GetContentReaderFromXnb(String originalAssetName, Stream stream, BinaryReader xnbReader, Action`1 recordDisposableObject) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 339
   at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 322
   at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 133
   at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in SMAPI\Framework\Utilities\ContextHash.cs:line 53
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache) in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 0
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 153
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[T](String assetName, LanguageCode language) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 144
   at StardewValley.Game1.loadForNewGame_PatchedBy<SMAPI__spacechase0.JsonAssets__spacechase0.SpaceCore>(Boolean loadedGame)
   at StardewValley.Minigames.Intro.tick(GameTime time)
   at StardewValley.Game1._update(GameTime gameTime)
   at StardewValley.Game1.Update(GameTime gameTime)
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 1057
17:24:10    TRACE    SpaceCore    Event: BeforeWarp
17:24:10    TRACE    game    Warping to BusStop
17:24:10    TRACE    SMAPI    Animal Husbandry Mod edited TileSheets/tools.
17:24:10    TRACE    SpaceCore    Accessed mod-provided API for Experience Bars.
17:24:11    ERROR    game    An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Game1.onFadeToBlackComplete() in stardewvalley\Farmer\Farmer\Game1.cs:line 7096
   at StardewValley.BellsAndWhistles.ScreenFade.UpdateFade(GameTime time) in stardewvalley\Farmer\Farmer\BellsAndWhistles\ScreenFade.cs:line 46
   at StardewValley.Game1.UpdateOther(GameTime time) in stardewvalley\Farmer\Farmer\Game1.cs:line 7278
   at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4879
   at StardewValley.Game1.Update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 3974
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 1057