Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

RE : accede collections

New Message Reply Date view Thread view Subject view Author view

Subject: RE : accede collections
From: Guillaume Champlong (champlong@ifpindia.org)
Date: Fri Aug 29 2008 - 05:42:54 CEST

Hello,

I did not change anything, but today my model is working... the probe
does noy throw any exception.I don't understand.

thanks for help, I will try to debug from now.

Guillaume.

Christophe Le Page wrote:
> Hello,
>
> No, I don't have any idea, because the way you are reporting about the bug
> is inefficient.
> Here you just mention about a very general method invoked for all the same
> kind of bugs.
> You have to use the debugger to locate in the stack of methods the first one
> from the top that "speaks" to you (related to your Cormas model).
> The name of that method, plus the value of the variable key (to be inspected
> in the debugger), would be two helpful clues.
>
> By the way, to learn about the debugger:
> * chapter debugging techniques in AppDevGuide.pdf (in "doc" subdirectory of
> visualworks distribution)
> *
> http://www.cincomsmalltalk.com/userblogs/cincom/blogView?content=smalltalk_d
> aily_debugger
> * attached document
>
> A+
> clp
>
>
>
>
>> -----Message d'origine-----
>> De : owner-cormas@cirad.cirad.fr
>> [mailto:owner-cormas@cirad.cirad.fr] De la part de Guillaume Champlong
>> Envoyé : jeudi 28 août 2008 11:26
>> À : cormas@cirad.fr
>> Objet : Re: RE : accede collections
>>
>>
>> hello,
>>
>> I am stuck with an error on a probe.
>>
>> I have a 'production' attribute on my cells (called
>> LandUnit), I created
>> accessors from the context menu. After that, I go program->the
>> oberserver->probes->LandUnit->create a probe on
>> attribute->'production'
>>
>> Then, when I initiatialize the model, I get the following error:
>>
>> Unhandled exception: key not found
>>
>> keyNotFoundErrorFor: selector index: key
>> "Raise a signal indicating that the key was not found."
>>
>> ^(KeyNotFoundError receiver: self selector: selector index: key)
>> raiseRequest
>>
>> Does this mean the attribute 'production' is not found in the
>> LandUnit
>> object?
>> Do you have an idea?
>>
>> thanks
>>
>> Guillaume.
>>
>>

New Message Reply Date view Thread view Subject view Author view
 

Back to home