Exception when updating interface files from a DLL

Hi,

Using the latest RO/DA 10.0.0.1481 with Delphi 10.3
I recently converted my RO/DA server to code-first. The server is available via a DLL or SuperTCP. I have then created 2 .remoteRODL files, one for each server types. I right click on them in Delphi IDE, then click “Update interface file(s)”. It is working as expected for the SuperTCP one. But I get the following exception for the DLL one. Let me add that both servers are working as expected when launched:

[1980BE3A]{RemObjects_Core_D26.bpl} Urodllchannel.TRODLLChannel.BeforeDispatch + $7A
[50060C23]{rtl260.bpl  } System.@HandleAnyException (Line 20606, "System.pas" + 13) + $0
[197E7A35]{RemObjects_Core_D26.bpl} Uroclasses.NewGuid + $1
[1980BE1F]{RemObjects_Core_D26.bpl} Urodllchannel.TRODLLChannel.BeforeDispatch + $5F
[1974C5D4]{RemObjects_Core_D26.bpl} Urotransportchannel.TROTransportChannel.RetrieveMetadata + $14
[1991C141]{RemObjects_Core_D26.bpl} Uroremoterodlsupport.LoadRemoteRODL + $E5
[1991C36A]{RemObjects_Core_D26.bpl} Uroremoterodlsupport.LoadRemoteRODL + $9A
[1991BFEE]{RemObjects_Core_D26.bpl} Uroremoterodlsupport.LoadRemoteRODLLibrary + $42
[1959C77F]{RemObjects_IDE_D26.bpl} Uroiderodlsupport.ProcessRemoteRODL + $7B
[1959DB76]{RemObjects_IDE_D26.bpl} Uroidemenu.CreateRemoteRODL + $BD2
[191D4DFD]{RemObjects_Everwood_D26.bpl} Uewotahelpers.TEWOTAProjectManagerMenu.Execute + $D
[2053869E]{coreide260.bpl} ContainerIntf.TProjectManagerMenuItem.Click (Line 1110, "ContainerIntf.pas" + 18) + $22
[50E5381F]{vcl260.bpl  } Vcl.Menus.TMenu.DispatchCommand (Line 3507, "Vcl.Menus.pas" + 5) + $2
[50E54AAA]{vcl260.bpl  } Vcl.Menus.TPopupList.WndProc (Line 4680, "Vcl.Menus.pas" + 4) + $E
[5006030C]{rtl260.bpl  } System.TMonitor.CheckOwningThread (Line 19122, "System.pas" + 2) + $0
[5006062E]{rtl260.bpl  } System.TMonitor.Exit (Line 19312, "System.pas" + 1) + $2
[23742C11]{cxLibraryRS26.bpl} Cxcontainer. + $0
[236A5D61]{cxLibraryRS26.bpl} Dxhooks. + $0
[50E549F9]{vcl260.bpl  } Vcl.Menus.TPopupList.MainWndProc (Line 4655, "Vcl.Menus.pas" + 2) + $5
[50179C9C]{rtl260.bpl  } System.Classes.StdWndProc (Line 17959, "System.Classes.pas" + 11) + $2
[212ECE7F]{vclide260.bpl} IDEVirtualTrees.TVirtualTreeHintWindow.IsHintMsg (Line 7101, "IDEVirtualTrees.pas" + 7) + $13
[50E6ECCF]{vcl260.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10747, "Vcl.Forms.pas" + 23) + $1
[50E6ED12]{vcl260.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10777, "Vcl.Forms.pas" + 1) + $4
[50E6F045]{vcl260.bpl  } Vcl.Forms.TApplication.Run (Line 10915, "Vcl.Forms.pas" + 26) + $3
[0051D06E]{bds.exe     } bds.bds (Line 214, "" + 7) + $7

How can this be troubleshooted ?

Thank you.

Hi,

what ServerUri you have used for DLL server in .remoteRODL?
it should be like

<?xml version="1.0" encoding="UTF-8"?>
<RemoteRodl>
	<Server>
		<Name>NewProjectLibrary</Name>
		<ServerUri>file:///y:\project\Win32\Debug\NewProjectServer.dll</ServerUri>
	</Server>
</RemoteRodl>

ServerUri is correctly defined. I even tried to provide a wrong one, which shows another error that the file can’t be found. I tried both forward and backward slashes too:

<?xml version="1.0" encoding="UTF-8"?>
<RemoteRodl>
	<Server>
		<Name>Program</Name>
		<ServerUri>file:///C:/Development/Programs/Program1/trunk/Bin/Debug/Win32/program1.dll</ServerUri>
	</Server>
</RemoteRo

Hi,

Can you create a simple DLL server (codefirst) from template and test it.
will it work as expected?

can you create a simple testcase that reproduces this case on your side and send it to support@ for investigation.

I cannot reproduce the problem with a new project from the template.
I can’t create a testcase as the project is quite complex. Any ideas where I can look or what I could try based on the exception trace I sent earlier ?

Hi,

you’ve shown only call-stack but your post doesn’t contain any error message that was raised …

Here it is:

---------------------------
Error
---------------------------
Access violation at address 1A88BE3A in module 'RemObjects_Core_D26.bpl'. Read of address 00000000.
---------------------------
OK   Details >>   
---------------------------

Hi,

it seems something is wrong with server response.
can you send your project to support@ for investigation, pls?

you can remove all logic from _Impl file & related files. this is doesn’t matter for this error