Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
915 stars 135 forks source link

error: BUTR.NativeAOT.Shared.NativeCallException: Cannot read properties of undefined (reading 'id') at BUTR.NativeAOT.Shared.SafeStructMallocHandle`1.ValueAsJson[TValue](JsonTypeInfo`1, String) + 0xe8 at Bannerlord.LauncherManager.Native.Adapters #15828

Closed VortexFeedback closed 5 months ago

VortexFeedback commented 5 months ago

Application error

System

Platform win32 10.0.22631
Architecture x64
Application Version 1.11.6
Process renderer

Message

BUTR.NativeAOT.Shared.NativeCallException: Cannot read properties of undefined (reading 'id') at BUTR.NativeAOT.Shared.SafeStructMallocHandle1.ValueAsJson[TValue](JsonTypeInfo1, String) + 0xe8 at Bannerlord.LauncherManager.Native.Adapters.LoadOrderStateProvider.GetAllModuleViewModelsNative() + 0x97 at Bannerlord.LauncherManager.LauncherManagerHandler.TryOrderByLoadOrderTW(IEnumerable1, Func2, IReadOnlyList1&, IReadOnlyList1&, Boolean) + 0x97 at Bannerlord.LauncherManager.Native.Bindings.OrderByLoadOrder(param_ptr, param_json) + 0x2aa

Title

Failed load order operation

Context

gamemode = Mount & Blade II: Bannerlord (BUTR)

Stack

Error: BUTR.NativeAOT.Shared.NativeCallException: Cannot read properties of undefined (reading 'id')
   at BUTR.NativeAOT.Shared.SafeStructMallocHandle`1.ValueAsJson[TValue](JsonTypeInfo`1, String) + 0xe8
   at Bannerlord.LauncherManager.Native.Adapters.LoadOrderStateProvider.GetAllModuleViewModelsNative() + 0x97
   at Bannerlord.LauncherManager.LauncherManagerHandler.TryOrderByLoadOrderTW(IEnumerable`1, Func`2, IReadOnlyList`1&, IReadOnlyList`1&, Boolean) + 0x97
   at Bannerlord.LauncherManager.Native.Bindings.OrderByLoadOrder(param_ptr*, param_json*) + 0x2aa
    at NativeLauncherManager.orderByLoadOrder (C:\Users\味澤 孝太郎\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II_ Bannerlord v1.0.1\index.js:221:33)
    at VortexLauncherManager.orderByLoadOrder (C:\Users\味澤 孝太郎\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II_ Bannerlord v1.0.1\index.js:2299:38)
    at Object.deserializeLoadOrder (C:\Users\味澤 孝太郎\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II_ Bannerlord v1.0.1\index.js:1670:38)
    at onStartUp (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2783:108)
    at onStartUp (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2785:143)
    at FileBasedLoadOrderPage.componentDidMount (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2852:69)
    at Ji (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:212:132)
    at Sj (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:255:229)
    at exports.unstable_runWithPriority (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\scheduler\cjs\scheduler.production.min.js:19:467)
    at cg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:122:325)
    at Jj (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:248:370)
    at yj (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:239:376)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:123:115
    at exports.unstable_runWithPriority (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\scheduler\cjs\scheduler.production.min.js:19:467)
    at cg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:122:325)
    at fg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:123:61)

Reported from:
Error
    at showError (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9819:202)
    at mApi.showErrorNotification (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:8762:52)
    at reportError (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2831:42)
    at errorHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2840:44)
    at onStartUp (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2785:21)
    at onStartUp (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2785:143)
    at FileBasedLoadOrderPage.componentDidMount (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2852:69)
    at Ji (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:212:132)
    at Sj (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:255:229)
    at exports.unstable_runWithPriority (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\scheduler\cjs\scheduler.production.min.js:19:467)
    at cg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:122:325)
    at Jj (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:248:370)
    at yj (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:239:376)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:123:115
    at exports.unstable_runWithPriority (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\scheduler\cjs\scheduler.production.min.js:19:467)
    at cg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:122:325)

Reported by: ajp61

Aragas commented 5 months ago

Needs version info of the extension

Aragas commented 5 months ago

Seems to be fixed now