FFI 'Could not coerce arguments' error

Dmitrij Abolichin dima at informaciniaiprojektai.lt
Thu Apr 8 07:57:36 UTC 2004


Hello,

I'm getting the following error while executing SQL statement using ODBC for Squeak.
Please help

Thank you,
Dmitrij Abolichin

p.s
Here comes the full stack:

8 April 2004 4:11:24 am

VM: Win32 - Squeak3.5 of '11 April 2003' [latest update: #5180]
Image: Squeak3.6 [latest update: #5429]

ExternalFunction class(Object)>>error:
Receiver: ExternalFunction
Arguments and temporary variables: 
aString: 'Could not coerce arguments'
Receiver's instance variables: 
superclass: ExternalObject
methodDict: a MethodDictionary(#argTypes->a CompiledMethod (3109) #callingConve...etc...
format: 136
instanceVariables: #('flags' 'argTypes')
organization: ('initialize-release' initialize)
('accessing' argTypes flags mod...etc...
subclasses: #(ExternalLibraryFunction)
name: #ExternalFunction
classPool: a Dictionary(#FFIErrorMessages->a Dictionary(-1->'Callout mechanism ...etc...
sharedPools: an OrderedCollection(FFIConstants)
environment: a SystemDictionary(lots of globals)
category: nil

ExternalFunction class>>externalCallFailed
Receiver: ExternalFunction
Arguments and temporary variables: 
errCode: 6
Receiver's instance variables: 
superclass: ExternalObject
methodDict: a MethodDictionary(#argTypes->a CompiledMethod (3109) #callingConve...etc...
format: 136
instanceVariables: #('flags' 'argTypes')
organization: ('initialize-release' initialize)
('accessing' argTypes flags mod...etc...
subclasses: #(ExternalLibraryFunction)
name: #ExternalFunction
classPool: a Dictionary(#FFIErrorMessages->a Dictionary(-1->'Callout mechanism ...etc...
sharedPools: an OrderedCollection(FFIConstants)
environment: a SystemDictionary(lots of globals)
category: nil

ODBCLibrary(Object)>>externalCallFailed
Receiver: an ODBCLibrary
Arguments and temporary variables: 

Receiver's instance variables: 
handle: @ 16r40E90000
name: 'odbc32'

ODBCLibrary>>sqlNumResultCols:columnCount:
Receiver: an ODBCLibrary
Arguments and temporary variables: 
statementHandle: nil
columnCount: a SQLSmallInteger
Receiver's instance variables: 
handle: @ 16r40E90000
name: 'odbc32'


--- The full stack ---
ExternalFunction class(Object)>>error:
ExternalFunction class>>externalCallFailed
ODBCLibrary(Object)>>externalCallFailed
ODBCLibrary>>sqlNumResultCols:columnCount:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ODBCResultSet>>initializeConnection:statement:
ODBCResultSet class>>connection:statement:
ODBCStatement>>results
ATSqlTest4(ATSqlNoResult)>>executeSql
ATSqlTest4(ATSqlNoResult)>>testNoResult
ATSqlTest4(TestCase)>>performTest
[] in ATSqlTest4(TestCase)>>runCase
BlockContext>>ensure:
BlockContext>>sunitEnsure:
ATSqlTest4(TestCase)>>runCase
[] in ATTestResult>>runCase:
BlockContext>>on:do:
BlockContext>>sunitOn:do:
[] in ATTestResult>>runCase:
BlockContext>>on:do:
BlockContext>>sunitOn:do:
ATTestResult>>runCase:
ATSqlTest4(TestCase)>>run:
[] in ATTestSuite(TestSuite)>>run:
OrderedCollection>>do:
ATTestSuite(TestSuite)>>run:
[] in ATTestSuite>>run
BlockContext>>ensure:
BlockContext>>sunitEnsure:
ATTestSuite>>run
[] in ATScheduleManager class>>startTask:
[] in BlockContext>>runAtInitialTime:withName:withPriority:every:
BlockContext>>repeat
[] in BlockContext>>runAtInitialTime:withName:withPriority:every:
[] in BlockContext>>newProcess
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040408/a7dc1273/attachment.htm


More information about the Squeak-dev mailing list