-
Bug
-
Resolution: Done
-
Major
-
JDG 7.0.0 ER4, JDG 7.0.0 ER5
The org.infinispan.persistence.leveldb.config.ConfigurationTest.testXmlConfig test always fails on Windows with the following exception:
org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172) at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:864) at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:633) at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:622) at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:547) at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:238) at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:890) at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:635) at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:585) at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:451) at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:437) at org.infinispan.persistence.leveldb.config.ConfigurationTest.testXmlConfig(ConfigurationTest.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) at org.testng.SuiteRunner.access$000(SuiteRunner.java:38) at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382) at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.infinispan.persistence.spi.PersistenceException: java.lang.RuntimeException: org.fusesource.leveldbjni.internal.NativeDB$DBException: Invalid argument: not an sstable (bad magic number) at org.infinispan.persistence.leveldb.LevelDBStore.process(LevelDBStore.java:315) at org.infinispan.persistence.manager.PersistenceManagerImpl.preload(PersistenceManagerImpl.java:236) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168) ... 31 more Caused by: java.lang.RuntimeException: org.fusesource.leveldbjni.internal.NativeDB$DBException: Invalid argument: not an sstable (bad magic number) at org.fusesource.leveldbjni.internal.JniDBIterator.peekNext(JniDBIterator.java:89) at org.fusesource.leveldbjni.internal.JniDBIterator.next(JniDBIterator.java:98) at org.fusesource.leveldbjni.internal.JniDBIterator.next(JniDBIterator.java:45) at org.infinispan.persistence.leveldb.LevelDBStore.process(LevelDBStore.java:298) ... 37 more Caused by: org.fusesource.leveldbjni.internal.NativeDB$DBException: Invalid argument: not an sstable (bad magic number) at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200) at org.fusesource.leveldbjni.internal.NativeIterator.checkStatus(NativeIterator.java:121) at org.fusesource.leveldbjni.internal.NativeIterator.key(NativeIterator.java:169) at org.fusesource.leveldbjni.internal.JniDBIterator.peekNext(JniDBIterator.java:87) ... 40 more