Skip to content

System.NullReferenceException #37

Description

@dylanwalker

I am trying to run this with a MS FF2 joystick. fedit.exe confirms the joystick is detected and forces work. I am using the default configuration on win11 with latest .net runtime.

I get this result (both when running the executable directly and from console):


Unable to access window handle. Do not run EDForceFeedback.exe in a console window.


Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Journals.Client.Initialize(Settings settings) in F:\workspace\elite\EDForceFeedback\Journals\Client.cs:line 46
at EDForceFeedback.Program.

d__0.MoveNext() in F:\workspace\elite\EDForceFeedback\EDForceFeedback\Program.cs:line 20
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at EDForceFeedback.Program.(String[] _)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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