Kconv.kconv throws an NPE
-------------------------

                 Key: JRUBY-5591
                 URL: http://jira.codehaus.org/browse/JRUBY-5591
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.6RC3
         Environment: jruby-1.6 head, gitsha : 
6d2aac69b79b240b4f853e133927176243251db1
            Reporter: mccraigmccraig of the clan mccraig


gluuw:~ mccraig$ jruby -J-Djruby.jit.threshold=0 -r irb -e IRB.start
jruby-head :001 > require 'kconv'
 => true 
jruby-head :002 > Kconv.kconv("foo", Kconv::UTF16, Kconv::ASCII)
Java::JavaLang::NullPointerException: 
        from org.jruby.RubyNKF$Converter.convert_byte(RubyNKF.java:415)
        from org.jruby.RubyNKF$DefaultConverter.convert(RubyNKF.java:429)
        from org.jruby.RubyNKF.nkf(RubyNKF.java:206)
        from org.jruby.RubyNKF$s$2$0$nkf.call(RubyNKF$s$2$0$nkf.gen:65535)
        from 
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
        from 
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:173)
        from 
rubyjit.kconv_BCB31DEF22E17F19E6944E8DA2905CD14B185653.__file__(/Users/mccraig/.rvm/rubies/jruby-head/lib/ruby/1.8/kconv.rb:127)


-- 
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