Error: Too many ids requested: 31026

Posted by Rollbase User on 17-Nov-2011 19:29

While trying to generate an XML for a Rollbase application, we are presented with this error: Too many IDs requested: 31026  Can you please help? Thanks

All Replies

Posted by Admin on 17-Nov-2011 21:42

It looks like your app is very long. It would help if you can open log and tell me full exception trace.

Posted by Admin on 21-Nov-2011 19:40

Hi Pavel,

I have the stack trace. how can I send it to you?

Posted by Admin on 21-Nov-2011 21:11

Ideally please submit support request on rollbase.com



Or just paste it here.

Posted by Admin on 21-Nov-2011 23:31

Hi Pavel,



There are a lot of files in the stack trace. which one should i send?

Posted by Admin on 21-Nov-2011 23:48

Please use Master zone > Customer View page > View logs > main.log



Only provide trace for relevant exception.

Posted by Admin on 22-Nov-2011 23:30

Hi Pavel,



Here's the stack trace



[2011-11-15 09:30:17,806] ERROR: Your account has been temporarily blocked due to

a high number of unsuccessful login attempts.

Please try back in 20 to 30 minutes.

[2011-11-15 09:32:20,095] ERROR: Your account has been temporarily blocked due to

a high number of unsuccessful login attempts.

Please try back in 20 to 30 minutes.

[2011-11-15 09:40:32,213] ERROR: Your account has been temporarily blocked due to

a high number of unsuccessful login attempts.

Please try back in 20 to 30 minutes.

[2011-11-15 10:03:19,556] 11/15/2011 10:03 AM 1 Steph Dancel from Master Zone has logged in MASTER: type=0 thread=ajp-8009-6

[2011-11-15 10:05:29,208] Selected for installation: [Rollbase]

[2011-11-15 10:05:29,239] Customer zone creation is now in progress.

[2011-11-15 10:06:33,246] Database creation complated at 11/15/2011 10:06 AM

[2011-11-15 10:06:46,131] Email message 'Customer Niche Dev has been created' has been sent

[2011-11-15 10:09:39,073] Closing session f

Posted by Admin on 22-Nov-2011 23:39

Yes, that's seems to be a right file. Please try your installation, and immediately after you'll get this error open the bottom of this log file again - it should contain "Too many IDs" exception.

Posted by Admin on 23-Nov-2011 02:01

Does this help?



[2011-11-23 14:35:17,489] 77020: ===> Error in thread ajp-8009-1 at 11/23/2011 02:35 PM

[2011-11-23 14:35:17,489] com.rb.util.core.a399: Too many ids requested: 36523

at com.rb.core.data.object.DataObjectHandler.getByIds(DataObjectHandler.java:546)

at com.rb.core.data.object.DataObjectHandler.getDataObjects(DataObjectHandler.java:535)

at com.rb.core.data.object.a118.getObjects(a118.java:181)

at com.rb.core.data.object.a118.getObjects(a118.java:126)

at com.rb.core.data.object.a118.getObjects(a118.java:115)

at com.rb.core.ui.web.field.Relationship.getRelatedObjects(Relationship.java:883)

at com.rb.core.ui.web.field.Relationship.toExport(Relationship.java:746)

at com.rb.core.ui.web.a311._x14(a311.java:508)

at com.rb.core.data.object.DataObject._x14(DataObject.java:374)

at p0.Application.toPacket(Application.java:924)

at p0.a54.generateXML(a54.java:148)

[2011-11-23 15:19:51,958]

88119

Posted by Admin on 23-Nov-2011 12:17

You've included a seed record which has 32k related records. That's causing a problem. Although I can try to optimize algorithm of XML generation you still may experience problems with such large number of related records.

Posted by Admin on 24-Nov-2011 00:41

Thank you. I have removed the offending records and the generation went correctly

This thread is closed