Page 1 of 1

V6.2.9 Exception under Android

Posted: Thu 07 Jan 2016 15:43
by itsds
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.

Re: V6.2.9 Exception under Android

Posted: Tue 12 Jan 2016 13:14
by AlexP
Hello,

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

Re: V6.2.9 Exception under Android

Posted: Mon 25 Jan 2016 14:30
by itsds
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);

Re: V6.2.9 Exception under Android

Posted: Tue 26 Jan 2016 10:56
by AlexP
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.

Re: V6.2.9 Exception under Android

Posted: Wed 03 Feb 2016 15:50
by RickardEngberg
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.

Re: V6.2.9 Exception under Android

Posted: Thu 04 Feb 2016 07:41
by AlexP
Please send your sample to alexp*devart*com, we will check this behavior and inform you the result