Hi everyone,
I'm currently working with Nussknacker 0.1.2, and Flink 1.9.1_2.12 (don't hesitate if you need some additional information).
I built a process with Nussknacker (using a source, a switch, some mapvariables, an union, a custom transformation and a sink). This process works fine when deployed on Flink (throgh NN, obviously).
But i've got a problem when I try to test (with file import) the process on the NN gui (after having generated a small test file through the UI).
The test attempt fails with the following exception :
java.lang.NoSuchMethodError: com.google.common.collect.Sets$SetView.iterator()Lcom/google/common/collect/UnmodifiableIterator;
at org.reflections.Reflections.expandSuperTypes(Reflections.java:380) ~[my-nussknacker-api-1.0-SNAPSHOT-all.jar:1.0-SNAPSHOT]
at org.reflections.Reflections.<init>(Reflections.java:126) ~[my-nussknacker-api-1.0-SNAPSHOT-all.jar:1.0-SNAPSHOT]
at fr.diginext.mbx.api.domain.utils.ClassUtil.<clinit>(ClassUtil.java:71) ~[my-nussknacker-api-1.0-SNAPSHOT-all.jar:1.0-SNAPSHOT]
It sounds to me as a version conflict of the guava dependency between the one I embed (and use) in my API jar and the one used by Nussknacker (I've allready faced these kind NoSuchMethodError in other context, and the cause was allways conflict in dependencies).
What do you guys think about this issue ? In my opinion, even if I could build workarounds (maybe by relocating guava packages building the API jar? I don't event know it it could work), it's a NN bug (as the process works fine once deployed in flink).
Thanks a lot, and best regards.
--