These are warnings, the issue is not with GD Stash but with the .dbr records. You could argue the issue is that the tool even cares about them instead of identifying them as nonsense / placeholders, but it is not that smart
It will not affect the import at all, as they are not relevant data for GD (the game) and GD Stash considers these warnings, i.e. ignores the issue it encountered.
I might take a closer look at this once we get the next expansion. Chances are by then I need some actual changes, and at that time maybe I tell the tool to ignore these records instead of complaining about them (or they are gone again, they did not appear to exist before either).
java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
at org.gdstash.file.GDMappedByteBuffer.setPosition(GDMappedByteBuffer.java:85)
at org.gdstash.file.ARCDecompress.getFileParts(ARCDecompress.java:117)
at org.gdstash.file.ARCDecompress.readFileInfo(ARCDecompress.java:186)
at org.gdstash.file.ARCDecompress.decompressARCBuffer(ARCDecompress.java:552)
at org.gdstash.file.ARCDecompress.decompressARC(ARCDecompress.java:521)
at org.gdstash.file.ARCDecompress.decompress(ARCDecompress.java:509)
at org.gdstash.file.ARCList.decompress(ARCList.java:116)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:148)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:80)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.swing.ImageIcon@7fc9bc29 java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
at org.gdstash.file.GDMappedByteBuffer.setPosition(GDMappedByteBuffer.java:85)
at org.gdstash.file.ARCDecompress.getFileParts(ARCDecompress.java:117)
at org.gdstash.file.ARCDecompress.readFileInfo(ARCDecompress.java:186)
at org.gdstash.file.ARCDecompress.decompressARCBuffer(ARCDecompress.java:552)
at org.gdstash.file.ARCDecompress.decompressARC(ARCDecompress.java:521)
at org.gdstash.file.ARCDecompress.decompress(ARCDecompress.java:509)
at org.gdstash.file.ARCList.decompress(ARCList.java:116)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:148)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:80)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.swing.ImageIcon@7fc9bc29 Extraction of C:\Spiele\steamapps\common\Grim Dawn\gdx2\resources\Text_EN.arc failed
javax.swing.ImageIcon@7fc9bc29 java.lang.NullPointerException
java.lang.NullPointerException
at org.gdstash.file.ARCDecompress.extractFiles(ARCDecompress.java:638)
at org.gdstash.file.ARCDecompress.decompressARCBuffer(ARCDecompress.java:553)
at org.gdstash.file.ARCDecompress.decompressARC(ARCDecompress.java:521)
at org.gdstash.file.ARCDecompress.decompress(ARCDecompress.java:509)
at org.gdstash.file.ARCList.decompress(ARCList.java:116)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:148)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:80)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.swing.ImageIcon@7fc9bc29 Extraction of C:\Spiele\steamapps\common\Grim Dawn\gdx2\resources\Text_EN.arc failed
javax.swing.ImageIcon@7fc9bc29 java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
at org.gdstash.file.GDMappedByteBuffer.setPosition(GDMappedByteBuffer.java:85)
at org.gdstash.file.ARCDecompress.getFileParts(ARCDecompress.java:117)
at org.gdstash.file.ARCDecompress.readFileInfo(ARCDecompress.java:186)
at org.gdstash.file.ARCDecompress.decompressARCBuffer(ARCDecompress.java:552)
at org.gdstash.file.ARCDecompress.decompressARC(ARCDecompress.java:521)
at org.gdstash.file.ARCDecompress.decompress(ARCDecompress.java:509)
at org.gdstash.file.ARCList.decompress(ARCList.java:116)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:148)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:80)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.swing.ImageIcon@7fc9bc29 Extraction of C:\Spiele\steamapps\common\Grim Dawn\gdx1\resources\Text_EN.arc failed
javax.swing.ImageIcon@7fc9bc29 java.lang.NullPointerException
java.lang.NullPointerException
at org.gdstash.file.ARCDecompress.extractFiles(ARCDecompress.java:638)
at org.gdstash.file.ARCDecompress.decompressARCBuffer(ARCDecompress.java:553)
at org.gdstash.file.ARCDecompress.decompressARC(ARCDecompress.java:521)
at org.gdstash.file.ARCDecompress.decompress(ARCDecompress.java:509)
at org.gdstash.file.ARCList.decompress(ARCList.java:116)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:148)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:80)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.swing.ImageIcon@7fc9bc29 Extraction of C:\Spiele\steamapps\common\Grim Dawn\gdx1\resources\Text_EN.arc failed
javax.swing.ImageIcon@7fc9bc29 java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;
at org.gdstash.file.GDMappedByteBuffer.setPosition(GDMappedByteBuffer.java:85)
at org.gdstash.file.ARCDecompress.getFileParts(ARCDecompress.java:117)
at org.gdstash.file.ARCDecompress.readFileInfo(ARCDecompress.java:186)
at org.gdstash.file.ARCDecompress.decompressARCBuffer(ARCDecompress.java:552)
at org.gdstash.file.ARCDecompress.decompressARC(ARCDecompress.java:521)
at org.gdstash.file.ARCDecompress.decompress(ARCDecompress.java:509)
at org.gdstash.file.ARCList.decompress(ARCList.java:116)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:148)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:80)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.swing.ImageIcon@7fc9bc29 Extraction of C:\Spiele\steamapps\common\Grim Dawn\resources\Text_EN.arc failed
javax.swing.ImageIcon@7fc9bc29 java.lang.NullPointerException
java.lang.NullPointerException
at org.gdstash.file.ARCDecompress.extractFiles(ARCDecompress.java:638)
at org.gdstash.file.ARCDecompress.decompressARCBuffer(ARCDecompress.java:553)
at org.gdstash.file.ARCDecompress.decompressARC(ARCDecompress.java:521)
at org.gdstash.file.ARCDecompress.decompress(ARCDecompress.java:509)
at org.gdstash.file.ARCList.decompress(ARCList.java:116)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:148)
at org.gdstash.ui.GDConfigPane$DBImportWorker.doInBackground(GDConfigPane.java:80)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
javax.swing.ImageIcon@7fc9bc29 Extraction of C:\Spiele\steamapps\common\Grim Dawn\resources\Text_EN.arc failed
Interesting, I do not get that error during import and none of my changes are related to it, but I did upgrade from Java 8 to 17 for the new version, 8 is getting long in the tooth and 17 is the current long term release. I suspect that this has something to do with it.
Can you switch to Java 17 and let me know if it works then? If you are on 17 or higher already, just let me know, no need for a switch then
Might go back to compiling with 8…. can upload a .jar here later today and you could see if that fixes it instead of switching to 17
I had the same errors (Extraction of …\Text_EN.arc failed) and I used Java8. I updated to Java 20 and this solved the problem Thanks for the tip, @mamba!
Installed latest java 20 as well and that seemed to indeed fix that problem!
Thanks for ur time and help!
The only thing poping up at the end now is the following:
(If that is of any help to you, thought I might as well add it):
javax.swing.ImageIcon@104c918d
Table GD_SKILL, ID records/skills/itemskillsgdx1/skillmodifiers/upgradedgdx1/_itempetmodifier_blank.dbr references missing ID records/skills/playerclass07/pets/modifier_caster_d110_runeofhagarrad.dbr in table GD_SKILL
javax.swing.ImageIcon@104c918d
Table GD_SKILL, ID records/skills/itemskillsgdx1/skillmodifiers/legendarygdx1/_itempetmodifier_blank.dbr references missing ID records/skills/playerclass07/pets/modifier_caster_d110_runeofhagarrad.dbr in table GD_SKILL
javax.swing.ImageIcon@104c918d
Table GD_SKILL, ID records/skills/itemskillsgdx1/skillmodifiers/monsterinfrequents/_itempetmodifier_blank.dbr references missing ID records/skills/playerclass07/pets/modifier_caster_d110_runeofhagarrad.dbr in table GD_SKILL
javax.swing.ImageIcon@104c918d
Table GD_SKILL, ID records/skills/itemskillsgdx1/skillmodifiers/upgradedgdx1/_itempetmodifier_blank.dbr references missing ID records/skills/playerclass07/pets/modifier_caster_d110_runeofhagarrad.dbr in table GD_SKILL
javax.swing.ImageIcon@104c918d
Table GD_SKILL, ID records/skills/itemskillsgdx1/skillmodifiers/legendarygdx1/_itempetmodifier_blank.dbr references missing ID records/skills/playerclass07/pets/modifier_caster_d110_runeofhagarrad.dbr in table GD_SKILL
javax.swing.ImageIcon@104c918d
Table GD_SKILL, ID records/skills/itemskillsgdx1/skillmodifiers/monsterinfrequents/_itempetmodifier_blank.dbr references missing ID records/skills/playerclass07/pets/modifier_caster_d110_runeofhagarrad.dbr in table GD_SKILL
Thanks, I am already aware, you can ignore all warnings.
The tool has warnings for unexpected issues with the .dbr files that are minor from the tool’s perspective. If you were a modder and this were messages for your mod, you might want to look into them, but other than that everyone can ignore them.
What you cannot ignore are errors, those are either issues caused by the code (most likely), like the one 1.7.x fixes, or because there is an issue in the .dbr file that either is severe enough that the import cannot proceed (highly unlikely) or severe enough that it would affect the tool working correctly with the imported data (more likely, but still rare)
In this particular case, all 5 messages are for .dbr files that I suspect Crate just uses as templates for ‘proper’ .dbr entries, i.e. I do not expect them to actually be referenced by anything in the game. The _blank in the filename kinda gives that away.
As GD Stash simply imports everything instead of navigating its way through all the references from a few starting points, such templates are being picked up along the way, resulting in potential warnings. As they are not referenced anywhere, they do not affect the operation however, because that, unlike the import, is navigating through the reference tree.
The only potential ‘risk’ is that you have access to items that could not drop in game.
what does GD stash say what java it uses?
(edit: you can also manually set the path to your wanted java.exe via the batch file, if the java install somehow doesnt change path or regentries)
eg:
Thanks, that is not so much a bug as a consequence of how I gather the different affixes. Each faction has one .dbr with three affixes, as it turns out they share some affixes instead of each one having unique ones, not sure that was always the case. At a minimum I did not notice it before. Two factions using the same affix results in the duplicate entries.
Fixed, but won’t release a new version over that just yet
jep, the exe seems to come with its own vm(?) based on 1.8.351 (get the same here)
if you click the jar file or run the bat file, it will use the jave runtime thats specified in your environment variables.