When using the experimental jruby.rack.handler.env, this exception appears any time there are query params on the url. Using jetty-maven-plugin 8.1.3.v20120416.
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `length' for nil:NilClass
at RUBY.load_parameters(file:/Users/trevorhartman/.m2/repository/org/jruby/rack/jruby-rack/1.1.13.2/jruby-rack-1.1.13.2.jar!/rack/handler/servlet/servlet_env.rb:61)
at org.jruby.RubyHash.each(org/jruby/RubyHash.java:1257)
at org.jruby.java.proxies.MapJavaProxy.each(org/jruby/java/proxies/MapJavaProxy.java:411)
at RUBY.load_parameters(file:/Users/trevorhartman/.m2/repository/org/jruby/rack/jruby-rack/1.1.13.2/jruby-rack-1.1.13.2.jar!/rack/handler/servlet/servlet_env.rb:59)
at RUBY.populate!(file:/Users/trevorhartman/.m2/repository/org/jruby/rack/jruby-rack/1.1.13.2/jruby-rack-1.1.13.2.jar!/rack/handler/servlet/servlet_env.rb:23)
at RUBY.populate(file:/Users/trevorhartman/.m2/repository/org/jruby/rack/jruby-rack/1.1.13.2/jruby-rack-1.1.13.2.jar!/rack/handler/servlet/default_env.rb:64)
at RUBY.create(file:/Users/trevorhartman/.m2/repository/org/jruby/rack/jruby-rack/1.1.13.2/jruby-rack-1.1.13.2.jar!/rack/handler/servlet/default_env.rb:43)
at RUBY.create_env(file:/Users/trevorhartman/.m2/repository/org/jruby/rack/jruby-rack/1.1.13.2/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:26)
at RUBY.call(file:/Users/trevorhartman/.m2/repository/org/jruby/rack/jruby-rack/1.1.13.2/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22)
When using the experimental
jruby.rack.handler.env
, this exception appears any time there are query params on the url. Usingjetty-maven-plugin 8.1.3.v20120416
.related: #110