-
Notifications
You must be signed in to change notification settings - Fork 340
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
Cannot invoke o.e.j.i.c.u.JrtFileSystem.walkModuleImage() #1212
Comments
Having the same issue but on Linux with openjdk 17. |
The version from two months ago, |
@TBug001 @amwestrich Could you please provide more details (e.g. the full exception log) about this error? It's better to provide a sample project for us to reproduce the error. |
I see exactly the same issue in the new 2022-09 release of eclipse using openSUSE Leap and OpenJDK Runtime Environment 17.0.4+8 as soon as one of my Java projects start building. |
@amwestrich is correct. I downgraded Language Support for Java(TM) by Red Hat to older version v1.8.2022062904 and the problem goes away. I'm using VS Code on Windows 10 with jdk 17 |
Here is my configuration file. Can you help me see what's wrong? Now there is a problem with VScode. I need to use IDEA to write an algorithm problem, which is very troublesome `{ { |
The NPE above is the reason for the failure, it occurred when Java extension tried to parse your JDK info such as jrt-fs.jar, release. This issue seems related with the JDK installation. Could you provide more information about the JDK installation you use?
|
@testforstephen Windows10 JDK13 |
Usually, this folder should include a @TBug001 Could you check if |
I think I eventually reproduced the issue. If I manually delete the As far as I know, most of JDK vendors will include a |
The problem was solved according to your method. I re-downloaded a 13.0.2 JDK and copied its release file. Now it works properly. I don't know why the release file is missing, but I think I installed it three years ago via HTTP download |
The reason for the problem is the lack of release file. Thank you very much for testforstephen's kind answer! |
Here are steps how to get |
We want to know if it is rare for JDK builds to not contain "release" files. So can you tell us the affected JDK distribution and version? Where can we get it from? |
@testforstephen Now there is a new problem that will show up when I press "F5" to debug, I have to manually click the "Proceed" button to debug |
@TBug001 You can set the setting |
ok |
I use Java 11 from OpenSUSE Tumbleweed in WSL 2.0
|
@maresmar thanks for sharing your use case. Good to know that JDK in OpenSUSE doesn't contain |
I use Java 17 from OpenSUSE Tumbleweed (# VERSION="20220918)
.....
Name : java-17-openjdk-devel
Version : 17.0.4.0-2.1
Arch : x86_64
Vendor : openSUSE
....
Am 19.09.22 um 13:12 schrieb Jinbo Wang:
…
We want to know if it is rare for JDK builds to not contain "release"
files. So can you tell us the affected JDK distribution and version?
Where can we get it from?
// @amwestrich <https://github.com/amwestrich> @bib1963
<https://github.com/bib1963> @weberhofer
<https://github.com/weberhofer> @jadavis42
<https://github.com/jadavis42> @maresmar <https://github.com/maresmar>
—
Reply to this email directly, view it on GitHub
<#1212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZI7NNE4JT3NXNW6ENIHKFDV7BKCRANCNFSM6AAAAAAQEHDN5Q>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
In the meantime Java 11 and Java 17 have been updated for openSUSE Tumbleweed and should work nicely:
|
I can confirm that missing |
Type: Bug
I'm not much of a GitHub user, so let me briefly describe my problem.
I don't know since when I use VScode to open Java files, I will be prompted to use JDK17, but at this time, I can still use DEBUG. After a period of time, when I use it again, the DEBUG will not be able to use, and the following error will be displayed. I guess it is the problem of the plug-in "Debugger for Java", but I can't solve it after lowering the version.
Cannot invoke "org.eclipse.jdt.internal.compiler.util.JrtFileSystem.walkModuleImage(org.eclipse.jdt.internal.compiler.util.JRTUtil$JrtFileVisitor, int)" because the return value of "org.eclipse.jdt.internal.compiler.util.JRTUtil.getJrtSystem(java.io.File, String)" is null
Extension version: 0.44.0
VS Code version: Code 1.71.0 (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:36:10.600Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: