Skip to content

unclear error log message #168

Description

@tassoman

I probably messed up with WeatherFX in that profile, server crash with unclear message v.0.0.55-pre-35

Object reference not set to an instance of an object.

[11:50:51 FTL] Fatal exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at AssettoServer.Server.Weather.WeatherManager.SetWeatherConfiguration(Int32 id) in AssettoServer/Server/Weather/WeatherManager.cs:line 104
   at AssettoServer.Server.Weather.WeatherManager.StartingAsync(CancellationToken cancellationToken) in AssettoServer/Server/Weather/WeatherManager.cs:line 234
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at AssettoServer.Program.RunServerAsync(String preset, String serverCfgPath, String entryListPath, PortOverrides portOverrides, Boolean useVerboseLogging, CancellationToken token) in AssettoServer/Program.cs:line 195

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions