[Glass] Very strange error - one method can not be found ...

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Wed Oct 15 08:06:07 PDT 2014


Just by chance...was A in a class hierarchy with some subclasses?  was A
updated from Monticello at some point?
If you updated A from Monticello, did it warn you about something?

On Wed, Oct 15, 2014 at 11:02 AM, James Foster via Glass <
glass at lists.gemtalksystems.com> wrote:

> My suspicion is that the compiled method referred to a class A that did
> not have method #’x:’. How could that happen? If you had a class A but
> removed it and created a new A, then the compiled method would still refer
> to the removed class. Recompiling the method did the lookup over again and
> found the new A.
>
> James
>
> On Oct 15, 2014, at 4:15 AM, itlists at schrievkrom.de via Glass <
> glass at lists.gemtalksystems.com> wrote:
>
> > Today I had a very strange error in one of our development platforms:
> >
> > Assume a class named "A" containing an instance method: "x:".
> >
> > In lots of methods I create instances of class "A" and set the attribute
> > values via "x:" like:
> >
> >  ^A new initialize
> >    ... ;
> >    x: aValue ;
> >    ...;
> >    yourself
> >
> > And ALL methods calling "x:" are now not working any more. Gemstone
> > tells me, that x: can not be found. Executing the code in a workspace
> > works without problems.
> >
> > To get rid of this error I enter the source code, add a space, recompile
> > the method and now "x:" can be called without problems.
> >
> >
> > Marten
> >
> >
> > --
> > Marten Feldtmann
> > _______________________________________________
> > Glass mailing list
> > Glass at lists.gemtalksystems.com
> > http://lists.gemtalksystems.com/mailman/listinfo/glass
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20141015/ec1e2881/attachment.html>


More information about the Glass mailing list