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

The Report is not getting generated , Test run failed with java.lang.reflect.InaccessibleObjectException exception #552

Closed
dilip-tc opened this issue Sep 3, 2021 · 8 comments · Fixed by #553
Labels
bug Something isn't working

Comments

@dilip-tc
Copy link

dilip-tc commented Sep 3, 2021

Marathon 0.6.4

got the same issue as #548 , so upgraded Marathon from Marathon 0.6.2 to Marathon 0.6.4

Initially tried to run the sample app https://github.com/MarathonLabs/marathon/tree/develop/sample/android-app with the following marathon File, the test run failed with the java.lang.reflect.InaccessibleObjectException Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @2eb231a6

then ran Other project with similar marathon file using Marathon 0.6.4 , test run failed with same exception

Logs and reports
fullLog.txt
marathonFile.txt
output.zip

Devices :

  • Device: Oneplus
  • OS: Android 11
@dilip-tc dilip-tc added the bug Something isn't working label Sep 3, 2021
@Malinskiy
Copy link
Member

Hey @dilip-tc. Thanks for submitting the issue.
Can you please provide your JRE version?

@Malinskiy
Copy link
Member

Upstream issue: google/gson#1875

@dilip-tc
Copy link
Author

dilip-tc commented Sep 4, 2021

yes @Malinskiy , having JRE version "1.8.0_152"

@Malinskiy
Copy link
Member

Malinskiy commented Sep 4, 2021

Is that Oracle jre or something else?

@dilip-tc
Copy link
Author

dilip-tc commented Sep 4, 2021

yes @Malinskiy , it is Oracle jre
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.8.0_152-b16
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.8
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
java.version = 1.8.0_152
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.8
java.vm.vendor = Oracle Corporation
java.vm.version = 25.152-b16
os.arch = x86_64
os.name = Mac OS X
os.version = 10.15.7

@Malinskiy
Copy link
Member

@dilip-tc would you be able to verify if #553 fixes your issue?
there is also additional logging now in debug mode during the start of the test run to double-check which version of JRE you are using

@dilip-tc
Copy link
Author

dilip-tc commented Sep 6, 2021

yes @Malinskiy #553 fixes the issue , report is being generated without exception and the device-files is also being pulled ,
Thanks for the fixing the issue so quickly

@Malinskiy
Copy link
Member

No worries at all. I'll close this issue when the PR is merged. Cheers

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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants