leonoel / missionary

A functional effect and streaming system for Clojure/Script
Eclipse Public License 2.0
630 stars 26 forks source link

ArrayIndexOutOfBoundsException in Latest.java #34

Closed mjmeintjes closed 3 years ago

mjmeintjes commented 3 years ago

I'm getting the following error, but I am struggling to reproduce it. Just wondered if it is something obvious that is wrong.

{:via [{:type java.lang.ArrayIndexOutOfBoundsException
        :message "Index -1 out of bounds for length 2"
        :at [missionary.impl.Latest deref "Latest.java" 88]}]
 :trace [[missionary.impl.Latest deref "Latest.java" 88]
         [missionary.impl.Sample deref "Sample.java" 102]
         [missionary.impl.Transform pull "Transform.java" 74]
         [missionary.impl.Transform$2 invoke "Transform.java" 102]
         [missionary.impl.Sample$3 invoke "Sample.java" 70]
         [missionary.impl.Ambiguous emit "Ambiguous.java" 36]
         [missionary.impl.Ambiguous step "Ambiguous.java" 51]
         [missionary.impl.Ambiguous$3 invoke "Ambiguous.java" 133]
         [missionary.impl.Sleep$Scheduler trigger "Sleep.java" 61]
         [missionary.impl.Sleep$Scheduler run "Sleep.java" 75]]
 :cause "Index -1 out of bounds for length 2"}
leonoel commented 3 years ago

possible duplicate with #25

leonoel commented 3 years ago

Should be fixed in b.20, feel free to reopen if you observe similar behavior