Page 1 of 1

error base\1004 and base\1005

Posted: Wed Jan 04, 2006 2:19 pm
by deanomeano
when running the exe file i get both of these base errors. 1004 tells me there is no exported method for class NIL and 1005 tells me class NIL has no property. what can i do to fix these errors? :?:

Posted: Wed Jan 04, 2006 10:45 pm
by kronos911
Could you supply the error log text and the section of code that is creating the error.

Posted: Thu Jan 05, 2006 9:02 am
by deanomeano
CODE

STATIC FUNCTION LoadTick // refreshes the ticket format field and listbox of the tickent dialog box

msginfo(1)
msginfo(TICKDBF->(CmxKeyCount())) // returns 26
oBrw:blogiclen := {|| TICKDBF->(CmxKeyCount())} // has no property
msginfo(2)
*oFormatType:Refresh()
oFormatType := mFormatType
msginfo(3)
oBrw:blogiclen := {|| 0} // has no property
msginfo(4)
oBrw:Refresh() // no exported method
msginfo(5)
oBrw:Gotop() // no exported method

RETURN NIL

ERROR LOG

Application
===========
Path and name: G:\5.00\Exe\tickbuild.exe (32 bits)
Size: 2,165,248 bytes
Time from start: 0 hours 0 mins 5 secs
Error occurred at: 05/01/2006, 08:57:43
Error description: Error BASE/1005 Class: 'NIL' has no property: BLOGICLEN
Args:
[ 1] = B {|| ... }

Stack Calls
===========
Called from _BLOGICLEN(0)
Called from LOADTICK(252)
Called from TICKPATH(221)
Called from MAIN(84)

System
======
CPU type: GetCPU() failed! 2000 Mhz
Hardware memory: 248 megs

Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %

Compiler version: xHarbour build 0.99.50 Intl. (SimpLex)
Windows version: 5.1, Build 2600 Service Pack 2

Windows total applications running: 0

Variables in use
================
Procedure Type Value
==========================
_BLOGICLEN
Param 1: B {|| ... }
LOADTICK
TICKPATH
Local 1: C "5.00\Exe\DATA"
Local 2: C "G:\5.00\Exe\Data\"
Local 3: L .F.
MAIN
Local 1: U

Linked RDDs
===========
DBF
DBFDBT
DBFFPT
DBFNTX
DBFCDX
SQLRDD

DataBases in use
================

1: COMPANY RddName: DBFCDX
==============================
RecNo RecCount BOF EOF
6 7 .F. .F.

Indexes in use TagName
=> COMP_CODE COMPANY

Relations in use

2: WINDEF RddName: DBFCDX
==============================
RecNo RecCount BOF EOF
421 4281 .F. .F.

Indexes in use TagName
=> TEXTTYPE+SCREEN+TEXTCODE WINDDEF
UPPER(DEFAULTTXT) TRANSLAT

Relations in use

3: CONFIG RddName: DBFCDX
==============================
RecNo RecCount BOF EOF
1 1 .F. .F.

Indexes in use TagName

Relations in use

4: => TICKDBF RddName: DBFCDX
==============================
RecNo RecCount BOF EOF
1 47 .F. .F.

Indexes in use TagName
=> PRNTNAME+STR(Y_CORD,3,0)+STR(X_CORDTICKDBF

Relations in use

Classes in use:
===============
1 HBCLASS
2 HBOBJECT
3 SQLFASTHASH
4 ERROR

Memory Analysis
===============
606 Static variables

Dynamic memory consume:
Actual Value: 0 bytes
Highest Value: 0 bytes


[/u]

Posted: Thu Jan 05, 2006 12:39 pm
by Antonio Linares
Where is oBrw variable defined ? It looks as you are not providing it to that function so it is nil.