Prev: RP214 not working
Next: What does this mean please?
From: Vaishali Kedar on 23 May 2007 23:41 Hi All, At times I get errors with line numbers which don't exist. How can I trap these? Does anyone else get these? Thanks Vaishali
From: Geoff Schaller on 23 May 2007 23:48 Can you give us an example? "Vaishali Kedar" <vaishali.kedar(a)gordynpalmer.com.au> wrote in message news:46550986(a)dnews.tpgi.com.au: > Hi All, > > At times I get errors with line numbers which don't exist. How can I trap > these? Does anyone else get these? > > Thanks > Vaishali
From: Vaishali Kedar on 24 May 2007 01:37 Hi Geoff, The code - METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS Orders GLFlag := FALSE GLFlagA := TRUE GLFlagD := FALSE GLFLagF := FALSE GEndOrd := FALSE IF ((GIStartVar = 3).OR.(GLFlagC)) oCCAddButton:Hide() oCCAddButton:Disable() oCCEditButton:Hide() oCCEditButton:Disable() oCCDeleteButton:Hide() oCCDeleteButton:Disable() oCCDeleteAllButton:Hide() oCCDeleteAllButton:Disable() oCCForecastButton:Hide() oCCForecastButton:Disable() oCCViewButton:Hide() oCCViewButton:Disable() oCCPrintFormula:Hide() oCCPrintFormula:Disable() ENDIF aChildWindows := {} dbsvrO:ClearFilter() dbsvrO:GoTop() SELF:oSFOrdersList_Form1:browser:refresh() RETURN NIL Number of lines = 31 The error - ***********************ERROR******************************** Visual Objects (Version 2.7. Build 2.2735), Version 2.7b 23/05/07 08:35:11 Application: C:\G4WRUN\GMFOff.EXE Error message: -------------- Error Code: 50 [ ACCESS VIOLATION ] Subsystem: VO-CODE Error Subcode: 5333 Argument Number: 2 Description: Application Code Error causing Access Violation CallStack: ORDERS:POSTINIT (Line: 67) ORDERS:INIT (Line: 54) MAINSCREEN:FILEOPENORDERS (Line: 13) APP:START (Line: 81) START (Line: 8) Error Object created: -------------------- SubSystem :VO-CODE SubCode :5333 GenCode :Access Violation ExceptionCode :C0000005 ExceptionFlags :00000000 ExceptionAddress:10054EBA ParamNumber :2 ExceptionInfo :00000000 Severity :2 CanDefault :.F. CanRetry :.F. CanSubstitute :.F. Operation : Description :Application Code Error causing Access Violation FileName : Tries :0 FileHandle :0 SubCodeText : Arg : ArgTypeReq :NIL MaxSize :0 SubstituteType :NIL CallFuncSym : -------------------- That is the latest - the errors are not always Access Violations. Will try to find some more for you. Hope this helps. Thanks and regards, Vaishali "Geoff Schaller" <geoff_(a)software_objectives.com.au> wrote in message news:46550b23$1(a)dnews.tpgi.com.au... > Can you give us an example? > > > "Vaishali Kedar" <vaishali.kedar(a)gordynpalmer.com.au> wrote in message > news:46550986(a)dnews.tpgi.com.au: > >> Hi All, >> >> At times I get errors with line numbers which don't exist. How can I trap >> these? Does anyone else get these? >> >> Thanks >> Vaishali >
From: Geoff Schaller on 24 May 2007 02:12 Ok, I haven't seen that kind of thing but it does look like a bug. However the error is clear. The 5333 would indicate the object is not available. I'd bury debug lines throughout the code to find the real offending thing. Until you move up to 2816 there isn't a lot we can do with that build. Geoff "Vaishali Kedar" <vaishali.kedar(a)gordynpalmer.com.au> wrote in message news:465524b2(a)dnews.tpgi.com.au: > Hi Geoff, > > The code - > > METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS Orders > > GLFlag := FALSE > GLFlagA := TRUE > GLFlagD := FALSE > GLFLagF := FALSE > GEndOrd := FALSE > > IF ((GIStartVar = 3).OR.(GLFlagC)) > oCCAddButton:Hide() > oCCAddButton:Disable() > oCCEditButton:Hide() > oCCEditButton:Disable() > oCCDeleteButton:Hide() > oCCDeleteButton:Disable() > oCCDeleteAllButton:Hide() > oCCDeleteAllButton:Disable() > oCCForecastButton:Hide() > oCCForecastButton:Disable() > oCCViewButton:Hide() > oCCViewButton:Disable() > oCCPrintFormula:Hide() > oCCPrintFormula:Disable() > ENDIF > aChildWindows := {} > dbsvrO:ClearFilter() > dbsvrO:GoTop() > SELF:oSFOrdersList_Form1:browser:refresh() > > RETURN NIL > > Number of lines = 31 > > The error - > > ***********************ERROR******************************** > Visual Objects (Version 2.7. Build 2.2735), Version 2.7b > 23/05/07 08:35:11 > Application: C:\G4WRUN\GMFOff.EXE > > Error message: > -------------- > Error Code: 50 [ ACCESS VIOLATION ] > Subsystem: VO-CODE > Error Subcode: 5333 > Argument Number: 2 > Description: Application Code Error causing Access Violation > CallStack: > ORDERS:POSTINIT (Line: 67) > ORDERS:INIT (Line: 54) > MAINSCREEN:FILEOPENORDERS (Line: 13) > APP:START (Line: 81) > START (Line: 8) > > Error Object created: > -------------------- > SubSystem :VO-CODE > SubCode :5333 > GenCode :Access Violation > ExceptionCode :C0000005 > ExceptionFlags :00000000 > ExceptionAddress:10054EBA > ParamNumber :2 > ExceptionInfo :00000000 > Severity :2 > CanDefault :.F. > CanRetry :.F. > CanSubstitute :.F. > Operation : > Description :Application Code Error causing Access Violation > FileName : > Tries :0 > FileHandle :0 > SubCodeText : > Arg : > ArgTypeReq :NIL > MaxSize :0 > SubstituteType :NIL > CallFuncSym : > -------------------- > > That is the latest - the errors are not always Access Violations. Will try > to find some more for you. Hope this helps. > > Thanks and regards, > Vaishali > > > "Geoff Schaller" <geoff_(a)software_objectives.com.au> wrote in message > news:46550b23$1(a)dnews.tpgi.com.au... > > > Can you give us an example? > > > > > > "Vaishali Kedar" <vaishali.kedar(a)gordynpalmer.com.au> wrote in message > > news:46550986(a)dnews.tpgi.com.au: > > > > >> Hi All, > >> > >> At times I get errors with line numbers which don't exist. How can I trap > >> these? Does anyone else get these? > >> > >> Thanks > >> Vaishali > > >
|
Pages: 1 Prev: RP214 not working Next: What does this mean please? |