eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Pressing CTRL-R cause Error

Open
#394 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 10h
Merged PRs (30d)
49

Description

After updating to the lastest version

eclipse.buildId=4.25.0.I20220831-1800

I get the following error:

```
An internal error occurred during: "Cache refresh".
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
```

Working is next to impossible!

[eclipse-config.zip](https://github.com/eclipse-jdt/eclipse.jdt.core/files/9567225/eclipse-config.zip)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error after updating to Eclipse build 4.25.0.I20220831-1800 and pressing CTRL-R, then inspect the attached eclipse-config.zip and the JRTUtil.getJrtSystem and walkModuleImage calls named in the error. Done means the cache refresh completes without the reported internal error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.