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

Crash caused by going to modchooser after trying to watch briefing #17314

Open
abmyii opened this issue Nov 7, 2019 · 7 comments
Labels

Comments

@abmyii
Copy link
Contributor

@abmyii abmyii commented Nov 7, 2019

When returning to modchooser after trying to watch a briefing without the movies downloaded the game will crash and give this error:

Exception of type `System.NullReferenceException`: Object reference not set to an instance of an object
  at OpenRA.Mods.Common.Traits.MapOptionsInfo.OpenRA.Traits.IRulesetLoaded<OpenRA.ActorInfo>.RulesetLoaded (OpenRA.Ruleset rules, OpenRA.ActorInfo info) [0x00000] in <d6a359fbbfb04ca8919ae4872a574cff>:0 
  at OpenRA.Ruleset..ctor (OpenRA.IReadOnlyDictionary`2[TKey,TValue] actors, OpenRA.IReadOnlyDictionary`2[TKey,TValue] weapons, OpenRA.IReadOnlyDictionary`2[TKey,TValue] voices, OpenRA.IReadOnlyDictionary`2[TKey,TValue] notifications, OpenRA.IReadOnlyDictionary`2[TKey,TValue] music, OpenRA.TileSet tileSet, OpenRA.Graphics.SequenceProvider sequences, OpenRA.IReadOnlyDictionary`2[TKey,TValue] modelSequences) [0x00072] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.Ruleset.LoadDefaultsForTileSet (OpenRA.ModData modData, System.String tileSet) [0x00021] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.MapPreview+InnerData+<>c__DisplayClass28_0.<SetRulesetGenerator>b__0 () [0x0007f] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at System.Lazy`1[T].ViaFactory (System.Threading.LazyThreadSafetyMode mode) <0x7fa2777c8a30 + 0x00166> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].ExecutionAndPublication (System.LazyHelper executionAndPublication, System.Boolean useDefaultConstructor) <0x7fa2777c8ba0 + 0x00097> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].CreateValue () <0x7fa2777c8eb0 + 0x000a4> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].get_Value () <0x7fa2777c90d0 + 0x0003e> in <285579f54af44a2ca048dad6be20e190>:0 
  at OpenRA.MapPreview+InnerData.get_Rules () [0x0000a] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.MapPreview.get_Rules () [0x00000] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.MapPreview.PreloadRules () [0x00000] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.Mods.Common.Widgets.Logic.MissionBrowserLogic+<>c__DisplayClass21_1.<.ctor>b__10 () [0x0001d] in <d6a359fbbfb04ca8919ae4872a574cff>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) <0x7fa277898110 + 0x000ad> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x7fa277895a80 + 0x0014d> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x7fa2778959c0 + 0x00041> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) <0x7fa277895930 + 0x0004d> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ThreadHelper.ThreadStart () <0x7fa277898290 + 0x00041> in <285579f54af44a2ca048dad6be20e190>:0 

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at OpenRA.Mods.Common.Traits.MapOptionsInfo.OpenRA.Traits.IRulesetLoaded<OpenRA.ActorInfo>.RulesetLoaded (OpenRA.Ruleset rules, OpenRA.ActorInfo info) [0x00000] in <d6a359fbbfb04ca8919ae4872a574cff>:0 
  at OpenRA.Ruleset..ctor (OpenRA.IReadOnlyDictionary`2[TKey,TValue] actors, OpenRA.IReadOnlyDictionary`2[TKey,TValue] weapons, OpenRA.IReadOnlyDictionary`2[TKey,TValue] voices, OpenRA.IReadOnlyDictionary`2[TKey,TValue] notifications, OpenRA.IReadOnlyDictionary`2[TKey,TValue] music, OpenRA.TileSet tileSet, OpenRA.Graphics.SequenceProvider sequences, OpenRA.IReadOnlyDictionary`2[TKey,TValue] modelSequences) [0x00072] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.Ruleset.LoadDefaultsForTileSet (OpenRA.ModData modData, System.String tileSet) [0x00021] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.MapPreview+InnerData+<>c__DisplayClass28_0.<SetRulesetGenerator>b__0 () [0x0007f] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at System.Lazy`1[T].ViaFactory (System.Threading.LazyThreadSafetyMode mode) <0x7fa2777c8a30 + 0x00166> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].ExecutionAndPublication (System.LazyHelper executionAndPublication, System.Boolean useDefaultConstructor) <0x7fa2777c8ba0 + 0x00097> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].CreateValue () <0x7fa2777c8eb0 + 0x000a4> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].get_Value () <0x7fa2777c90d0 + 0x0003e> in <285579f54af44a2ca048dad6be20e190>:0 
  at OpenRA.MapPreview+InnerData.get_Rules () [0x0000a] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.MapPreview.get_Rules () [0x00000] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.MapPreview.PreloadRules () [0x00000] in <dc4bb0c07beb4ed29a88cb874db0f40c>:0 
  at OpenRA.Mods.Common.Widgets.Logic.MissionBrowserLogic+<>c__DisplayClass21_1.<.ctor>b__10 () [0x0001d] in <d6a359fbbfb04ca8919ae4872a574cff>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) <0x7fa277898110 + 0x000ad> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x7fa277895a80 + 0x0014d> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x7fa2778959c0 + 0x00041> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) <0x7fa277895930 + 0x0004d> in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ThreadHelper.ThreadStart () <0x7fa277898290 + 0x00041> in <285579f54af44a2ca048dad6be20e190>:0 

