vpinball / b2s-backglass

B2S Backglass Server for use with Visual Pinball
Other
40 stars 7 forks source link

B2S 2.1.2 Throws System NullReferenceException #121

Open Zappo-II opened 3 hours ago

Zappo-II commented 3 hours ago

I have (had) a properly working 1.3.1 Version installed in my VPX/Tables dir I have VPX 10.7.3 final

After installing B2S 2.1.2 (Tried multiple times to install it seperately into its own dir, but then it wouldn't even start) to my vpx/tables dir it starts and fires up but immediately afterwards it throws this:

B2S Error

Sorry for being german locale - Means something like "Unhandled Exception - ObjectReference not set to an Objectinstance"...

If I click on "continue" (Weiter), the dialog disappears shortly, then comes back...

In between the DOF Toys do fire and stuff but each and every time the PopUp pops back up and raises havoc with the Active Windows and stuf...

I have absolutely no Idea how to pin point the cause of this...

What might be of interest is:

B2S Version

If I remove all the 2.1.2 Stuff and replace my previous 1.3.1 version, everything is back to normal...

Any Advice welcome...

Zappo-II commented 2 hours ago

...just looking around in the code it seems to me that:

Private Function GetGIStringsPollingData(ByVal regkey As RegistryKey) As String returns at least an empty string...

...and...

Private Sub GetThruAllGIStrings(ByVal gistringsData As String)

... does quite a lot of stuff that might involve Objects that haven't been instantiated...

Any Advice / Help appreciated...

Zappo-II commented 2 hours ago

This is my Registry...

Screenshot (3)

Am I missing something there... 🤔 ...???