View Issue Details

IDProjectCategoryView StatusLast Update
0026703RunnerGeneralPublic2021-07-30 10:01
ReporterStewart BishopAssigned ToCoreTech 
PriorityHighSeverityA - Crash/HangReproducibility100%
Status ResolvedResolutionFixed 
Product VersionInternal Build 
Target VersionFixed in Version 
Summary0026703: General: "Root element is missing" during SPRT chunk
DescriptionIf you stop a build whilst the "Writing Chunk... SPRT" section is happening and then run another build you'll receive the following exception:

Unhandled Exception: System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at GMAssetCompiler.TexturePage.(String )
   at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Int32 , String , String , String[] )
   at GMAssetCompiler.WADSaver`1.<>c.(KeyValuePair`2 )
   at GMAssetCompiler.Program..(Object )
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
Steps To Reproduce1) Open any large project
2) Run the project
3) During "Writing Chunk... SPRT" stop the build
4) Run the project again
5) Error occurs
6) Clean your project
7) Run again
8) This should fix it
TagsNo tags attached.
1.4 Found In1.4.1816
2.x Runtime Found In2.1.5.238
2.x Runtime Verified In

Activities

Stewart Bishop

2017-05-31 11:55

Developer  

RootElementIsMissing.png (61,454 bytes)
RootElementIsMissing.png (61,454 bytes)
RootElementIsMissing.txt (5,478 bytes)
Saving project to: C:\Source\IDE\Studio2\Dev\Projects\Downwell150821\Downwell150821.yyp
"C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587/bin/Igor.exe"  -options="C:\Source\IDE\Studio2\Dev\Temp\build.bff"  -- Windows Run

Loaded Macros from C:\Source\IDE\Studio2\Dev\Cache\Downwell15_7D9FAA93_A8EEE9B9\macros.json
Options: C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587\bin\platform_setting_defaults.json
Options: C:\Users\stewart.bishop\AppData\Roaming/GameMakerStudio2-Dev\stewart.bishop_58521\local_settings.json
Options: C:\Source\IDE\Studio2\Dev\Cache\Downwell15_7D9FAA93_A8EEE9B9\targetoptions.json
C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587/bin/GMAssetCompiler.exe  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="Downwell150821" /td="C:\Source\IDE\Studio2\Dev\Temp" /cd="C:\Source\IDE\Studio2\Dev\Cache\Downwell15_7D9FAA93_A8EEE9B9" /zpuf="C:\Users\stewart.bishop\AppData\Roaming/GameMakerStudio2-Dev\stewart.bishop_58521" /m=windows /tgt=64 /nodnd /cfg=default /o="C:\Source\IDE\Studio2\Dev\Temp\Downwell150821_224E768A_VM" /sh=True /optionsini="C:\Source\IDE\Studio2\Dev\Temp\Downwell150821_224E768A_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587\BaseProject\BaseProject.yyp" "C:\Source\IDE\Studio2\Dev\Projects\Downwell150821\Downwell150821.yyp" /v  /preprocess="C:\Source\IDE\Studio2\Dev\Cache\Downwell15_7D9FAA93_A8EEE9B9"
Reading project file....C:\Source\IDE\Studio2\Dev\Projects\Downwell150821
Reading project file....C:\ProgramData\GameMakerStudio2-Dev\Cache\runtimes\runtime-9.9.1.587\BaseProject
Reading config delta 'C:\Source\IDE\Studio2\Dev\Projects\Downwell150821\options\main\inherited\options_main.inherited.yy'
finished.


C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587/bin/GMAssetCompiler.exe DONE (0)
OptionsIni
Options: C:\Source\IDE\Studio2\Dev\Cache\Downwell15_7D9FAA93_A8EEE9B9\PlatformOptions.json
[Compile] Run asset compiler
C:\WINDOWS\system32\cmd.exe /c ""C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587/bin/GMAssetCompiler.exe"  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="Downwell150821" /td="C:\Source\IDE\Studio2\Dev\Temp" /cd="C:\Source\IDE\Studio2\Dev\Cache\Downwell15_7D9FAA93_A8EEE9B9" /zpuf="C:\Users\stewart.bishop\AppData\Roaming/GameMakerStudio2-Dev\stewart.bishop_58521" /m=windows /tgt=64 /nodnd /cfg=default /o="C:\Source\IDE\Studio2\Dev\Temp\Downwell150821_224E768A_VM" /sh=True /optionsini="C:\Source\IDE\Studio2\Dev\Temp\Downwell150821_224E768A_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587\BaseProject\BaseProject.yyp" "C:\Source\IDE\Studio2\Dev\Projects\Downwell150821\Downwell150821.yyp" /v  /bt=run"
Reading project file....C:\Source\IDE\Studio2\Dev\Projects\Downwell150821
Reading project file....C:\ProgramData\GameMakerStudio2-Dev\Cache\runtimes\runtime-9.9.1.587\BaseProject
Reading config delta 'C:\Source\IDE\Studio2\Dev\Projects\Downwell150821\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
Final Compile...finished.
Saving IFF file... C:\Source\IDE\Studio2\Dev\Temp\Downwell150821_224E768A_VM\Downwell150821.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
*writing audio file bgmArea1.ogg...
*writing audio file bgmShopCave.ogg...
*writing audio file sfxFalling.ogg...
*writing audio file amb1.ogg...
*writing audio file amb2.ogg...
*writing audio file amb3.ogg...
*writing audio file bgmArea2.ogg...
*writing audio file bgmArea3.ogg...
*writing audio file bgmBoss.ogg...
*writing audio file bgmLimbo.ogg...
Writing Chunk... AGRP
Writing Chunk... SPRT

Unhandled Exception: System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at GMAssetCompiler.TexturePage.(String )
   at GMAssetCompiler.TexturePage.(String , Boolean , Boolean , Int32 , String , String , String[] )
   at GMAssetCompiler.WADSaver`1.<>c.(KeyValuePair`2 )
   at GMAssetCompiler.Program..(Object )
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()


C:\WINDOWS\system32\cmd.exe exited with non-zero status (255)
elapsed time 00:03:36.5913221s for command "C:\ProgramData/GameMakerStudio2-Dev/Cache/runtimes\runtime-9.9.1.587/bin/Igor.exe" -options="C:\Source\IDE\Studio2\Dev\Temp\build.bff"  -- Windows Run started at 05/30/2017 10:41:10
FAILED: Run Program Complete

RootElementIsMissing.txt (5,478 bytes)

Mike Dailly

2017-06-01 09:38

Developer   ~0053428

Is this in green or just 2.1?

Stewart Bishop

2017-06-01 09:40

Developer   ~0053430

Neither, it's red as the bug values state.

Russell Kay

2018-05-02 16:49

Manager   ~0058969

does this still happen?

Russell Kay

2018-06-14 15:55

Manager   ~0060301

I believe this is fixed... reopen if not

Stewart Bishop

2018-07-06 14:09

Developer   ~0060837

Reopening as this has started happening again, I can get it to happen every time once you initially get it to occur.

SamH

2021-07-30 10:01

Developer   ~0066548

No longer reproduces in v2.3.3. Closing.