typetools / typetools/checker-framework
Checker Framework always crashes on all Windows boxes in my team
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
Dear all,
The Checker Framework fails in our project on all Windows boxes, while it runs fine on MacOS and Linux. Any idea who to fix this? Currently have we deactivated Checker.
End of remainingJdkStubFilesJar for KeyForAnnotatedTypeFactory from
[file:/c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar](file:///c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar).
Contents of
[file:/c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar](file:///c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar):
error: Error when invoking constructor
org.checkerframework.checker.nullness.KeyForAnnotatedTypeFactory(class
org.checkerframework.common.basetype.BaseTypeChecker) on args
[org.checkerframework.checker.nullness.KeyForSubchecker@cb2d73]; cause:
Cannot open the jar file
[file:/c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar](file:///c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar)
; The Checker Framework crashed. Please report the crash. Version:
Checker Framework 3.47.0.
Exception: org.checkerframework.javacutil.BugInCF: Cannot open the
jar file
[file:/c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar](file:///c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar);
org.checkerframework.javacutil.BugInCF: Cannot open the jar file
[file:/c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar](file:///c:/opt/mavencache/org/checkerframework/checker/3.47.0/checker-3.47.0.jar)
Hope you can help.
Bye,
Oliver
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash on Windows with Checker Framework 3.47.0 and the Maven-cached checker-3.47.0.jar shown in the report. Start by investigating why the jar cannot be opened during KeyForAnnotatedTypeFactory initialization; done means the reported project runs without the Checker Framework crashing on Windows while preserving the existing MacOS and Linux behavior.
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