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

Issue with persistence when using JDK15

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10
    • Fix Version/s: None
    • Component/s: persistence
    • Labels:
      None
    • Environment:

      Apache Ignite with openJDK-15 (java version 15.0.1)

    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      When using the following code:

       

      IgniteConfiguration cfg = new IgniteConfiguration();
      
      //data storage configuration
      DataStorageConfiguration storageCfg = new DataStorageConfiguration();
      
      storageCfg.getDefaultDataRegionConfiguration().setPersistenceEnabled(true);
      
      
      cfg.setDataStorageConfiguration(storageCfg);
      
      Ignite ignite = Ignition.start(cfg);

       

      I get this upon startup:

      SEVERE: Got exception while starting (will rollback startup routine).
      java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.FileWriteHandleImpl.mappingOffset" is null
              at org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.FileWriteHandleImpl.fsync(FileWriteHandleImpl.java:449)
              at org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.FileWriteHandleImpl.fsync(FileWriteHandleImpl.java:418)
              at org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.FileHandleManagerImpl.flush(FileHandleManagerImpl.java:269)
              at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.flush(FileWriteAheadLogManager.java:934)
              at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.tailPointer(GridCacheDatabaseSharedManager.java:1968)
              at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.startMemoryRestore(GridCacheDatabaseSharedManager.java:1908)
              at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1299)
              at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2112)
              at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1758)
              at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1143)
              at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:663)
              at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
              at org.apache.ignite.Ignition.start(Ignition.java:328)

        Attachments

        1. ignite-jdk16.sh
          3 kB
          Aaron Anderson

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wiesenfe Emmanuel Wiesenfeld
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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