Steps to reproduce:

  • Go to any mission and press on the "Watch Briefing" or "Watch Info Video" (intermittent for some reason) buttons.
  • It will give a "content missing" warning and tell you to go to the mod chooser and download it.
  • When you press the "Manage Content" button the game crashes.
@abcdefg30 abcdefg30 added the Crash label Nov 7, 2019
@pchote

This comment has been minimized.

Copy link
Member

@pchote pchote commented Nov 7, 2019

What version and mod are you using?

I can't reproduce this on either playtest-20191102 or current bleed with d2k.

@abmyii

This comment has been minimized.

Copy link
Contributor Author

@abmyii abmyii commented Nov 7, 2019

Version is playtest-20191102 and bleed (perhaps a few commits behind). Ubuntu 18.04.

@abmyii

This comment has been minimized.

Copy link
Contributor Author

@abmyii abmyii commented Nov 7, 2019

Must be an issue with the structure of my Content folder though I haven't touched it. Content was downloaded from online by the game.

@abmyii

This comment has been minimized.

Copy link
Contributor Author

@abmyii abmyii commented Nov 7, 2019

The log provides more information, specifically the file (OpenRA/OpenRA.Mods.Common/Traits/World/MapOptions.cs, line 103):

OpenRA engine version playtest-20191102
Date: 2019-11-07 22:29:06Z
Operating System: Linux (Unix 4.15.0.66)
Runtime Version: Mono 6.4.0.198 (tarball Tue Sep 24 01:20:30 UTC 2019) CLR 4.0.30319.42000
Exception of type `System.NullReferenceException`: Object reference not set to an instance of an object
  at OpenRA.Mods.Common.Traits.MapOptionsInfo.OpenRA.Traits.IRulesetLoaded<OpenRA.ActorInfo>.RulesetLoaded (OpenRA.Ruleset rules, OpenRA.ActorInfo info) [0x00000] in /home/travis/build/OpenRA/OpenRA/OpenRA.Mods.Common/Traits/World/MapOptions.cs:103 
  at OpenRA.Ruleset..ctor (OpenRA.IReadOnlyDictionary`2[TKey,TValue] actors, OpenRA.IReadOnlyDictionary`2[TKey,TValue] weapons, OpenRA.IReadOnlyDictionary`2[TKey,TValue] voices, OpenRA.IReadOnlyDictionary`2[TKey,TValue] notifications, OpenRA.IReadOnlyDictionary`2[TKey,TValue] music, OpenRA.TileSet tileSet, OpenRA.Graphics.SequenceProvider sequences, OpenRA.IReadOnlyDictionary`2[TKey,TValue] modelSequences) [0x00072] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.Ruleset.LoadDefaultsForTileSet (OpenRA.ModData modData, System.String tileSet) [0x00021] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.MapPreview+InnerData+<>c__DisplayClass28_0.<SetRulesetGenerator>b__0 () [0x0007f] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at System.Lazy`1[T].ViaFactory (System.Threading.LazyThreadSafetyMode mode) [0x00043] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].ExecutionAndPublication (System.LazyHelper executionAndPublication, System.Boolean useDefaultConstructor) [0x00022] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].CreateValue () [0x00074] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Lazy`1[T].get_Value () [0x0000a] in <285579f54af44a2ca048dad6be20e190>:0 
  at OpenRA.MapPreview+InnerData.get_Rules () [0x0000a] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.MapPreview.get_Rules () [0x00000] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.MapPreview.PreloadRules () [0x00000] in <41ea05b7ed284beb982b402d91ea028d>:0 
  at OpenRA.Mods.Common.Widgets.Logic.MissionBrowserLogic+<>c__DisplayClass21_1.<.ctor>b__10 () [0x0001d] in /home/travis/build/OpenRA/OpenRA/OpenRA.Mods.Common/Widgets/Logic/MissionBrowserLogic.cs:147 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <285579f54af44a2ca048dad6be20e190>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <285579f54af44a2ca048dad6be20e190>:0 
@pchote

This comment has been minimized.

Copy link
Member

@pchote pchote commented Nov 7, 2019

Was the playtest version built from source, or run from the AppImage? If build from source, please see if you can also reproduce with the AppImage.

@abmyii

This comment has been minimized.

Copy link
Contributor Author

@abmyii abmyii commented Nov 7, 2019

I tried both from source and the AppImage.

@abmyii

This comment has been minimized.

Copy link
Contributor Author

@abmyii abmyii commented Nov 7, 2019

I re-downloaded the content too (modified HOME variable) - same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.