Exception in thread "main" java.lang.AbstractMethodError: com.netopyr.wurmloch.store.AbstractCrdtStore$$Lambda$7/1011204018.accept(Ljava/lang/Object;Ljava/lang/DCompMarker;)V at io.reactivex.internal.operators.flowable.FlowableDoOnEach$DoOnEachSubscriber.onNext(FlowableDoOnEach.java:83) at io.reactivex.processors.PublishProcessor$PublishSubscription.onNext(PublishProcessor.java:283) at io.reactivex.processors.PublishProcessor.onNext(PublishProcessor.java:198) at com.netopyr.wurmloch.store.AbstractCrdtStore.register(AbstractCrdtStore.java:136) at com.netopyr.wurmloch.store.AbstractCrdtStore.createGSet(AbstractCrdtStore.java:113) at com.netopyr.wurmloch.store.LocalCrdtStore.createGSet(LocalCrdtStore.java:7) at crdtTest.gset.Gset.main(Gset.java:24)
import com.netopyr.wurmloch.crdt.GSet;import com.netopyr.wurmloch.store.LocalCrdtStore;import sun.reflect.CallerSensitive;
public class Gset { @CallerSensitive public static void main(String[] args) { try{ // create two CrdtStores and connect them final LocalCrdtStore crdtStore1 = new LocalCrdtStore("store1");
final LocalCrdtStore crdtStore2 = new LocalCrdtStore("store2"); crdtStore1.connect(crdtStore2);
// create a G-Set and find the according replica in the second store final GSet<String> replica1 = crdtStore1.createGSet("ID_1"); final GSet<String> replica2 = crdtStore2.<String>findGSet("ID_1").get();
// add one entry to each replica replica1.add("apple"); replica2.add("banana"); // disconnect the stores simulating a network issue, offline mode etc. crdtStore1.disconnect(crdtStore2);
// add one entry to each replica replica1.add("strawberry"); replica2.add("pear"); // reconnect the stores crdtStore1.connect(crdtStore2);
replica1.iterator().forEachRemaining(el -> System.out.printf("%s",el)); }catch(Error e){ throw e; } }}Exception in thread "main" java.lang.AssertionError: applySubscript should have elements to use in Field{this}[Field{CompletableCache}[Field{completable}[Field{operators}[Field{internal}[Field{reactivex}[io]]]]]] at daikon.VarInfoName.applySubscript(VarInfoName.java:1998) at daikon.VarInfo.make_subscript(VarInfo.java:4112) at daikon.derive.binary.SequenceScalarSubscript.makeVarInfo(SequenceScalarSubscript.java:106) at daikon.derive.Derivation.getVarInfo(Derivation.java:80) at daikon.PptTopLevel.derive(PptTopLevel.java:867) at daikon.PptTopLevel.create_derived_variables(PptTopLevel.java:1493) at daikon.Daikon.init_ppt(Daikon.java:1787) at daikon.FileIO.read_data_trace_record(FileIO.java:1574) at daikon.FileIO.read_data_trace_file(FileIO.java:1434) at daikon.FileIO.read_data_trace_files(FileIO.java:973) at daikon.FileIO.read_data_trace_files(FileIO.java:955) at daikon.Daikon.process_data(Daikon.java:2256) at daikon.Daikon.mainHelper(Daikon.java:773) at daikon.Daikon.main(Daikon.java:658)<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<groupId>crdtTest</groupId> <artifactId>crdt</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging>
<name>crdt</name> <url>http://maven.apache.org</url>
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerargs> <arg>-g:source,lines,vars</arg> </compilerargs> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins></build>
<dependencies> <dependency> <groupId>com.netopyr.wurmloch</groupId> <artifactId>wurmloch-crdt</artifactId> <version>0.1.0</version> </dependency> </dependencies></project>
javac -cp .:wurmloch-crdt-0.1.0.jar:commons-lang3-3.5.jar:javaslang-2.0.5.jar:reactive-streams-1.0.0.jar:rxjava-2.0.5.jar -g Gset.javajava -cp .:wurmloch-crdt-0.1.0.jar:commons-lang3-3.5.jar:javaslang-2.0.5.jar:reactive-streams-1.0.0.jar:rxjava-2.0.5.jar Gset--
You received this message because you are subscribed to the Google Groups "Daikon discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to daikon-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/daikon-discuss/3be8742b-2b49-402b-b0be-902fed51fcaco%40googlegroups.com.