Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16043

AssertionError in BinaryObjectBuilder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11
    • 2.13
    • binary
    • None

    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

          Activity

            People

              andreybell Andrey Belyaev
              kazakov Ilya Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h