swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

little error in CustomProbeMap ?


From: Daniel Kottow
Subject: little error in CustomProbeMap ?
Date: Tue, 08 May 2001 16:21:12 +0200

there seems to be a little bug in CustomProbeMap (swarm 2.1.1, objective
C)
since:

  probeMap = [CustomProbeMap create: self forClass: [myswarm class]
                             withIdentifiers: "foo", 
                             ":",
                             "method1:",
                             "method2:",
                             NULL];

works well (given the existence of var foo and methods method1:,
method2:), 
but

  probeMap = [CustomProbeMap create: self forClass: [myswarm class]
                             withIdentifiers: 
                             ":",
                             "method1:",
                             "method2:",
                             NULL];

crashes saying:

*** event raised for warning: WarningMessage
*** function: _i_ProbeMap__getProbeForVariable_(), file: ProbeMap.m,
line: 601
The variable : was not found
*** execution continuing...
*** event raised for error: InvalidArgument
*** function: nil_method(), file: internal.m, line: 1349
The message `isKindOf:' was sent to nil.
*** execution terminating due to error
Symbol.m:173 -[Error(c) _raiseEvent:]

IOW,
shouldnt it be possible not to have any ivars in the probemap ?

greetings, daniel.

-- 
Daniel Kottow                                   
address@hidden
Security and Testing Technology                  http://www.ipk.fhg.de
Production Technology Centre                     Pascalstr. 8 - 9
Fraunhofer-Institut IPK Berlin                   D - 10587 Berlin

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]