Hi,

I've recently been trying to use the LargeSelect class in torque 
standalone version 2.1 and ran across some problems (and hopefully some 
fixes).

First, I was getting a NullPointerException from LargeSelect's run() 
method (line 354). It appears as though the results vector is being 
added to before being initialized. Adding "results = new Vector();" the 
init() method fixed this.

Second, I was getting a "DataSetException: You must call 
DataSet.clearRecords() before executing DataSet.fetchRecords() again!" 
from LargeSelect's run() method (line 349). Adding "qds.clearRecords();" 
just after line 356 fixed this.

I'm not really familiar with turbine code, and not sure if these are the 
best fixes, but now LargeSelect appears to be behaving as expected.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to