You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found a condition where a NoSuchMethodError can be thrown. Below is what I do to get it to trigger (I hope you don't mind that it's in scala). I am using hll version 1.6.0 out of maven.
valh1=newHLL(13, 5)
valh2=newHLL(13, 5)
h2.addRaw(2)
h1.union(h2) // <-- exception here
results in:
Exception in thread "main" java.lang.NoSuchMethodError: it.unimi.dsi.fastutil.longs.LongOpenHashSet.clone()Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;
at net.agkn.hll.HLL.heterogenousUnion(HLL.java:679)
at net.agkn.hll.HLL.union(HLL.java:639)
Is anyone else running into this issue?
The text was updated successfully, but these errors were encountered:
I attempted to reproduce this problem via a patch to SparseHLLTest.java (not really sure if this is the optimal test class, but i noticed some existing EMPTY union tests there) and was unable to reproduce the described bug.
I suspect the initial bug report was due to a classpath issue (ie: multiple versions of the same depedent jar containing it.unimi.dsi.fastutil.longs.LongOpenHashSet)
I've found a condition where a NoSuchMethodError can be thrown. Below is what I do to get it to trigger (I hope you don't mind that it's in scala). I am using hll version 1.6.0 out of maven.
results in:
Is anyone else running into this issue?
The text was updated successfully, but these errors were encountered: