Plex 2E

 View Only
  • 1.  Variable not found in class

    Posted Nov 22, 2019 12:26 PM
    Hi,

    When I run a specific C# application the following errors occur:

    [PLEX0057] Variable "BGquF_Control" not found in class "ObRun.ObMain.ObVariableGroupX" loaded from assembly "Plex.ObRun, Version=5.5.0.0, Culture=neutral, PublicKeyToken=3ea450f96cbb47da".

    [PLEX0059] Error while invoking the function App.UI.Customer.BGquF_ObFnc. Object reference not set to an instance of an object.

    The BGquF function is a server RPG function called by a C# function.

    Any help is appreciated.  Thanks.


  • 2.  RE: Variable not found in class
    Best Answer

    Posted Nov 22, 2019 01:24 PM
    Edited by Christopher Hackett Nov 25, 2019 06:05 PM
    Well, I answered my own question...

    The following "package contains" triple was missing which is the server function (BGquF):

    App.Server.Customer Comment    contains FNC  Customer Comment.Flash.BlockFetchSet

    After entering the triple the Code Library Wizard was executed.

    I hope this helps whomever generates C# client - IBM i server applications.