xsharp.eu • ReportPro2 2.38 for X# 2.60 crash on startup
Page 1 of 2

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Mon Oct 18, 2021 1:32 pm
by Michal Rajnoha
Trying to run ReportPro2 2.38 for X# 2.60 ends with the following exception:

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
at ReportPro2_Base.Functions.rpLoadLanguageDLL()
at ReportPro2_Runtime.Functions._LoadRpLanguageDLL()
at ReportPro2_Runtime.Functions.$Init2()
at <Module>.$AppInit()


Running it from an X# application via runtime dll also produces the same exception.

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Mon Oct 18, 2021 2:56 pm
by Trimel
To specify a bit more - it doesn't run when XSharp 2.8a is installed.

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Mon Oct 18, 2021 9:19 pm
by Chris
Michal and Trimel,

Sorry about that guys, accidentally this version (2.38) uses something from the X# runtime that is only available in our current internal build (2.9), which means that it will be working fine after the new build is released in a few days.

In the meantime, can you please download and install the RP2 2.36 version instead? If there's something included in 2.38 that is necessary for you now, please let me know and I will recompile it with X# 2.8 and will send you new binaries.

.

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Mon Oct 18, 2021 9:48 pm
by robert
Chris,
You are right. I checked it too and this build uses the new overloads for Empty() that we added to the runtime.
I will recompile 2.38 against the older runtime tomorrow.

Robert

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Tue Oct 19, 2021 12:06 am
by Chris
Robert,

It's also using the new RuntimeState:CompilerOptionFox2 property.

.

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Tue Oct 19, 2021 5:10 am
by Michal Rajnoha
It's OK, we're still only trying out our options for migration from VO to X# and we're not bound to any specific version yet. ReportPro2 2.36 works so far.

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Tue Oct 19, 2021 4:00 pm
by robert
A new installer for RP2.39 for X# has been uploaded to the website. This fixes the issues with 2.38.

Check here:
https://www.xsharp.eu/itm-downloads/dow ... -XS260.zip

Robert

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Tue Oct 19, 2021 4:34 pm
by ic2
Hello Robert.

This time ReportPro starts. But when I open an existing report or select File/New it crashes immediately. Also when I limit the DOS path to the ReportPro directory itself, so I suspect it has nothing to do with my installed X# 2.7 instead of 2.8x.

Below the Application Log data (EDIT: I added one more entry, something is missing, not sure if that is dependent on an installed 2.8 or not)

Dick

Faulting application name: ReportPro2.exe, version: 2.39.0.4, time stamp: 0x616ee972
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1202, time stamp: 0x448a4f5d
Exception code: 0xc000041d
Fault offset: 0x0012b5b2
Faulting process ID: 0x1a90
Faulting application start time: 0x01d7c506bf9ee14c
Faulting application path: C:ReportPro239XSBinReportPro2.exe
Faulting module path: C:WINDOWSSystem32KERNELBASE.dll
Report ID: 17982c64-f026-485b-8c2b-fa5e7c04413e
Faulting package full name:
Faulting package-relative application ID:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Application: ReportPro2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
at ReportPro2.RpReportDesigner.Dispatch(XSharp.__Usual[])

Exception Info: XSharp.Error
at XSharp.RT.OOPHelpers.SendHelper(System.Object, System.Reflection.MethodInfo, XSharp.__Usual[], XSharp.__Usual ByRef)
at XSharp.RT.OOPHelpers.SendHelper(System.Object, System.String, XSharp.__Usual[], XSharp.__Usual ByRef)
at XSharp.RT.OOPHelpers.DoSend(System.Object, System.String, XSharp.__Usual[])
at XSharp.RT.Functions.__InternalSend(XSharp.__Usual, System.String, XSharp.__Usual[])
at VO.__DocApp.Dispatch(XSharp.__Usual[])
at VOGUIClasses.Functions.__WCDocAppWndProc(Void*, UInt32, UInt32, Int32)

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Tue Oct 19, 2021 6:07 pm
by FFF
Dick,
sure, you got 2.39?
Just got me the download, installed, run designer, open my designed rpts, works.Called rpts from app, works, too.
Thx Robert!

ReportPro2 2.38 for X# 2.60 crash on startup

Posted: Tue Oct 19, 2021 6:35 pm
by robert
Karl,
Dick tries to use it with X# 2.7.
I'll check to see why this does not work.


Robert