Description
AssertionError in this code (run java with -ea key):
{{}}
import org.apache.ignite.Ignite; import org.apache.ignite.Ignition; import org.apache.ignite.binary.BinaryObjectBuilder; public class Ae { public static void main(String[] args) { try(Ignite ignite = Ignition.start()){ BinaryObjectBuilder builder = ignite.binary().builder(Ae.class.getName()).setField("w", "wewe"); String f = builder.getField("field"); System.out.println(f); } } }
Exception in thread "main" java.lang.AssertionError
at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.ensureReadCacheInit(BinaryObjectBuilderImpl.java:481)
at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.getField(BinaryObjectBuilderImpl.java:543)
at org.apache.ignite.examples.Ae.main(Ae.java:11)
{{}}
Attachments
Issue Links
- links to