Remapping failes because of missing localisation.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the remapping run on Windows with the German locale, then trace the reported path through RemapperTask.extractRange, RangeExtractor.generateRangeMap, and Util.createUnit. The fix is complete when a 1.12-to-1.13 mapping updates files without the MissingResourceException or repeated missing-message warnings.
Written by the indexing model from the issue text.
Description
I am running a win 10 (1903) and the system lang is german. I tried to update the mapping of a 1.12 project (to 1.13 mappings). But it did not change any file so I checked the logs (by running it froim cmd)
Version: 0.1 (fatjar)
Error:
Missing resource : org/eclipse/jdt/internal/compiler/batch/messages.properties for locale de_DE
java.util.MissingResourceException: Can't find bundle for base name org.eclipse.jdt.internal.compiler.batch.messages, locale de_DE
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.eclipse.jdt.internal.compiler.batch.Main$ResourceBundleFactory.getBundle(Main.java:1294)
at org.eclipse.jdt.internal.compiler.batch.Main.relocalize(Main.java:4556)
at org.eclipse.jdt.internal.compiler.batch.Main.relocalize(Main.java:4550)
at org.eclipse.jdt.internal.compiler.batch.Main.<init>(Main.java:1499)
at org.eclipse.jdt.core.dom.ASTParser.getClasspath(ASTParser.java:238)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1193)
at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:812)
at net.minecraftforge.srg2source.util.Util.createUnit(Util.java:361)
at net.minecraftforge.srg2source.ast.RangeExtractor.generateRangeMap(RangeExtractor.java:165)
at net.minecraftforge.remapper.RemapperTask.extractRange(RemapperTask.java:128)
at net.minecraftforge.remapper.RemapperTask.runRemapMod_Thread(RemapperTask.java:46)
at net.minecraftforge.remapper.RemapperTask$1.run(RemapperTask.java:39)
at java.lang.Thread.run(Unknown Source)
Also log is full of these:
Warning: NLS missing message: WM_errors in: org.eclipse.core.internal.utils.messages
Warning: NLS missing message: WM_jobName in: org.eclipse.core.internal.utils.messages
Warning: NLS missing message: WM_nativeErr in: org.eclipse.core.internal.utils.messages
- Dominant language
- Java
- Stars
- 60
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from MinecraftForge/Srg2Source
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
MinecraftForge/Srg2Source#52 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
MinecraftForge/Srg2Source#33 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MinecraftForge/Srg2Source#30 ·
-
Static imports Open
Difficulty 3/5 1-2 days Newbie friendliness 38/100
MinecraftForge/Srg2Source#28 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
MinecraftForge/Srg2Source#23 ·
All issues in MinecraftForge/Srg2Source
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100