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

[Bug] Crashes on startup #63

Closed
Yufukuai opened this issue Sep 4, 2021 · 10 comments
Closed

[Bug] Crashes on startup #63

Yufukuai opened this issue Sep 4, 2021 · 10 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Yufukuai
Copy link

Yufukuai commented Sep 4, 2021

Description

Steps to Reproduce

  1. Open the program
  2. Wait a few seconds
  3. It crashes

Expected Behavior

To work after having the .NET runtimes installed and opening the exe normally.

Actual Behavior

It shows the loading image of the frontiers update and then crashes, showing a window explaining the error

Basic Information

  • Version with issue: 3.6.0.18-alpha.18
  • Platform you use: Steam

HTML Report

Exception

Type
System.Windows.Markup.XamlParseException

Message
La invocación del constructor del tipo 'NomNom.ViewModel.MainViewModel' que coincide con las restricciones de enlace especificadas produjo una excepción.

Source
PresentationFramework

Stack Trace
en System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
en System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
en System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
en System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
en System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
en System.Windows.Application.DoStartup()
en System.Windows.Application.<.ctor>b__1_0(Object unused)
en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

InnerException

Type
System.AggregateException

Message
Se han producido uno o varios errores.

Source
mscorlib

Stack Trace
en System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
en NomNom.IO.IPlatform.BuildContainerCollection()
en NomNom.IO.PlatformFactory.GetPlatform(PlatformEnum platformEnum, String path, String& relocated)
en NomNom.IO.PlatformFactory.GetPlatform(String path, String& relocated)
en NomNom.Manager.SetSavePath(String path)
en NomNom.Manager.Initialize()
en NomNom.ViewModel.MainViewModel..ctor()

InnerException

Type
System.ArgumentOutOfRangeException

Message
El índice estaba fuera del intervalo. Debe ser un valor no negativo e inferior al tamaño de la colección. Nombre del parámetro: index

Source
mscorlib

Stack Trace
en System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
en NomNom.IO.PlatformSteam.DecryptMeta(Container container, Byte[] meta)
en NomNom.IO.IPlatform.LoadMeta(Container container)
en NomNom.IO.PlatformSteam.LoadContainer(Container container)
en NomNom.IO.IPlatform.BuildContainer(Int32 index, Container container, Object data)
en NomNom.IO.IPlatform.<>c__DisplayClass89_1.b__1()
en System.Threading.Tasks.Task.Execute()

@Yufukuai Yufukuai added the bug Something isn't working label Sep 4, 2021
@dvkkha
Copy link

dvkkha commented Sep 4, 2021

I second this. Exactly same behavior on my end. Windows 10, latest build and .NET Framework.

@SuicidalFrisson
Copy link

at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at NomNom.IO.IPlatform.BuildContainerCollection()
at NomNom.IO.PlatformFactory.GetPlatform(PlatformEnum platformEnum, String path, String& relocated)
at NomNom.IO.PlatformFactory.GetPlatform(String path, String& relocated)
at NomNom.Manager.SetSavePath(String path)
at NomNom.Manager.Initialize()
at NomNom.ViewModel.MainViewModel..ctor()

@Alidar78
Copy link

Alidar78 commented Sep 5, 2021

I second this. Exactly same behavior on my end. Windows 10, latest build and .NET Framework.

Crashes Immediately

NomNom 3.6.0.18-alpha.18 Crash Report

Windows Version

Microsoft Windows 10 Home 64-bit (Build 19043)

.NET Framework Version

4.8

Path

Save

Output

Game Platform

Unknown

Exception

Type

System.Windows.Markup.XamlParseException

Message

The invocation of the constructor on type 'NomNom.ViewModel.MainViewModel' that matches the specified binding constraints threw an exception.

Source

PresentationFramework

Stack Trace

at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

InnerException

Type

System.AggregateException

Message

One or more errors occurred.

Source

mscorlib

Stack Trace

at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at NomNom.IO.IPlatform.BuildContainerCollection()
at NomNom.IO.PlatformFactory.GetPlatform(PlatformEnum platformEnum, String path, String& relocated)
at NomNom.IO.PlatformFactory.GetPlatform(String path, String& relocated)
at NomNom.Manager.SetSavePath(String path)
at NomNom.Manager.Initialize()
at NomNom.ViewModel.MainViewModel..ctor()

InnerException

Type

System.ArgumentOutOfRangeException

Message

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

Source

mscorlib

Stack Trace

at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at NomNom.IO.PlatformSteam.DecryptMeta(Container container, Byte[] meta)
at NomNom.IO.IPlatform.LoadMeta(Container container)
at NomNom.IO.PlatformSteam.LoadContainer(Container container)
at NomNom.IO.IPlatform.BuildContainer(Int32 index, Container container, Object data)
at NomNom.IO.IPlatform.<>c__DisplayClass89_1.b__1()
at System.Threading.Tasks.Task.Execute()

@cengelha
Copy link
Member

cengelha commented Sep 5, 2021

Can you send me your save folder? I don't have any of those crashes and need something to reproduce it. Thanks!

@cengelha cengelha self-assigned this Sep 5, 2021
@cengelha cengelha added this to the Cross-save & Knowledge milestone Sep 5, 2021
@Yufukuai
Copy link
Author

Yufukuai commented Sep 5, 2021

Can you send me your save folder? I don't have any of those crashes and need something to reproduce it. Thanks!

Should I upload the save folder to Google Drive or something? If yes, where to? Or should I just send a screenshot of the folder?

@Alidar78
Copy link

Alidar78 commented Sep 5, 2021

Can you send me your save folder? I don't have any of those crashes and need something to reproduce it. Thanks!

I'm not sure how to do that, i'm really Noob-ish with this kind of stuff

@Alidar78
Copy link

Alidar78 commented Sep 5, 2021

I hope i did this right, hopefully this helps

st_76561198027823396.zip

@cengelha
Copy link
Member

cengelha commented Sep 5, 2021

@Yufukuai As you like. Upload to cloud storage and post link here, or directly attach it here as Alidar78 did.
We figured out Alidar78s cause on my Discord but yours might be different. I would like to have a look at yours too

@Yufukuai
Copy link
Author

Yufukuai commented Sep 5, 2021

Save Folder (Ask for permission) This was the save folder before NomNom fixed itself

@cengelha cengelha removed this from the Cross-save & Knowledge milestone Nov 17, 2021
@cengelha
Copy link
Member

Please check and let me know if the issue persists in the latest version (3.7.0.20).

@cengelha cengelha added this to the Expeditions & Settlements milestone Nov 29, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants