ArrayIndexOutOfBoundsException when receiving raw post data from Silverlight 
client
-----------------------------------------------------------------------------------

                 Key: JRUBY-4382
                 URL: http://jira.codehaus.org/browse/JRUBY-4382
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4, JRuby 1.5
         Environment: r...@flllow:~# uname -a
Linux flllow 2.6.32-linode23 #1 SMP Sat Dec 5 16:04:55 UTC 2009 i686 Intel(R) 
Xeon(R) CPU           L5420  @ 2.50GHz GenuineIntel GNU/Linux
 
r...@flllow:~# jruby -v
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 
Client VM 1.6.0_17) [i386-java]
 
r...@flllow:~# java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
 
r...@flllow:~# rails -v
Rails 2.3.5
 
r...@flllow:~# glassfish -v
GlassFish gem version: 1.0.0
http://glassfishgem.rubyforge.org


Tried also with jRuby 1.5.0.dev snapshot from 23-Dec-2009 05:37
            Reporter: Wagner Amaral
            Assignee: Thomas E Enebo
         Attachments: connection_sniff.txt, jruby_stacktrace.txt

I'm running a rails app on jruby over glassfish, which includes a file upload 
method. The client is made in silverlight (C#), and it sends data as raw post.

When the request reaches the server, it fails with the following error:
java.lang.ArrayIndexOutOfBoundsException: 12

This exception raises before the app routes to my code (user authentication 
code on before_filter is not being called).

Attached there's a stacktrace and a sample "sniff" of a connection between the 
client and the server.

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