V6.2.9 Exception under Android

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
itsds
Posts: 37
Joined: Mon 30 Apr 2007 10:38
Location: Germany - Bochum
Contact:

V6.2.9 Exception under Android

Post by itsds » Thu 07 Jan 2016 15:43

Hi i testet 6.2.9 with Android under Seattle Upd1 and get Reproducable Exception in LiteClassesUni everytime in the same place in:

procedure TSQLiteRecordSet.CreateFieldDescs;

after
...
FCommand.SQLInfo.ParseTablesInfo(FCommand.SQL, FTablesInfo); <-- Exception

I had to revert to 6.2.8 which works without this Exception.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: V6.2.9 Exception under Android

Post by AlexP » Tue 12 Jan 2016 13:14

Hello,

Please provide a script for creating the table, that leads to the error on opening.

itsds
Posts: 37
Joined: Mon 30 Apr 2007 10:38
Location: Germany - Bochum
Contact:

Re: V6.2.9 Exception under Android

Post by itsds » Mon 25 Jan 2016 14:30

Hi Alex, i crosschecked Version 6.2.9 with 2 Android Devices now.

Samsung XCover 3, Android 5.1.1 -> Working
Google Nexus 6, Android 6.0.1 -> Exception.

the Query is easy:

Code: Select all

select * from application
application is a very simple table:

Code: Select all

CREATE TABLE application(
        applicationid varchar(100) primary key,
        applicationtitle varchar(100),
        encryptionkey varchar(100),
        geheimwort varchar(100),
        applicationkey varchar(32),
        kunde varchar(100),
        tipstandardfooter varchar(100),
        updateordner varchar(255),
	layout varchar(100)
);
Exception below code of:

Code: Select all

procedure TCRRecordSet.InternalOpen(DisableInitFields: boolean = False);

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: V6.2.9 Exception under Android

Post by AlexP » Tue 26 Jan 2016 10:56

Currently, RAD Studio Seattle doesn't officially support this Android version (6.0.1). Therefore we haven't tested our products on this Android version. We will try to test the products on Android 6.0.1 and inform you about the results.

RickardEngberg
Posts: 13
Joined: Mon 12 Apr 2010 15:23

Re: V6.2.9 Exception under Android

Post by RickardEngberg » Wed 03 Feb 2016 15:50

I doubt this is a Android 6.0.1 bugg as it happens in earlier versions of android as well. It was introduced in Unidac version 6.2.9 and persists in 6.2.10. Going back to 6.2.8 takes care of the problem. As far as I can tell it occurs when I try to create or open a SQLite database on Android. The same code works on Windows and when I use Unidac version 6.2.8.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: V6.2.9 Exception under Android

Post by AlexP » Thu 04 Feb 2016 07:41

Please send your sample to alexp*devart*com, we will check this behavior and inform you the result

Post Reply