No selection set on foundset with size 1

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

No selection set on foundset with size 1

Postby rossent » Mon Sep 15, 2014 4:33 pm

Hi all,

We are getting the following error logged in the Java console when using a Smart Client connected to an application server:

SEVERE: No selection set on foundset with size 1 fs: RelatedFoundSet[Table:some_table_name,Size: 1,Relation: some_relation_name,CachedRecords: 1,SELECTED INDEX: 0, Args: 1.G;36.A0F53B35-8E91-4E6B-9DF0-4B1212986268;1.C;1.C;]

It appears that the error is generated when we make a call to: databaseManager.hasRecords(foundset). We cannot reproduce the error when using the Smart Client from Servoy Developer. The error is also not present when using the Web Client connected to the same application server. The relation in question uses for the join 1 column from the table (the column is of type UUID) and 2 scope variables (of type String) The error is not propagated to the client and our code appears to be executing correctly.

What causes this SEVERE error and how can we address it? Is it something which we should worry about since it is not propagated to our Servoy code?

Thank you in advance for your help!
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: No selection set on foundset with size 1

Postby rossent » Tue Oct 28, 2014 1:53 pm

Hi Servoy,
Any input on this?
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: No selection set on foundset with size 1

Postby jcompagner » Mon Nov 03, 2014 6:08 pm

it should be selected, but sometimes when the selected record is asked for the selection is still -1 even if the size is bigger then 0
When you see that message we auto correct this and select the first record. (and print out that statement)
So its not really something to worry about, but we could have a look when you have something reproducible
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: No selection set on foundset with size 1

Postby rossent » Mon Nov 03, 2014 6:15 pm

Thanks for the update. Perhaps then this log message should not be classified as SEVERE but rather as DEBUG or INFO... along with some explanation that the selection will be set automatically to 1.
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 10 guests