<br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 4:52 PM, GCC Consulting <span dir="ltr"><<a href="mailto:rkreiss@gccconsulting.net" target="_blank">rkreiss@gccconsulting.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
> -----Original Message-----<br>
> From: filepro-list-bounces+rkreiss=<a href="mailto:verizon.net@lists.celestial.com">verizon.net@lists.celestial.com</a><br>
> [mailto:<a href="mailto:filepro-list-bounces%2Brkreiss">filepro-list-bounces+rkreiss</a>=<a href="mailto:verizon.net@lists.celestial.com">verizon.net@lists.celestial.com</a>] On<br>
> Behalf Of Chris Sellitto<br>
> Sent: Friday, March 15, 2013 2:01 PM<br>
> To: Kenneth Brody<br>
> Cc: <a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a><br>
> Subject: RE: Debug Assertion Failed!<br>
><br>
> > -----Original Message-----<br>
> > From: Kenneth Brody [mailto:<a href="mailto:kenbrody@spamcop.net">kenbrody@spamcop.net</a>]<br>
> > Sent: Friday, March 15, 2013 11:18 AM<br>
> > To: Chris Sellitto<br>
> > Cc: <a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a><br>
> > Subject: Re: Debug Assertion Failed!<br>
> ><br>
> > On 3/15/2013 10:21 AM, Chris Sellitto wrote:<br>
> > > filePro(r) 5.7.03<br>
> > > Windows Server 2008, Windows 7/XP workstations<br>
> > ><br>
> > > All,<br>
> > ><br>
> > > We recently upgraded to 5.7.03 from 5.0.14. Everything has been<br>
> > > going well so far. Yesterday several of our users reported an error<br>
> > > that I have not seen before. It reads exactly as follows...<br>
> > ><br>
> > ><br>
> __________________________________________________________<br>
> > > |Microsoft Visual C++ Debug Library<br>
> > ><br>
> |_________________________________________________________<br>
> > > |Debug Assertion Failed!<br>
> > > |<br>
> > > |Program: g:\fp\dclerk.exe<br>
> > > |File: f:\dd\vctools\crt_bld\self_x86\crt\src\isctype.c<br>
> > > |Line: 56<br>
> > > |<br>
> > > |Expression: (unsigned)(c + 1) <= 256<br>
> > > |<br>
> > > |For information on how your program can cause an assertion Failure,<br>
> > > |see the Visual C++ documentation on asserts.<br>
> > > |<br>
> > > |(Press Retry to debug the application)<br>
> > > |<br>
> > ><br>
> |___________________________________________________________<br>
> _<br>
> > > | Abort Retry Ignore<br>
> > > -------------------------------------------------------------<br>
> > ><br>
> > > I can consistently recreate this error. It is happening to a<br>
> > > particular<br>
> > [...]<br>
> ><br>
> ><br>
> > Since you can recreate it on demand, contact fpsupport and arrange to<br>
> > send them files.<br>
> ><br>
> > --<br>
> > Kenneth Brody<br>
><br>
> Ok Ken, I will do that. However, we did narrow it down to a line of code.<br>
><br>
> It is as follows<br>
><br>
> declare local lu_key(10,*)<br>
> - - - - - - - - - - - - - - - -<br>
> 'get Batch shipped date<br>
lu_key=CustNo&BatchNo<br>
> - - - - - - - - - - - - - - - -<br>
><br>
> lookup bats = batsetup@ k=(lu_key) i=A -nx <---------- THIS IS<br>
THE<br>
> OFFENDING LINE<br>
><br>
> Also when we navigate to the next record that does the same lookup using<br>
> the same data in LU_KEY, it works just fine (meaning we do not get the<br>
error<br>
> described above). This line is in a called processing table that is<br>
called from<br>
> auto processing.<br>
><br>
> When we try the same program, using the old (5.0.14) version there is no<br>
> problem.<br>
><br>
> Thank you<br>
> Chris<br>
</div></div> Have you tried replacing (lu_key) with (CustNo&BatchNo) to see if you get<br>
the same error.<br>
<br>
Also, have you checked the value of CustNo and BatchNo the is being<br>
accessed?<br>
<br>
Richard Kreiss<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a></div></div></blockquote><div><br></div><div><br></div><div>I'll answer that one for Chris. Yes we have tried that. Originally this was a two character variable, "kc", and this was in a called process. I changed that to a long variable, and also pulled all the code into the current auto processing to eliminate the call. I also stripped out all other lookups and have just the necessary code.</div>
<div><br></div><div>The values of CustNo & BatchNo are filled and if I go one record higher or lower, I don't get the error. The values of CustNo & BatchNo are the same for all three records.</div><div><br></div>
<div>This worked, and still works in 5.0.14, It does not work in 5.07.03. The code didn't change, only the filePro version.</div><div><br></div><div>Same thing with our other issue with @SF, however, I'm able to program around those, this I can't.</div>
<div><br></div><div><br></div><div><br></div><div> </div></div><br>