'bitIndex' exception

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

'bitIndex' exception

Postby maria.kyselova » Fri Feb 20, 2015 3:07 am

Hi All,

I started getting a weird exception when I run a command foundset.deleteAllRecords():

"Error during evaluation:Wrapped java.lang.IndexOutOfBoundsException: bitIndex < 0: -1"

This never happened before on the same line.
The foundset has 180 records, everything seems to be legit, however the exception pops up.
Any idea what the issue is?
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: 'bitIndex' exception

Postby ROCLASI » Fri Feb 20, 2015 10:31 am

Hi Maria,

Do you have other code triggering when deleting records from this table like in a tableEvent or something ?
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: 'bitIndex' exception

Postby maria.kyselova » Mon Feb 23, 2015 6:24 am

ROCLASI wrote:Hi Maria,

Do you have other code triggering when deleting records from this table like in a tableEvent or something ?


Yes, there is an event that fires for onRecordDelete() on that table, but it returns true as it should.
Then there is an event that has no code for afterRecordDelete() and the debugger does go in there.

I cleaned up the table through a direct db query and the problem has gone. Weird, but ok.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron