java.lang.RuntimeException

Error unpacking embedded DB

Solutions on the web16447

  • via JIRA by Matthew Foemmel, 1 year ago
    db error []
  • via Google Groups by Dustin Norlander, 1 year ago
    db error [assertion db/jsobj.h:1660]
  • Stack trace

    • java.lang.RuntimeException: Error unpacking embedded DB at ch.vorburger.mariadb4j.DB.unpackEmbeddedDb(DB.java:307) at ch.vorburger.mariadb4j.StartSimulatedForAllPlatformsTest.checkPlatformStart(StartSimulatedForAllPlatformsTest.java:63) at ch.vorburger.mariadb4j.StartSimulatedForAllPlatformsTest.simulatedStartOSX(StartSimulatedForAllPlatformsTest.java:53) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) 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:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: java.io.FileNotFoundException: /tmp/MariaDB4j/base/bin/mysqld (Text file busy) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:360) at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:319) at org.apache.commons.io.FileUtils.copyToFile(FileUtils.java:1552) at org.apache.commons.io.FileUtils.copyInputStreamToFile(FileUtils.java:1528) at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1478) at ch.vorburger.mariadb4j.Util.extractFromClasspathToFile(Util.java:133) at ch.vorburger.mariadb4j.DB.unpackEmbeddedDb(DB.java:299) ... 31 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    93 times, 1 week ago
    82 times, 1 month ago
    Once, 1 month ago
    216 times, 3 months ago
    Once, 4 months ago
    166 more bugmates