That could be an artifact from the original code; I haven't modified
the actual content of what goes on pre/post method so much as changed
what class the code lives in.

I'll be getting back into RoR work tomorrow. Maybe you can zip up a
sample dir that demonstrates the issue?

- Charlie

On 2/4/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote:
>   Yep...
>
>   Though the scope itself is there...the localValues is getting
> set to null.
>
>   That also lead to another observation.  We call
> resetLocalVariables from AbstractMethod as long as the localNames
> is not null (but could be empty).  In resetLocalVariables we set
> localValues to null if it is null or empty.  It looks wrong to me,
> but I am not sure I know what is going on.
>
> -Tom
>
> On Sat, 04 Feb 2006, Charles O Nutter defenestrated me:
> >
> > I ran into something similar when I was working on script/generate...a
> > Scope that had bogus local variables. I have not seen it recently, but
> > I think it's probably just a matter of popping too many scopes
> > (frames) or not initializing them correctly.
> >
> > I assume it still fails with the AbstractMethod patch I committed today, 
> > yes?
> >
> > - Charlie
> >
> > On 2/4/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote:
> > >   Given a script:
> > > require 'xsl/xmlparser'
> > >
> > >   I get error in Scope.getValue.  It looks like we are popping back
> > > down to an existing Scope and then calling resetLocalVariables on it
> > > via DefaultMethod.  This in turn nulls out localValues causing a NPE
> > > in getValue.
> > >
> > >   It dies trying to access loaded on line 55 of xmlparser.rb.
> > > xmlparser.rb appears to be requiring itself from several files and
> > > I wonder if somehow that has something to do with it (though in
> > > theory it should acknowledge that it has already been required
> > > and not reparse it).
> > >
> > >   I am taking a break ...
> > >
> > > -Tom
> > >
> > > --
> > > + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+
> > > | Thomas E Enebo, Protagonist  | "Luck favors the prepared    |
> > > |                              |  mind." -Louis Pasteur       |
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> > > files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > > _______________________________________________
> > > Jruby-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/jruby-devel
> > >
> >
> >
> > --
> > Charles Oliver Nutter @ headius.blogspot.com
> > JRuby Developer @ jruby.sourceforge.net
> > Application Architect @ www.ventera.com
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> > _______________________________________________
> > Jruby-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jruby-devel
>
> --
> + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+
> | Thomas E Enebo, Protagonist  | "Luck favors the prepared    |
> |                              |  mind." -Louis Pasteur       |
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Jruby-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jruby-devel
>


--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to