ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Wiesenfeld (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-14453) Issue with persistence when using JDK15
Date Wed, 31 Mar 2021 14:48:00 GMT
Emmanuel Wiesenfeld created IGNITE-14453:
--------------------------------------------

             Summary: Issue with persistence when using JDK15
                 Key: IGNITE-14453
                 URL: https://issues.apache.org/jira/browse/IGNITE-14453
             Project: Ignite
          Issue Type: Bug
          Components: persistence
    Affects Versions: 2.10
         Environment: Apache Ignite with openJDK-15 (java version 15.0.1)
            Reporter: Emmanuel Wiesenfeld


When using the following code:

 
{code:java}
IgniteConfiguration cfg = new IgniteConfiguration();

//data storage configuration
DataStorageConfiguration storageCfg = new DataStorageConfiguration();

storageCfg.getDefaultDataRegionConfiguration().setPersistenceEnabled(true);


cfg.setDataStorageConfiguration(storageCfg);

Ignite ignite = Ignition.start(cfg);{code}
 

I get this upon startup:


{code:java}
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){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message