NexusDB Newsgroups

NexusDB Newsgroups (http://www.nexusdb.com/forums/index.php)
-   nexusdb.public.support.adoprovider (http://www.nexusdb.com/forums/forumdisplay.php?f=10)
-   -   Beta update - build 240 (http://www.nexusdb.com/forums/showthread.php?t=19451)

Eivind Bakkestuen [NDD] 29th September 2015 12:18 PM

Beta update - build 240
 
Build 240 will be released shortly.

Please note: this is a beta version.

We have a tentative fix for the "crash with loading certain datasets"
scenario. Since the test involves some internal changes to the way
objects are owned and timing of release, we would like to have some
feedback from users for this build. Please post here if you are able to
test, and how it went.

--
Eivind Bakkestuen [NDD]

Rodrigo Gomez [NDX] 30th September 2015 02:59 AM

Re: Beta update - build 240
 
Downloading now...

Thanks!

--
Rodrigo Gómez [NDX]
México, GMT-6

Rodrigo Gomez [NDX] 30th September 2015 03:12 AM

Re: Beta update - build 240
 
The test case works ok for bugs 0001525, 0001814, 0001977.

I will rebuild my apps and see if there is something else around, but hopefully it's fixed
for good.

THANKS!

Rodrigo Gómez

Rodrigo Gomez [NDX] 30th September 2015 03:42 AM

Re: Beta update - build 240
 
Hello Eivind,

As I said, the test case appears to be working correctly for the 3 mentioned bugs.

But when working on the app directly, I still see, from time to time, two kinds of
problems: First, an EndOfStreamException, which apparently happens at the end of the load
because I can see the records. I'm attaching the exception details. The second one is a
CTD exception.

Here is the EndOfStreamException:

System.IO.EndOfStreamException was unhandled by user code
HResult=-2147024858
Message=No se puede leer más allá del final de la secuencia.
Source=mscorlib
StackTrace:
en System.IO.MemoryStream.InternalReadInt32()
en System.IO.BinaryReader.ReadInt32()
en NexusDB.ADOProvider.NxDataset.InitVersion2(Byte[]& aBuffer, Int32 aBufSize,
Boolean DataBlockOnly)
en NexusDB.ADOProvider.NxDataset.Next()
en NexusDB.ADOProvider.NxDataReader.Read()
en System.Data.Common.DataAdapter.FillLoadDataRow(Sch emaMapping mapping)
en System.Data.Common.DataAdapter.FillFromReader(Data Set dataset, DataTable
datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32
maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
en System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader
dataReader, Int32 startRecord, Int32 maxRecords)
en System.Data.Common.LoadAdapter.FillFromReader(Data Table[] dataTables,
IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
en System.Data.DataTable.Load(IDataReader reader, LoadOption loadOption,
FillErrorEventHandler errorHandler)
en System.Data.DataTable.Load(IDataReader reader)
en msaClinic1Facturacion.Ventas.VListaTickets.CargarI nformacion() en
c:\dev\Sistemas\msaClinic1\msaClinic1Facturacion\V entas\VListaTickets.cs:l*nea 53
en msaClinic1Facturacion.Ventas.VListaTickets.VListaT ickets_Load(Object sender,
EventArgs e) en
c:\dev\Sistemas\msaClinic1\msaClinic1Facturacion\V entas\VListaTickets.cs:l*nea 73
en System.EventHandler.Invoke(Object sender, EventArgs e)
en System.Windows.Forms.Form.OnLoad(EventArgs e)
en System.Windows.Forms.Form.OnCreateControl()
en System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
en System.Windows.Forms.Control.CreateControl()
en System.Windows.Forms.Control.WmShowWindow(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
en System.Windows.Forms.Form.WmShowWindow(Message& m)
en System.Windows.Forms.Form.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)
InnerException:


----------

Here is the CTD exception details as captured by the IDE:

System.Exception was unhandled
Message: An unhandled exception of type 'System.Exception' occurred in NexusDB.ADOProvider.dll
Additional information: No active statement


I haven't been able to reproduce this on the test case. Both happen when loading the
dataset from the "Test 2" button. This gave before something similar to the first
EndOfStream error, as it loaded and presented the records.

The first one as far as I can see has been fixed.

--
Rodrigo Gómez [NDX]
México, GMT-6

yannou 30th September 2015 10:41 PM

We are testing this build aswell since this morning.

We also tested ADO To NXDB and we were wondering if you guys will release a NXDB To ADO aswell ?


Best regards

Franz-Leo Chomse [NDX] 1st October 2015 01:11 AM

Re: Beta update - build 240
 

>We also tested ADO To NXDB and we were wondering if you guys will
>release a NXDB To ADO aswell ?
>


The importer tools were designed to do a one time import
when switching the database, not as a general repeated
data transfer.

The primary target was the BDE so the design is based
on the TDataset envionment of Delphi.

With a SQL based partner tools like Database Workbench
are better suited to do conversions between different
databases via SQL statements.

ADO does not include the APIs to do database management.
These are included in the ADOX partner DLL.



Regards from Germany

Franz-Leo Chomse [NexusDB Expert]
franz.leo.chomse@ndx.nexusdb_x.com (please remove "_x" to reply)

yannou 1st October 2015 01:18 AM

Well after some testing (30 minutes) my web server randomly crashed 3 times :

"System.Exception" in NexusDB.ADOProvider.dll;

more details : " No active statement"

nexusDB : Engine version: 4,0015 Release (D22) Standard Edition 64bit

......

yannou 1st October 2015 03:11 AM

Forgot the stackTrace :

Exception: System.Exception
Message: No active statement
StackTrace: ? NexusDB.ADOProvider.NxDatasetProxy.CheckStatement( Int64 nxStatementID)
? NexusDB.ADOProvider.NxDatasetProxy.FreeStatement(I nt64 nxStatementID)
? NexusDB.ADOProvider.NxDataset.Close()
? NexusDB.ADOProvider.NxDataReader.Finalize()

Thorsten Engler [NDA] 1st October 2015 05:25 AM

Re: Beta update - build 240
 
Thanks for the report, I've checked in a probable fix and will ask Eivind to
produce and release a new beta.

yannou wrote:

>
> Forgot the stackTrace :
>
> Exception: System.Exception
> Message: No active statement
> StackTrace: ? NexusDB.ADOProvider.NxDatasetProxy.CheckStatement( Int64
> nxStatementID)
> ? NexusDB.ADOProvider.NxDatasetProxy.FreeStatement(I nt64
> nxStatementID)
> ? NexusDB.ADOProvider.NxDataset.Close()
> ? NexusDB.ADOProvider.NxDataReader.Finalize()



Rodrigo Gomez [NDX] 2nd October 2015 11:39 AM

Re: Beta update - build 240
 
Good news, everybody!

The latest beta, 242, appears to be very stable. I haven't had a single crash, although I
haven't checked it extensively, at least the things that made the previous beta crash
doesn't appear to do so anymore.

I will keep trying and maybe next week I'll update one of my customers, and see what happens.

Thanks!

--
Rodrigo Gómez [NDX]
México, GMT-6


All times are GMT +11. The time now is 02:14 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.