Hello,
After updating Delphi to version 12.2 Patch 2 and RemObjects to version 10.0.0.1605, when I try to generate the interface file, this error is being generated.
Hello,
After updating Delphi to version 12.2 Patch 2 and RemObjects to version 10.0.0.1605, when I try to generate the interface file, this error is being generated.
Hi,
I can’t reproduce any issue with ROD .1605 and Delphi 12 Patch 2.
Can you uninstall ROD and reinstall it from scratch?
will it solve this issue on your side?
Hi,
I removed and reinstalled it and it still generates the same error.
I have attached the full error log generated in Delphi
QPInfo-20250210-0000.zip (219.7 KB)
[41BCBDD1]{RemObjects_IDE_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $A9
[6DC8A230]{rtl290.bpl } System.@CheckAutoResult (Line 40350, “System.pas” + 4) + $6
[41BCBDD1]{RemObjects_IDE_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $A9
[41BCBCED]{RemObjects_IDE_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $45
[41BCBEEB]{RemObjects_IDE_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $3B
[41BCC250]{RemObjects_IDE_D29.bpl} Uroiderodlsupport. + $0
[41BCC60B]{RemObjects_IDE_D29.bpl} Uroiderodlsupport. + $0
[41BCCBA8]{RemObjects_IDE_D29.bpl} Uroiderodlsupport.ProcessRemoteRODL + $118
[41BCD4CC]{RemObjects_IDE_D29.bpl} Uroidemenu.CreateRemoteRODL + $C4
[41BCDBB8]{RemObjects_IDE_D29.bpl} Uroidemenu.CreateRemoteRODL + $7B0
[6DDA400B]{rtl290.bpl } System.Classes.TBasicAction.Execute (Line 18584, “System.Classes.pas” + 3) + $7
[6D7F3752]{vcl290.bpl } Vcl.ActnList.TCustomAction.Execute (Line 284, “Vcl.ActnList.pas” + 19) + $35
[6DDA3DBD]{rtl290.bpl } System.Classes.TBasicActionLink.Execute (Line 18479, “System.Classes.pas” + 8) + $7
[6E8D6879]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.ExecAction (Line 1103, “Vcl.ActnMenus.pas” + 6) + $D
[6E8D8138]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.TrackMenu (Line 1873, “Vcl.ActnMenus.pas” + 19) + $15
[6E8DBEB6]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3839, “Vcl.ActnMenus.pas” + 5) + $3
[6E8D63F4]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 973, “Vcl.ActnMenus.pas” + 2) + $11
[6E8D63FD]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 974, “Vcl.ActnMenus.pas” + 3) + $4
[6D80F15E]{vcl290.bpl } Vcl.Controls.TControl.WndProc (Line 7920, “Vcl.Controls.pas” + 91) + $6
[573BBC88]{cxLibraryRS29.bpl} cxContainer.TcxPopupVisibleController.IsAnyVisible (Line 1217, “cxContainer.pas” + 1) + $3
[573CA83A]{cxLibraryRS29.bpl} cxContainer.cxContainerGetMessageHook$qqriuiiri (Line 7870, “cxContainer.pas” + 2) + $5
[5729D979]{cxLibraryRS29.bpl} dxHooks.TdxSystemHook.ProcessHookProcs + $99
[5729D716]{cxLibraryRS29.bpl} dxHooks.dxSystemGetMessageHook$qqsiuii + $16
[6D814813]{vcl290.bpl } Vcl.Controls.TWinControl.WndProc (Line 11154, “Vcl.Controls.pas” + 178) + $6
[6E8D8274]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.WndProc (Line 1917, “Vcl.ActnMenus.pas” + 25) + $4
[6D813CD8]{vcl290.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10823, “Vcl.Controls.pas” + 3) + $6
[6DDA4E3C]{rtl290.bpl } System.Classes.StdWndProc (Line 19091, “System.Classes.pas” + 8) + $0
[6D9647BB]{vcl290.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 13376, “Vcl.Forms.pas” + 23) + $1
[6D9647FE]{vcl290.bpl } Vcl.Forms.TApplication.HandleMessage (Line 13406, “Vcl.Forms.pas” + 1) + $4
[6D964B3D]{vcl290.bpl } Vcl.Forms.TApplication.Run (Line 13545, “Vcl.Forms.pas” + 27) + $3
[00678B02]{bds.exe } bds.bds + $DE
The Update Interface File(s) option also generates an error but it is different.
[6556E577]{IndySystem290.bpl} IdStack.TIdStack.RaiseSocketError (Line 980, “IdStack.pas” + 54) + $21
[6556E4FE]{IndySystem290.bpl} IdStack.TIdStack.RaiseLastSocketError (Line 903, “IdStack.pas” + 1) + $F
[6556E469]{IndySystem290.bpl} IdStack.TIdStack.CheckForSocketError (Line 877, “IdStack.pas” + 2) + $3
[6556A194]{IndySystem290.bpl} IdStackWindows.TIdStackWindows.Connect (Line 2105, “IdStackWindows.pas” + 20) + $13
[654B5ECD]{IndyCore290.bpl} IdSocketHandle.TIdSocketHandle.Connect (Line 295, “IdSocketHandle.pas” + 1) + $25
[654C2589]{IndyCore290.bpl} IdIOHandlerStack.TIdIOHandlerStack.ConnectClient (Line 410, “IdIOHandlerStack.pas” + 57) + $B
[654C5C23]{IndyCore290.bpl} IdIOHandlerSocket.TIdIOHandlerSocket.Open (Line 369, “IdIOHandlerSocket.pas” + 13) + $4
[654C17C0]{IndyCore290.bpl} IdTCPClient.TIdTCPClientCustom.Connect (Line 328, “IdTCPClient.pas” + 54) + $B
[6531EA21]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.CheckAndConnect (Line 1932, “IdHTTP.pas” + 46) + $5
[6531EFF5]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.ConnectToHost (Line 2129, “IdHTTP.pas” + 180) + $8
[65320F5A]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.DoRequest (Line 3170, “IdHTTP.pas” + 23) + $17
[65320DC1]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.Get (Line 3139, “IdHTTP.pas” + 1) + $17
[6531BEF4]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.Get (Line 777, “IdHTTP.pas” + 1) + $D
[425A6397]{RemObjects_Indy_D29.bpl} Uroindyhttpchannel.TROIndyHTTPChannel.RetrieveMetadata + $63
[41A23072]{RemObjects_Core_D29.bpl} Uroremoterodlsupport.LoadRemoteRODL + $E6
[41A233CF]{RemObjects_Core_D29.bpl} Uroremoterodlsupport.LoadRemoteRODL + $27B
[6DC807B6]{rtl290.bpl } System.@ClassDestroy (Line 19728, “System.pas” + 0) + $2
[41A22F37]{RemObjects_Core_D29.bpl} Uroremoterodlsupport.LoadRemoteRODLLibrary + $1B
[41BCCB0E]{RemObjects_IDE_D29.bpl} Uroiderodlsupport.ProcessRemoteRODL + $7E
[41BCDFE6]{RemObjects_IDE_D29.bpl} Uroidemenu.CreateRemoteRODL + $BDE
[3CFE4EAD]{RemObjects_Everwood_D29.bpl} Uewotahelpers.TEWOTAProjectManagerMenu.Execute + $D
[6B11E9A6]{coreide290.bpl} ContainerIntf.TProjectManagerMenuItem.Click (Line 1116, “ContainerIntf.pas” + 18) + $22
[6D93FE0F]{vcl290.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3592, “Vcl.Menus.pas” + 5) + $2
[6D94108A]{vcl290.bpl } Vcl.Menus.TPopupList.WndProc (Line 4765, “Vcl.Menus.pas” + 4) + $E
[6D941556]{vcl290.bpl } Vcl.Menus.TPopupList.WndProc (Line 4916, “Vcl.Menus.pas” + 155) + $13
[6D940FD9]{vcl290.bpl } Vcl.Menus.TPopupList.MainWndProc (Line 4740, “Vcl.Menus.pas” + 2) + $5
[6DDA4E3C]{rtl290.bpl } System.Classes.StdWndProc (Line 19091, “System.Classes.pas” + 8) + $0
[6D621977]{vclide290.bpl} IDEVirtualTrees.TVirtualTreeHintWindow.IsHintMsg (Line 7289, “IDEVirtualTrees.pas” + 7) + $13
[6D9647BB]{vcl290.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 13376, “Vcl.Forms.pas” + 23) + $1
[6D9647FE]{vcl290.bpl } Vcl.Forms.TApplication.HandleMessage (Line 13406, “Vcl.Forms.pas” + 1) + $4
[6D964B3D]{vcl290.bpl } Vcl.Forms.TApplication.Run (Line 13545, “Vcl.Forms.pas” + 27) + $3
[00678B02]{bds.exe } bds.bds + $DE
QPInfo-20250210-0001.zip (760.1 KB)
Hi,
Can you check that Service Builder can generate files?
Codegen -> Delphi -> All Files
it should generate some files, like
if this works, can you load your .RODL into Service Builder and check it for problems with Tools -> Check Library for Problems
Can you share your .RODL, I’ll check what is wrong with it.
you can drop email to support@ for keeping privacy.
You have missed this action
anyway, looks like, something is wrong with your RODL.
can you do this:
It generated the same error as before.
Answer a question for me.
I got the server executable compiled in the old version.
In my client application, I asked to update the interface.
This procedure gave the same error when I tried to connect a server executable compiled in the new Delphi.
Couldn’t the problem be only on the client side?
Hi,
Can you open in browser this url - http://../bin
and review it’s content in any text editor like notepad
.
it may be broken in some way so our codegen can’t process it correctly.
by other hand, can you import RODL in Service Builder -
ofc, specify your RODL
Importing this way worked partly.
You can see that all my methods that are on the server have been displayed.
But when I go to generate the interface, it generates the same error.
Attached is the RODL file.
ArqTeste.rodl (122.9 KB)
Hi,
this checking generates a lot of errors:
read Defining Code-First services (Delphi), it contains list of supported types.
workaround: update your server and use standard TDateTime
I agree, that we should generate more informative message in codegen .
will log
Logged as bugs://E27089.
When I generate this same interface in Delphi 12, RemObject v10.0.0.1585 works with these same types.
Has this limitation for Time and Date fields been changed now in this new version?
Hi,
we never supported TDate/TTime types in CodeFirst services.
CodeFirst server-side can be compiled because RTTI knows TDate
/TTime
types but RODL has limited set of supported types and TDate
/TTime
causes error because these types are unknown.
Hi,
fyi: from next public build, TDate
/TTime
types can be used in CodeFirst services.
These types will be autoreplaced with known RODL type (DateTime
) at generation of .RODL.
bugs://E27089 was closed as fixed.