Jump to content
bzwirs

java.lang.indexoutofboundsexception

Recommended Posts

Have recompiled an app for Android with Delphi 11.3 and now get the following error when entering numbers into a dbdatagrid (Firepower) and tmsfnc edit control (in both cases have keyboard set to numberpad):

 

Eval Error in:

java.lang.indexoutofboundsexception

setspan(3...3) ends beyond length 1.

 

The error only occurs on Android tablet - not on Windows version.  Have never seen this error before under previous versions of Delphi.  Can someone please shed some light on this problem and point me in the right direction to fix it.

 

Bill

Share this post


Link to post

Since switching my Android app to Delphi 12, I have the same problem.

It occurs on all Android versions. Android 8 on a tablet to Android 14 on a Samsung phone.

 

Share this post


Link to post

At the time I had this problem I ended up going to the component creators of the components where I was having this issue (Woll2Woll for the datagrid and TMS for the TMS Edit component).  Both provided updates that fixed the problem.

Share this post


Link to post
5 hours ago, Samuel Soares said:

Any news about this problem?

Did you read the reply from bzwirs?:

On 1/8/2024 at 1:04 PM, bzwirs said:

At the time I had this problem I ended up going to the component creators of the components where I was having this issue (Woll2Woll for the datagrid and TMS for the TMS Edit component).  Both provided updates that fixed the problem.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×