Skip to content

Instantly share code, notes, and snippets.

@sonOfRa
Created April 8, 2020 10:49
Show Gist options
  • Save sonOfRa/3c1363d295173ce9ce92fd3a4325a63d to your computer and use it in GitHub Desktop.
Save sonOfRa/3c1363d295173ce9ce92fd3a4325a63d to your computer and use it in GitHub Desktop.
04-08 03:36:02.487: E/CoverageListener(9390): Failed to generate Emma/JaCoCo coverage.
04-08 03:36:02.487: E/CoverageListener(9390): java.lang.reflect.InvocationTargetException
04-08 03:36:02.487: E/CoverageListener(9390): at java.lang.reflect.Method.invoke(Native Method)
04-08 03:36:02.487: E/CoverageListener(9390): at androidx.test.internal.runner.listener.CoverageListener.generateCoverageReport(CoverageListener.java:101)
04-08 03:36:02.487: E/CoverageListener(9390): at androidx.test.internal.runner.listener.CoverageListener.instrumentationRunFinished(CoverageListener.java:70)
04-08 03:36:02.487: E/CoverageListener(9390): at androidx.test.internal.runner.TestExecutor.reportRunEnded(TestExecutor.java:92)
04-08 03:36:02.487: E/CoverageListener(9390): at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:65)
04-08 03:36:02.487: E/CoverageListener(9390): at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:392)
04-08 03:36:02.487: E/CoverageListener(9390): at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2189)
04-08 03:36:02.487: E/CoverageListener(9390): Caused by: java.io.FileNotFoundException: /sdcard/com.example.citest.AnotherInstrumentedTest#useAppContext.ec: open failed: EACCES (Permission denied)
04-08 03:36:02.487: E/CoverageListener(9390): at libcore.io.IoBridge.open(IoBridge.java:496)
04-08 03:36:02.487: E/CoverageListener(9390): at java.io.FileOutputStream.<init>(FileOutputStream.java:235)
04-08 03:36:02.487: E/CoverageListener(9390): at com.vladium.emma.rt.RT.dumpCoverageData(RT.java:50)
04-08 03:36:02.487: E/CoverageListener(9390): ... 7 more
04-08 03:36:02.487: E/CoverageListener(9390): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
04-08 03:36:02.487: E/CoverageListener(9390): at libcore.io.Linux.open(Native Method)
04-08 03:36:02.487: E/CoverageListener(9390): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
04-08 03:36:02.487: E/CoverageListener(9390): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
04-08 03:36:02.487: E/CoverageListener(9390): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
04-08 03:36:02.487: E/CoverageListener(9390): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255)
04-08 03:36:02.487: E/CoverageListener(9390): at libcore.io.IoBridge.open(IoBridge.java:482)
04-08 03:36:02.487: E/CoverageListener(9390): ... 9 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment