Skip to content
New issue

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.

Already on GitHub? Sign in to your account

Certain Mod Combinations Can't Export Tiles #16

Open
TwinDragon opened this issue Nov 3, 2021 · 0 comments
Open

Certain Mod Combinations Can't Export Tiles #16

TwinDragon opened this issue Nov 3, 2021 · 0 comments

Comments

@TwinDragon
Copy link

I'm going to make this issue to compile some tracebacks that were obtained while chatting in the Discord server in regards to certain combinations of map mods not cooperating and causing issues.

From Korgi, the following: (Promods with Middle East Addon)

[10:10:34 ERR] Job Exception (ParseMapFilesJob): [Job][MapFiles] Could not read map/mideast directory | Stack:    at TsMap2.Job.Parse.Map.ParseMapFilesJob.Do()
   at TsMap2.Job.ThreadJob.<Run>b__7_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[10:10:40 INF] [Job][Localizations] Loaded.
System.AggregateException: One or more errors occurred. (One or more errors occurred. ([Job][MapFiles] Could not read map/mideast directory))
 ---> System.AggregateException: One or more errors occurred. ([Job][MapFiles] Could not read map/mideast directory)
 ---> TsMap2.Helper.JobException: [Job][MapFiles] Could not read map/mideast directory
   at TsMap2.Job.Parse.Map.ParseMapFilesJob.Do()
   at TsMap2.Job.ThreadJob.<Run>b__7_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TsMap2.Job.ParentThreadJob.Run()
[10:10:40 ERR] Unexpected Exception: TsMap2.Helper.JobException: [Job][MapFiles] Could not read map/mideast directory
   at TsMap2.Job.Parse.Map.ParseMapFilesJob.Do()
   at TsMap2.Job.ThreadJob.<Run>b__7_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[10:10:40 ERR] Unexpected Exception: System.AggregateException: One or more errors occurred. (One or more errors occurred. ([Job][MapFiles] Could not read map/mideast directory))
 ---> System.AggregateException: One or more errors occurred. ([Job][MapFiles] Could not read map/mideast directory)
 ---> TsMap2.Helper.JobException: [Job][MapFiles] Could not read map/mideast directory
   at TsMap2.Job.Parse.Map.ParseMapFilesJob.Do()
   at TsMap2.Job.ThreadJob.<Run>b__7_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TsMap2.Job.ParentThreadJob.Run()
   at TsMap2.CommandLine.<>c__DisplayClass3_0.<CommandExport>b__1()

From Korgi: (Promods without Middle East, but a couple other map expansions)

[10:13:10 INF] [Job][Prefab] Loaded. Found: 4455
System.AggregateException: One or more errors occurred. (One or more errors occurred. (Bad state (invalid block type)))
 ---> System.AggregateException: One or more errors occurred. (Bad state (invalid block type))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid block type)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read()
   at TsMap2.Scs.FileSystem.Entry.ScsFerryConnectionEntry.List()
   at TsMap2.Job.Parse.Def.ParseDefFerryConnectionsJob.Do()
   at TsMap2.Job.ThreadJob.<Run>b__7_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TsMap2.Job.ParentThreadJob.Run()
[10:13:10 ERR] Unexpected Exception: Ionic.Zlib.ZlibException: Bad state (invalid block type)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read()
   at TsMap2.Scs.FileSystem.Entry.ScsFerryConnectionEntry.List()
   at TsMap2.Job.Parse.Def.ParseDefFerryConnectionsJob.Do()
   at TsMap2.Job.ThreadJob.<Run>b__7_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
[10:13:10 ERR] Unexpected Exception: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Bad state (invalid block type)))
 ---> System.AggregateException: One or more errors occurred. (Bad state (invalid block type))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid block type)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read()
   at TsMap2.Scs.FileSystem.Entry.ScsFerryConnectionEntry.List()
   at TsMap2.Job.Parse.Def.ParseDefFerryConnectionsJob.Do()
   at TsMap2.Job.ThreadJob.<Run>b__7_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TsMap2.Job.ParentThreadJob.Run()

From myself: (Promods with Middle East addon)

System.AggregateException: One or more errors occurred. (One or more errors occurred. (Bad state (invalid distance code))) (One or more errors occurred. (Bad state (invalid literal/length code)))
 ---> System.AggregateException: One or more errors occurred. (Bad state (invalid distance code))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid distance code)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 48
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 43
   at TsMap2.Scs.FileSystem.Entry.ScsFerryConnectionEntry.List() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\ScsFerryConnectionEntry.cs:line 15
   at TsMap2.Job.Parse.Def.ParseDefFerryConnectionsJob.Do() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\Parse\Def\ParseDefFerryConnectionsJob.cs:line 10
   at TsMap2.Job.ThreadJob.<Run>b__7_0() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ThreadJob.cs:line 17
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TsMap2.Job.ParentThreadJob.Run() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ParentThreadJob.cs:line 30
 ---> (Inner Exception #1) System.AggregateException: One or more errors occurred. (Bad state (invalid literal/length code))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid literal/length code)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 48
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 43
   at TsMap2.Scs.FileSystem.Entry.AbstractScsEntry`1.Get(String path) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\AbstractScsEntry.cs:line 21
   at TsMap2.Scs.FileSystem.Entry.ScsCityEntry.List() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\ScsCityEntry.cs:line 11
   at TsMap2.Job.Parse.Def.ParseDefCitiesJob.Do() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\Parse\Def\ParseDefCitiesJob.cs:line 10
   at TsMap2.Job.ThreadJob.<Run>b__7_0() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ThreadJob.cs:line 17
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---<---

[14:12:05 ERR] Unexpected Exception: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Bad state (invalid distance code))) (One or more errors occurred. (Bad state (invalid literal/length code)))
 ---> System.AggregateException: One or more errors occurred. (Bad state (invalid distance code))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid distance code)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 48
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 43
   at TsMap2.Scs.FileSystem.Entry.ScsFerryConnectionEntry.List() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\ScsFerryConnectionEntry.cs:line 15
   at TsMap2.Job.Parse.Def.ParseDefFerryConnectionsJob.Do() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\Parse\Def\ParseDefFerryConnectionsJob.cs:line 10
   at TsMap2.Job.ThreadJob.<Run>b__7_0() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ThreadJob.cs:line 17
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TsMap2.Job.ParentThreadJob.Run() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ParentThreadJob.cs:line 30
   at TsMap2.CommandLine.<>c__DisplayClass3_0.<CommandExport>b__1() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\CommandLine.cs:line 83
 ---> (Inner Exception #1) System.AggregateException: One or more errors occurred. (Bad state (invalid literal/length code))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid literal/length code)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 48
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 43
   at TsMap2.Scs.FileSystem.Entry.AbstractScsEntry`1.Get(String path) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\AbstractScsEntry.cs:line 21
   at TsMap2.Scs.FileSystem.Entry.ScsCityEntry.List() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\ScsCityEntry.cs:line 11
   at TsMap2.Job.Parse.Def.ParseDefCitiesJob.Do() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\Parse\Def\ParseDefCitiesJob.cs:line 10
   at TsMap2.Job.ThreadJob.<Run>b__7_0() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ThreadJob.cs:line 17
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---<---

[14:12:05 ERR] Unexpected Exception: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Bad state (invalid distance code))) (One or more errors occurred. (Bad state (invalid literal/length code)))
 ---> System.AggregateException: One or more errors occurred. (Bad state (invalid distance code))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid distance code)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 48
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 43
   at TsMap2.Scs.FileSystem.Entry.ScsFerryConnectionEntry.List() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\ScsFerryConnectionEntry.cs:line 15
   at TsMap2.Job.Parse.Def.ParseDefFerryConnectionsJob.Do() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\Parse\Def\ParseDefFerryConnectionsJob.cs:line 10
   at TsMap2.Job.ThreadJob.<Run>b__7_0() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ThreadJob.cs:line 17
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at TsMap2.Job.ParentThreadJob.Run() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ParentThreadJob.cs:line 30
   at TsMap2.CommandLine.<>c__DisplayClass3_0.<CommandExport>b__1() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\CommandLine.cs:line 83
 ---> (Inner Exception #1) System.AggregateException: One or more errors occurred. (Bad state (invalid literal/length code))
 ---> Ionic.Zlib.ZlibException: Bad state (invalid literal/length code)
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.DeflateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.DeflateStream.UncompressBuffer(Byte[] compressed)
   at TsMap2.Scs.FileSystem.ScsZipEntry.Inflate(Byte[] buff) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 48
   at TsMap2.Scs.FileSystem.ScsZipEntry.Read() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\ScsEntry.cs:line 43
   at TsMap2.Scs.FileSystem.Entry.AbstractScsEntry`1.Get(String path) in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\AbstractScsEntry.cs:line 21
   at TsMap2.Scs.FileSystem.Entry.ScsCityEntry.List() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Scs\FileSystem\Entry\ScsCityEntry.cs:line 11
   at TsMap2.Job.Parse.Def.ParseDefCitiesJob.Do() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\Parse\Def\ParseDefCitiesJob.cs:line 10
   at TsMap2.Job.ThreadJob.<Run>b__7_0() in C:\Users\doode\Source\Repos\ts-map-JAGFx\TsMap2\Job\ThreadJob.cs:line 17
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---<---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant