Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassLoader referenced unknown path: FileNotFoundException: /jacoco.exec: open failed: EROFS #180

Closed
hossain-khan opened this issue Jul 5, 2020 · 0 comments · Fixed by #181
Labels
bug Something isn't working
Milestone

Comments

@hossain-khan
Copy link
Owner

Started showing up after adding jacoco task in #177

com.blacklivesmatter.policebrutality W/System: ClassLoader referenced unknown path: /data/app/com.blacklivesmatter.policebrutality-2/lib/arm
com.blacklivesmatter.policebrutality W/System.err: java.io.FileNotFoundException: /jacoco.exec: open failed: EROFS (Read-only file system)
com.blacklivesmatter.policebrutality W/System.err:     at libcore.io.IoBridge.open(IoBridge.java:452)
com.blacklivesmatter.policebrutality W/System.err:     at java.io.FileOutputStream.<init>(FileOutputStream.java:87)
com.blacklivesmatter.policebrutality W/System.err:     at org.jacoco.agent.rt.internal_8ff85ea.output.FileOutput.openFile(FileOutput.java:67)
com.blacklivesmatter.policebrutality W/System.err:     at org.jacoco.agent.rt.internal_8ff85ea.output.FileOutput.startup(FileOutput.java:49)
com.blacklivesmatter.policebrutality W/System.err:     at org.jacoco.agent.rt.internal_8ff85ea.Agent.startup(Agent.java:122)
com.blacklivesmatter.policebrutality W/System.err:     at org.jacoco.agent.rt.internal_8ff85ea.Agent.getInstance(Agent.java:50)
com.blacklivesmatter.policebrutality W/System.err:     at org.jacoco.agent.rt.internal_8ff85ea.Offline.<clinit>(Offline.java:31)
com.blacklivesmatter.policebrutality W/System.err:     at com.blacklivesmatter.policebrutality.BrutalityIncidentApplication.$jacocoInit(BrutalityIncidentApplication.kt)
com.blacklivesmatter.policebrutality W/System.err:     at com.blacklivesmatter.policebrutality.BrutalityIncidentApplication.<init>(BrutalityIncidentApplication.kt)
com.blacklivesmatter.policebrutality W/System.err:     at java.lang.Class.newInstance(Native Method)
com.blacklivesmatter.policebrutality W/System.err:     at android.app.Instrumentation.newApplication(Instrumentation.java:996)
com.blacklivesmatter.policebrutality W/System.err:     at android.app.Instrumentation.newApplication(Instrumentation.java:981)
com.blacklivesmatter.policebrutality W/System.err:     at android.app.LoadedApk.makeApplication(LoadedApk.java:573)
com.blacklivesmatter.policebrutality W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4680)
com.blacklivesmatter.policebrutality W/System.err:     at android.app.ActivityThread.-wrap1(ActivityThread.java)
com.blacklivesmatter.policebrutality W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
com.blacklivesmatter.policebrutality W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
com.blacklivesmatter.policebrutality W/System.err:     at android.os.Looper.loop(Looper.java:148)
com.blacklivesmatter.policebrutality W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5417)
com.blacklivesmatter.policebrutality W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
com.blacklivesmatter.policebrutality W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
com.blacklivesmatter.policebrutality W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
com.blacklivesmatter.policebrutality W/System.err: Caused by: android.system.ErrnoException: open failed: EROFS (Read-only file system)
com.blacklivesmatter.policebrutality W/System.err:     at libcore.io.Posix.open(Native Method)
com.blacklivesmatter.policebrutality W/System.err:     at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
com.blacklivesmatter.policebrutality W/System.err:     at libcore.io.IoBridge.open(IoBridge.java:438)
com.blacklivesmatter.policebrutality W/System.err: 	... 21 more

Apply the fix mentioned in jacoco/jacoco#968

@hossain-khan hossain-khan added the bug Something isn't working label Jul 5, 2020
@hossain-khan hossain-khan added this to the v2.4 milestone Jul 5, 2020
@hossain-khan hossain-khan added this to To do in Incidents Project via automation Jul 5, 2020
Incidents Project automation moved this from To do to Done Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant