Skip to content

SLOBS connection crashes - System.ArgumentException: 'Can not convert Null to Int32.' #1

Description

@boingball

Using SLOBS, when the API key is inserted the program crashes.

It breaks at COBSMidiRemote.cs - await Obs.Reload();
System.ArgumentException: 'Can not convert Null to Int32.'
This exception was originally thrown at this call stack:
[External Code]
OBSMidiRemote.Lib.SLOBS.SLOBSFader.SLOBSFader(Newtonsoft.Json.Linq.JObject) in Types.cs
OBSMidiRemote.Lib.SLOBS.SLOBSAudioSource.SLOBSAudioSource(Newtonsoft.Json.Linq.JObject) in Types.cs
OBSMidiRemote.Lib.SLOBS.SLOBSWebsocket.ListAudioSources() in SLOBSWebsocket.cs
[External Code]
OBSMidiRemote.Lib.CSLOBSConnector.Reload() in CSLOBSConnector.cs
[External Code]
OBSMidiRemote.Lib.COBSMidiRemote.Obs_ConnectionStatus(OBSMidiRemote.Lib.IOBSConnector, OBSMidiRemote.Lib.EOBSCStatus) in COBSMidiRemote.cs

Without the API inserted in the password box, it looks like it connects but using debug view it doesn't.

Maybe that also needs to be shown in a connection status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions