[progress Communities] [progress Openedge Abl] Forum Post: Tracing .net-abl Error

  • Thread starter Thread starter Ken Ward
  • Start date Start date
Status
Not open for further replies.
K

Ken Ward

Guest
I'm trying to run a .net window from an ABL window. This has worked just fine in a development environment, but in an installed environment it errors. Here's the code from the ABL window: PROCEDURE initializeObject : /* Code placed here will execute PRIOR to standard behavior. */ RUN SUPER. /* Code placed here will execute AFTER standard behavior. */ DEF VAR vLbld AS CLASS rpt.lbld.lblDesign NO-UNDO. vLblD = NEW rpt.lbld.lblDesign(). WAIT-FOR Application:Run( INPUT vLblD ). vLblD:Dispose(). DELETE OBJECT vLblD. APPLY "close" TO THIS-PROCEDURE. END PROCEDURE. Here's the error that's generated: System.NullReferenceException: Object reference not set to an instance of an object. Stack Trace: --> initializeObject rpt\lblDesign.w at line 4718 (e:\v2\rcode\rpt\lblDesign.r) RunProcedure base\mdi_plus.w at line 32097 (e:\v2\rcode\base\mdi_plus.r) USER-INTERFACE-TRIGGER base\mdi_plus.w at line 25540 (e:\v2\rcode\base\mdi_plus.r) base\mdi_plus.w at line 26255 (e:\v2\rcode\base\mdi_plus.r) sy_start_plus.p at line 19909 (e:\v2\rcode\base\sy_start_plus.r) .NET StackTrace: --> at Progress.ClrBridge.ProxyFactory.CreateConstructors(Type parent, MethodGenerator methodGenerator) at Progress.ClrBridge.ProxyFactory.CreateProxyType(IAblClassInfo info, Int32 revision) at Progress.ClrBridge.ProxyFactory.GetProxyType(IClassInfo info) at Progress.ClrBridge.ClrApi.CreateProxy(IAblClassInfo abltype, Type[] types, Object[] args, UInt64 opaqueid) at Progress.ClrBridge.BrgClrFromPro.createProxy(BrgClrFromPro* , otmClass* , Int64 , UInt64 , prmhdr* ) Things I've already checked: - There is an lblDesign.r file located in the \rpt\lbld\ folder. This was a .cls file in the dvl environment - other code in our system that references .net Progress windows is working properly. - the assemblies.xml file and related .dll files are in their approriate folders. Any help would be greatly appreciated. Thanks, Ken

Continue reading...
 
Status
Not open for further replies.
Back
Top