Jump to content
The simFlight Network Forums

Error Group'' does not exist


MarcinK71

Recommended Posts

Hi

I have a problem, very odd. 99.9% of installations all is fine, but one PC setup (noting special) I am getting this:

18:01:44.322: Error: System.Exception: Group '' does not exist.
   at FSUIPC.FSUIPCConnection.Process(Byte ClassInstance, IEnumerable`1 GroupNames)
   at FSUIPC.FSUIPCConnection.Process(Byte ClassInstance, String GroupName)
   at FSUIPC.FSUIPCConnection.Process()
   at SkalarkiIOProfiler.FSUIPCConnector.StandardProcessor.Process()
   at SkalarkiIOProfiler.FSUIPCConnector.Process()
   at JEEHELLAirbus.JLFMGS.ExecuteFunction(String functionName, Object[] parameters)
   at SkalarkiIOProfiler.Profiler.Profile._InputChangeStateEvent(Object sender, InputChangeStateEventArgs e)

Any idea what can cause this problem?

Link to comment
Share on other sites

Hi,

Here's what I can tell you from the stack trace:

The main error is that FSUIPCConnection.Process() has been called for the default group (no group name), however at the time it was called, no offsets have been created yet (at least not in the default group) so that group does not exist.

The origin of the call is an event being fired called InputChangeStateEvent on the SkalarkiIOProfiler.Profile class. This calls JEEHELLAirbus.JLFMGS.ExecuteFunction() which calls your FSUIPC wrapper.

If this problem only occurs on one PC then it's likely a timing issue (especially likely if your application is multi-threaded). Something on that machine is causing the  _InputChangeStateEvent event to be fired before the offsets are created.

You'll need to think about what triggers the InputChangeStateEvent and why it might be firing early on that machine.

However, it could just be a tread timing issue (is the bad PC super fast or super slow?) in which case you'll need some kind of synchronisation/delay code that guarantees things are created in the correct and started order.

Hopefully that points you in the right direction. If you need more help I'll need to see the relevant parts of the code.

Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.