NFE from RubyYaccLexer.yylex
----------------------------

                 Key: JRUBY-1432
                 URL: http://jira.codehaus.org/browse/JRUBY-1432
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.x
         Environment: JRuby, trunk, Linux
            Reporter: Martin Krauskopf
         Attachments: NFE.txt, workaround-patch.diff

See attached NFE. It happened when I indirectly tried to require .so file 
(sure, nonsense, but could happen when requiring 3rd gem). I've workarounded 
problem with attached workaround-patch.diff. Then I've got Ruby backtrace:

{code}
[...]/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: 
[...]/rubygems/gemrepo/gems/ruby-debug-base-0.9.4/lib/ruby_debug.so:1:
            Invalid char '' in expression (SyntaxError)
        from 
/space/ruby/sources/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 `require'
        from 
/space/ruby/sources/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 `require'
{code}

and immediately saw my problem.
But probably you want to catch the issue earlier then in Lexer.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to