[ 
https://issues.apache.org/jira/browse/BUILDR-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Victor Hugo Borja updated BUILDR-158:
-------------------------------------

    Fix Version/s:     (was: 1.3.3)
                   1.3.4

The fix for this was on rake 0.8.3 branch, so just borrowed it into trunk.

The nailgun server works unless you modify the buildfile while the server is 
running. When a buildfile is modified, the nailgun server uses a newly created 
runtime with buildr loaded on it by doing require('buildr'), however it seems 
Buildr is not being initialized properly on those child runtimes, I'll schedule 
this issue for the next release. 


> IllegalArgumentException using nailgun with JRuby 1.1.4 + Buildr 1.3.3 
> (snapshot)
> ---------------------------------------------------------------------------------
>
>                 Key: BUILDR-158
>                 URL: https://issues.apache.org/jira/browse/BUILDR-158
>             Project: Buildr
>          Issue Type: Bug
>            Reporter: Alex Boisvert
>             Fix For: 1.3.4
>
>         Attachments: error.log, error_jruby_trunk_r7831.txt
>
>
> I start the nailgun server:
> [EMAIL PROTECTED]:~/scala/test$ jruby -S buildr -rbuildr/nailgun 
> nailgun:start 
> (in /home/boisvert/scala/test, development)
> Booting Buildr nailgun server...
> Buildr::Nailgun::NGServer(Buildr 1.3.3 (JRuby 1.1.4), 127.0.0.1, 2113) 
> Started.
> [Completed] Your build has completed: /home/boisvert/scala/test
> buildr nailgun:start
> Completed in 3.384s
> Got connection from /home/boisvert/scala/test
> then try to run the build in a separate terminal:
> [EMAIL PROTECTED]:~/scala/process$ ng build
> java.lang.IllegalArgumentException: array element type mismatch
>       at java.lang.reflect.Array.set(Native Method)
>       at 
> org.jruby.javasupport.JavaArray.setWithExceptionHandling(JavaArray.java:121)
>       at 
> org.jruby.java.addons.ArrayJavaAddons.copyDataToJavaArray(ArrayJavaAddons.java:108)
>       at 
> org.jruby.javasupport.JavaClass.javaArrayFromRubyArray(JavaClass.java:1511)
> ...
> ... (see full log attached)
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to