Troy,
I would put in some diagnostic stuff to test and report if myDO is null or
not after the getDataObject statement. And I would turn on all levels of
CP and RDBMS service logging and see if you can find anything.
Do you make references to other projects besides the 'fixit' you mentioned?
I never paid attention, but I believe it could affect the implied project
when you make a reference that does not include the project.
Will answer you other email soon. It was 35 and sticky this weekend!
-- Curt, Team ND
At 11:27 AM 7/19/99 -0500, Troy Mckinnon wrote:
>Hey all,
>
>I have a page (myProject.pgA) that's superclass is in a different project.
>(i.e myUtils.myBasePage)
>
>For some reason occasionally I get array out of bounds error on code similar
>to the following (in the onBeforeDisplayEvent of pgA) :
>
>CSpMulti myDO = (CSpMulti) CSpider.getDataObject("someDataObject");
>// Error occurs HERE!
>myDO.clearDynamicCriteria;
>myDO.addDynamicCriterion(...);
>...
>myDO.executeSelect();
>
>It sometimes seems to help if I use the line of code:
>CSpMulti myDO = (CSpMulti)
>CSpider.getDataObject("myProkect.someDataObject"); // make reference to the
>project.
>
>Why does this error occur? Am I losing reference to the project somehow?
>The code has always worked before... and this was working before I tried the
>superclassing (extending)
>I would really appreciate any help on this one... it has me stumped.
>
>Troy McKinnon
>Technical Team Leader
>Integrated Quality Management System
>Nortel Networks - GHCT (Dept. 1J11)
>(613) 765-7685 or ESN (395) 7685
>
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]