Closed larskotthoff closed 9 years ago
If we exclude everything which uses Rweka and thus Rjava it works again https://travis-ci.org/mlr-org/mlr/branches
Hmm, any idea what's causing this? Excluding everything that uses Java seems a bit over the top.
Ok, I was able to reproduce the problem with the Oracle JDK. But in my case removing bartMachine
(which also uses rJava
) fixed it.
Seems to be fixed now. Opened a new issue for the bartMachine stuff.
I am interested in how exactly did you spot the cause. So we might be smarter in the future. @larskotthoff Could you give some hints?
I created a virtual machine with a fresh Ubuntu install, then installed R, Java, etc. Then I ran the tests to see if I could reproduce, then only the test that failed. Then I printed the names of the learners as they were being tested; got the error just after bartMachine
. So I tested just that, commenting out things until I'd narrowed it down to the test with missing values. So then I constructed a test case for this manually and got a different error, but this error message along with some playing around gave me the hint how to "fix" this.
In practice it wasn't quite as straightforward as I described it; for example the default Java version (openjdk) worked fine; the problem only occurs with the Oracle JVM.
I just upgraded bartMachine to 1.2.1 please try it now.
@kapelner What went wrong and how did you solve the issue? I am also having this problem with one of my packages that depend on rJava. Thanks!
Unsure... you'll have to wait for lars to rerun and see if what I did fixes it.
Thanks for updating -- we're having some other issues with Travis now, but as soon as that's sorted out I'll have a look at this.
Travis currently fails with
I cannot reproduce this error, even on a fresh Ubuntu installation that should be configured in the same way as the Travis machine.
The message suggests that it's coming from some Java interface code, probably RWeka. I've tested all the learners we use from RWeka and they seem to be fine.
Any ideas anybody?