R
RJPowell
Guest
We're currently experiencing an error with OpenEdge.Net.HTTP.ClientBuilder which we're struggling to work out. Everything is working fine in developer studio, and compiles without error, but at runtime we get the following: "Static instance failed to load. Cannot reference class OpenEdge.Core.Assert. (14631) Lead attributes in a chained-attribute expression (a:b:c) must be type HANDLE or a user-defined type and valid (not UNKNOWN). (10068)" The code throwing the error is essentially (trimming some fluff): using OpenEdge.Net.HTTP.*. define private variable oClient as IHttpClient no-undo. buildClient(). method private void buildClient(): define variable oClientBuilder as ClientBuilder no-undo. define variable oClientOptions as ClientOptions no-undo. oClientBuilder = ClientBuilder:Build(). oClient = oClientBuilder:Client. oClientOptions = oClient:Options. end method. It's ClientBuilder:Build() which is throwing the error. This is running under OE 11.7.2. Any help would be appreciated if anyone has seen it before.
Continue reading...
Continue reading...