camlow325 has quit [Quit: WeeChat 1.5]
Liothen has quit [Changing host]
Liothen has joined #jruby
enebo has quit [Quit: enebo]
byteit101 has joined #jruby
dinfuehr_ has quit [Ping timeout: 276 seconds]
pil-afk has quit [Read error: Connection reset by peer]
pilhuhn has joined #jruby
Hobogrammer has quit [Quit: WeeChat 0.4.2]
<byteit101> I'm getting a null pointer exception when I run become_java! on a class, specifically https://github.com/byteit101/JRubyFX-FXMLLoader/blob/newloader/lib/jrubyfx-fxmlloader2.rb as run from (jrubyfx source required) ruby jrubyfx-fxmlloader2.rb file:///home/byteit101/NetBeansProjects/jrubyfx/samples/fxml/Demo.fxml
<byteit101> (on 9.1.5.0)
<byteit101> on 9.0.5.0 I got a NoMethodError: undefined method `get_declared_field' for class javafx.scene.layout.BorderPane:Java::JavaClass
<byteit101> (also in become_java!)
<byteit101> is this likely from a poor class or a jruby bug?
prasunanand has quit [Ping timeout: 260 seconds]
prasunanand has joined #jruby
<byteit101> Reduced form: class A < Java::javafx::scene::layout::BorderPane; java_field "java.lang.Object label"; end; A.become_java!
Hobogrammer has joined #jruby
cprice has joined #jruby
dinfuehr_ has joined #jruby
<GitHub42> [jruby] bjfish pushed 1 new commit to truffle-head: https://git.io/vi9bM
<GitHub42> jruby/truffle-head 457ca02 Brandon Fish: [Truffle] Add == comparison to Hash#[]
temporalfox has joined #jruby
pawnbox has joined #jruby
raeoks has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
cprice has quit [Ping timeout: 272 seconds]
cpuguy83 has quit [Ping timeout: 244 seconds]
cpuguy83 has joined #jruby
pilhuhn has quit [Quit: Leaving...]
raeoks has quit [Ping timeout: 272 seconds]
pilhuhn has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
jensnockert has joined #jruby
pawnbox has quit [Read error: No route to host]
pawnbox has joined #jruby
prasunanand has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
dinfueh__ has joined #jruby
dinfuehr_ has quit [Ping timeout: 248 seconds]
sandelius has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pilhuhn is now known as pil-afk
pawnbox has joined #jruby
<GitHub54> [jruby] jsyeo opened pull request #4164: Use .equals instead of == to compare strings in findVariableName (master...patch-1) https://git.io/viHqr
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
jensnockert has quit [Remote host closed the connection]
<GitHub148> [jruby] jsyeo closed pull request #4164: Use .equals instead of == to compare strings in findVariableName (master...patch-1) https://git.io/viHqr
jensnockert has joined #jruby
drbobbeaty has joined #jruby
pawnbox has joined #jruby
prasunanand has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Remote host closed the connection]
pil-afk is now known as pilhuhn
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
claudiuinberlin has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
shellac has joined #jruby
claudiuinberlin has joined #jruby
claudiuinberlin has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
drbobbeaty has joined #jruby
drbobbeaty has quit [Quit: Textual IRC Client: www.textualapp.com]
drbobbeaty has joined #jruby
bbrowning_away has joined #jruby
bbrowning_away is now known as bbrowning
claudiuinberlin has joined #jruby
<GitHub160> [jruby] eregon created truffle-test-use-jt (+1 new commit): https://git.io/viH6z
<GitHub160> jruby/truffle-test-use-jt 267b16b Benoit Daloze: [Truffle] Use a common shell file to define the jt function for shell-based tests....
<GitHub38> [jruby] eregon pushed 1 new commit to truffle-test-use-jt: https://git.io/viH6a
<GitHub38> jruby/truffle-test-use-jt d355d74 Benoit Daloze: [Truffle] Run jt to run from the jruby+truffle tool.
<GitHub99> [jruby] eregon pushed 1 new commit to truffle-test-use-jt: https://git.io/viH6K
<GitHub99> jruby/truffle-test-use-jt a6e4a53 Benoit Daloze: [Truffle] Do not use the core load path for backtrace tests.
<GitHub113> [jruby] eregon pushed 1 new commit to truffle-head: https://git.io/viHim
<GitHub113> jruby/truffle-head e022b49 Benoit Daloze: [Truffle] Do not AST-inline Fixnum#/ for the moment since it can throw an exception.
lance|afk is now known as lanceball
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 276 seconds]
akp has quit [Remote host closed the connection]
<travis-ci> jruby/jruby (truffle-test-use-jt:267b16b by Benoit Daloze): The build failed. (https://travis-ci.org/jruby/jruby/builds/161609488)
tcrawley-away is now known as tcrawley
tcrawley is now known as tcrawley-away
Aethenelle has joined #jruby
tcrawley-away is now known as tcrawley
marciol has joined #jruby
Aethenelle has quit [Ping timeout: 244 seconds]
Aethenelle_ has joined #jruby
pawnbox has joined #jruby
<headius> Guest71923: what's the problem?
<headius> byteit101: well if it wasn't a NPE before I'd say it's a bug
<headius> marciol: wow, I don't know...you'll have to elaborate on that a bit
nicksieger has joined #jruby
<GitHub198> [jruby] byteit101 opened issue #4165: java_field causes NPE when using derived class of a java object https://git.io/viHQW
akp has joined #jruby
akp has quit [Remote host closed the connection]
akp has joined #jruby
enebo has joined #jruby
marciol_ has joined #jruby
marciol has quit [Read error: Connection reset by peer]
Aethenelle has joined #jruby
Aethenelle_ has quit [Ping timeout: 272 seconds]
<GitHub31> [jruby] eregon pushed 2 new commits to truffle-test-use-jt: https://git.io/viHFj
<GitHub31> jruby/truffle-test-use-jt bf87a0b Benoit Daloze: [Truffle] Skip instrumentation server test since it is extremely unreliable.
<GitHub31> jruby/truffle-test-use-jt df27afa Benoit Daloze: [Truffle] Let the instrumentation server fail fast.
marciol has joined #jruby
marciol has quit [Client Quit]
marciol_ has quit [Ping timeout: 260 seconds]
<GitHub75> [jruby] headius pushed 1 new commit to master: https://git.io/viHxP
<GitHub75> jruby/master e2027ed Charles Oliver Nutter: Raise a TypeError for non-reifiable become_java! classes. #4165
Aethenelle has quit [Read error: Connection reset by peer]
Aethenelle has joined #jruby
Aethenelle has quit [Read error: Connection reset by peer]
<travis-ci> jruby/jruby (truffle-test-use-jt:bf87a0b by Benoit Daloze): The build passed. (https://travis-ci.org/jruby/jruby/builds/161640154)
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
thedarkone2 has joined #jruby
Aethenelle has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
hobodave has joined #jruby
Aethenelle has quit [Ping timeout: 276 seconds]
<GitHub181> [jruby] eregon opened pull request #4166: Truffle: use jt in tests (truffle-head...truffle-test-use-jt) https://git.io/viQvi
claudiuinberlin has joined #jruby
Aethenelle has joined #jruby
Galt is now known as mberg
Aethenelle has quit [Ping timeout: 244 seconds]
camlow325 has joined #jruby
Aethenelle has joined #jruby
pawnbox has quit [Remote host closed the connection]
Aethenelle_ has joined #jruby
Aethenelle has quit [Ping timeout: 260 seconds]
Aethenelle_ is now known as Aethenelle
pawnbox has joined #jruby
camlow325 has quit [Quit: WeeChat 1.5]
<travis-ci> jruby/jruby (master:e2027ed by Charles Oliver Nutter): The build has errored. (https://travis-ci.org/jruby/jruby/builds/161646627)
<havenwood> this RubySonar is really nifty! https://github.com/yinwang0/rubysonar
<headius> very interesting
<headius> it must be shelling out to run irb? I don't see JRuby as a dependency
<GitHub109> [jruby] eregon pushed 2 new commits to truffle-test-use-jt: https://git.io/viQOn
<GitHub109> jruby/truffle-test-use-jt fd81849 Benoit Daloze: [Truffle] jt: remove unused find_jruby_bin_dir.
<GitHub109> jruby/truffle-test-use-jt 7ba2562 Benoit Daloze: [Truffle] jt: no need to change bin/ruby anymore.
<enebo> headius: looks like it uses idea library for parsing at least
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
<enebo> lopex: you have it?
<lopex> enebo: no, 50$ at very least
<lopex> in shop nearby it's for 111$
<enebo> lopex: headius and I had it in amsterdam once. you could get 2-3oz pour for a more reasonable price
<lopex> oh
<lopex> and I thought I might surprise you
<enebo> lopex: not sure how long the bottle was open but I don’t think it has any carbonation anyways
<enebo> lopex: this precedes my untapped membership so I would like to get it again
<enebo> headius: do you remember what the other one was we also had that night?
pawnbox has quit [Remote host closed the connection]
<enebo> lopex: they had their primary rival also in a small pour size at that bar
<lopex> enebo: yeah, the rival has beaten them now in terms of abv
<lopex> enebo: they said they give up
<lopex> oh kaigi videos are up
pawnbox has joined #jruby
prasunanand has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit []
shellac has quit [Quit: Leaving]
bbrowning is now known as bbrowning_away
pilhuhn is now known as pil-afk
oblutak has joined #jruby
<headius> enebo: tactial nuclear penguin
<headius> tactical
bbrowning_away is now known as bbrowning
olle has joined #jruby
<olle> I'm curious about an error I ran into in MarchHare, https://github.com/gocardless/hutch/pull/246#issuecomment-248679664 "Unable to find java.net.SocksSocketImpl.remainingMillis(java/net/SocksSocketImpl.java to read failed line"
<enebo> olle: looks like some mismatch between rabbitmq and its assupmtion about an internal API in Java
nicksieger has quit [Remote host closed the connection]
<olle> FrameHandlerFactory - great name
<olle> enebo: Since my Java is like my French - foreign - would _this_ class need to support the #remainingMillis https://github.com/newcontext/rabbitmq-java-client/blob/master/src/com/rabbitmq/client/impl/FrameHandlerFactory.java#L18 ?
nicksieger has joined #jruby
<olle> enebo: You don't have to answer this. It's not even remotely JRuby code.
<enebo> olle: this source does not match your stacktrace
<enebo> olle: something is really odd about this
<enebo> olle: Socket.connect is a public API and it internally is not finding a method in its impl (which is a non-private part of Java)
<enebo> olle: almost like two versions of Java are mixed together or something
dinfueh__ has quit [Read error: Connection reset by peer]
<enebo> olle: I should have said ServerSocketImpl.connect is the private part and its impl cannot find a method on the same class
dinfuehr_ has joined #jruby
<olle> enebo: Is that the FrameHandlerFactory's fault then?
<enebo> olle: I don’t see how
<olle> enebo: My stacktrace listed a line like " # RUBY.new_connection_impl(/home/travis/build/gocardless/hutch/vendor/bundle/jruby/2.2/gems/march_hare-2.18.0-java/lib/march_hare/session.rb:505)
<olle> "
<enebo> olle: but this stack says it is using reflection to call a specific Java method…which is newConnection in ConnectionFactor
<enebo> olle: that code ends up eventually calling Socket.connect() which is a public Java API
<enebo> olle: its implementation should just work
<enebo> olle: the backtrace in the PR looks pretty weird
<olle> enebo: And there, we're in https://github.com/ruby-amqp/march_hare/blob/master/lib/march_hare/session.rb#L505 (this class is new'ing ConnectionFactory, interacting with it)
<olle> enebo: It's jruby-9.0.0.0 for arcane reasons I'm not privy to. Will bump to latest 9.1.5.0
<enebo> olle: yeah so that ends up calling ConnectionFactor.newConnection in Java
<enebo> olle: which appears to bounce through a few overloaded versions of newConnection and eventually call the FrameHandlerFactory.create
<olle> enebo: Good, we're actually on the same page.
<enebo> olle: some Java APIs have a SPI (Service Provider Interface) where you can register your own handler for something like let’s say a custom socket type
<olle> enebo: https://travis-ci.org/gocardless/hutch/jobs/161699346 is a new build, using jruby-9.1.5.0 (would that even make a difference? no, right?)
<enebo> olle: so that would be my only thought. If rabbit MQ registers something through an SPI-ish way then perhaps this calls back into hutch or something which is assuming SocksSocketImpl has a remainingMillis in it
<enebo> olle: or Java APIs have a bug and this code is creating something it does not properly support
<enebo> olle: unlikely unless the SPI scenario is in play and we had some javai ntegration bug in 9.0.0.0
<enebo> olle: It is the right thing to do in debugging htough
<olle> enebo: java.util.ServiceConfigurationError, java.util.ServiceLoader - those are SPI things. I will hunt for them in the rabbitmq codebase
<enebo> olle: yeah so what could be happening is we are seeing a weird error message as a TimeoutError swallowing the real source location error and the SPI is doing some call it hsould not on the SocksSockImpl
<olle> enebo: Fruitless search performed.
<enebo> olle: does this work on jruby 1.7.x?
<olle> enebo: being not so lucky, the jruby-9.1.5.0 build didn't turn up this weird error. It has appeared once before, Google knew about this weird error stacktrace.
<olle> enebo: I could add a matrix item for jruby 1.7
<enebo> olle: oh so it worked this time?
<olle> enebo: Indeedy.
<enebo> olle: well I am no concerned abotu 1.7 working just wondering if it works as a comparison
<enebo> olle: if it works 100% of the time with upgrading then we would somehow be responsible
<olle> enebo: I'll try re-running it a coupld times.
<enebo> olle: I really don’t get how we could be responsible unless we called wrong newConnection
<enebo> olle: even if we did it seems weird we would see goofiness like this unless we are bypassing security and improperly calling a protected/private version of a method
<olle> enebo: https://travis-ci.org/gocardless/hutch/jobs/161702333 (kicked the CI again, waiting for a build)
<olle> enebo: Is this a clue? It's possible to tell the ConnectionFactory to use a given ":thread_factory" https://github.com/ruby-amqp/march_hare/blob/master/lib/march_hare/session.rb#L69
rcvalle has joined #jruby
sandelius has joined #jruby
<enebo> olle: no I don’t think so
<enebo> olle: looksl ike it ran green
<olle> enebo: Hm, yes.
<olle> enebo: One way to keep one's eye on it would be to keep on disallowing build failures for jruby-9.1.5.0
<enebo> olle: my best theory would be we had a java integration bug where we had to pick and overload of newConnection and we somehow picked one we were not supposed to (e.g. it was marked private/protected) but we futz with setAccessible so we were able to call wrong version
<enebo> olle: well someone will notice it when it stops that way
<olle> enebo: Theory which rhymes with that earlier-this-month Bundler private-methods-being-rejiggled.
Aethenelle has quit [Quit: Aethenelle]
<enebo> olle: yeah although I mean java protections and not ruby ones
<enebo> olle: in java you can bypass visibility using reflection by saying setAccessible(true) on whatever you are interacting with and it generally lets you
<olle> enebo: Right. (Hm, visibility-being-stored-on-the-method vs -on-the-slot)
<olle> enebo: Oh, exciting.
<enebo> olle: class Foo < JavaFoo where JavaFoo has protected method…so we bypass for cases like this so we can have this work as expected
claudiuinberlin has joined #jruby
<olle> enebo: I seem to recall 9.0.3.0 or something being the cut-off for one of the features that had the older behavior. (This is me paraphrasing from what I recall.)
<olle> enebo: Yours is a clear explanation.
<olle> THanks.
<enebo> olle: if you are really curious you can bisect and see if a JI commit points to what caused this
<enebo> olle: I am mildly surprised it is us but I guess I came up with a plausible theory
<enebo> olle: theories are cheap :)
<enebo> olle: and if it works 100% of the time now it must have been us
<olle> enebo: Warning: it did not mis-work 100% of the time on 9.0.0.0 either.
<enebo> olle: I can even possibly explain that
<enebo> olle: I think we had an issue where JVM did not predictably return method overloads in the same order run to run so we messed up our scoring algo for picking right method to call
<enebo> olle: so some runs it would be in the order we expected and work and other times it would fail
<enebo> olle: I thought that was an ancient issue though
<olle> (9.0.0.0's ancient, right?)
<olle> enebo: Solution to this little excursion - I put a link to this chat log in my PR, and called it done.
<enebo> olle: ok well that probably works. we never did figure it out but if it works all the time now we must be the problem during 9.0.0.0
<olle> enebo: I could only ever make it fall over on Travis.
<enebo> olle: and as I said someone can probably bisect with best of n runs per bisect if they have to know :)
<olle> Never gotten it wonky locally.
<enebo> olle: what OS do you use locally?
<olle> enebo: OS X
<olle> enebo: El Capitan
<enebo> olle: ah ok vs some linux on travis
subbu is now known as subbu|lunch
<olle> enebo: I could install jruby-9.0.0.0 locally.
<olle> enebo: it's quick, using rvm
<enebo> olle: if it fails for you locally that way then perhaps it indicates a generic issue I guess
<olle> enebo: I ran it like 5 times in a row using jruby-9.0.0.0 on OS X. No failure.
<enebo> olle: heh which JVM?
<enebo> olle: I notice travis is still using some Java 7 for that suite
<olle> enebo: java version "1.8.0_92" Java(TM) SE Runtime Environment (build 1.8.0_92-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
<olle> enebo: Perhaps I can force a Java upgrade in my Travis build configuration?
<enebo> olle: I don’t know. asarih probably does
camlow325 has joined #jruby
<olle> enebo: Oracle JDK 8 installed!
<enebo> olle: nice
<enebo> olle: nice
<olle> enebo: Of course, there was a nicer way https://docs.travis-ci.com/user/languages/ruby/#Testing-against-multiple-JDKs-(JRuby)
<enebo> olle: doh yeah you could have looked at our projects travel.yml
akp_ has joined #jruby
akp_ has quit [Remote host closed the connection]
akp has quit [Read error: Connection reset by peer]
akp has joined #jruby
<olle> TIL: travis-lint exists https://docs.travis-ci.com/user/travis-lint
pawnbox has quit [Remote host closed the connection]
Aethenelle has joined #jruby
akp has quit [Remote host closed the connection]
subbu|lunch is now known as subbu
akp has joined #jruby
akp has quit [Ping timeout: 265 seconds]
jensnockert has quit [Read error: Connection reset by peer]
jensnock_ has joined #jruby
claudiuinberlin has quit []
Aethenelle has quit [Ping timeout: 272 seconds]
Aethenelle has joined #jruby
kegster has joined #jruby
<olle> enebo: Thanks for all the supportive digging and speculating! https://github.com/gocardless/hutch/pull/246
<enebo> olle: thanks for working on this too
<enebo> olle: the less we have to contend with non-green CI stuff the better our perception
<enebo> olle: looking into problems like this really helps us a lot
<olle> m-a-r-k-e-t-i-n-g :jazz-hands:
cprice404 has quit [Quit: Konversation terminated!]
cprice404 has joined #jruby
akp has joined #jruby
bbrowning is now known as bbrowning_away
nirvdrum has joined #jruby
<nirvdrum> I thought it was weird no one had spoken in days. Apparently my bouncer disconnected.
nicksieger has quit [Remote host closed the connection]
tcrawley is now known as tcrawley-away
<GitHub81> [jruby] subbuss opened issue #4167: Create a different hierarchy of DynamicScope for use in startup interp + remove null checks in the existing hierarchy since they are redundant https://git.io/vi7v5
<GitHub152> [jruby] subbuss closed issue #2465: Build a new pass that ensures that ruby locals / IR tmps are initialized https://git.io/adceFA
<olle> enebo: More of the "don't make JRuby look weird" footwork: https://github.com/gocardless/hutch/pull/248
<olle> enebo: In this case, optional dependencies that are different on non-JRuby would clutter up the gemspec, making it harder to understand.
nicksieger has joined #jruby
nicksieger has quit [Remote host closed the connection]
hobodave has quit [Ping timeout: 244 seconds]
lanceball is now known as lance|afk
temporalfox has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
temporalfox has joined #jruby
olle has left #jruby [#jruby]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
temporalfox has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
oblutak has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<GitHub114> [jruby] headius pushed 1 new commit to master: https://git.io/vi7Yt
<GitHub114> jruby/master 77f7660 Charles Oliver Nutter: Update to jruby-readline-1.1.1 and make it a default gem.
akp has quit [Remote host closed the connection]
akp has joined #jruby
jensnockert has joined #jruby
akp has quit [Ping timeout: 264 seconds]
jensnock_ has quit [Ping timeout: 240 seconds]
Aethenelle has quit [Read error: Connection reset by peer]
Aethenelle has joined #jruby
<travis-ci> jruby/jruby (master:77f7660 by Charles Oliver Nutter): The build has errored. (https://travis-ci.org/jruby/jruby/builds/161772601)
jensnockert has quit [Remote host closed the connection]
enebo has joined #jruby
nicksieger has joined #jruby