vassalengine / vassal

VASSAL, the open-source boardgame engine
https://vassalengine.org
GNU Lesser General Public License v2.1
424 stars 101 forks source link

[Fantasy Combat System] NullPointerException #13331

Closed uckelman closed 2 months ago

uckelman commented 4 months ago
ABR
Version 3.7.12
Reporter
Error Log 15024 bytes

Fantasy Combat System v0.1 3.7.12

java.lang.NullPointerException: null
 at java.base/java.io.File.(File.java:278)
 at java.desktop/sun.awt.X11.GtkFileDialogPeer.filenameFilterCallback(GtkFileDialogPeer.java:107)
 at java.desktop/sun.awt.X11.GtkFileDialogPeer.run(Native Method)
 at java.desktop/sun.awt.X11.GtkFileDialogPeer.showNativeDialog(GtkFileDialogPeer.java:195)
CodeScratcher commented 4 months ago

Hi, I'm the person who actually experienced this crash. I'm realizing I forgot to write a bug report. Here's a quick writeup, I can give more information when I get back home OS: Manjaro Linux Steps to reproduce: Create a chart window. Add a chart. Load an image. (probably more specific steps, but I'm not sure which ones lead to the crash)

CodeScratcher commented 4 months ago

I've managed to replicate it: It seems that the file was deleted but for some reason shows up in my "Recent files" tab. That's causing a NullPointerException. Try using Thunar File Manager as your default manager and you should be able to replicate it

BrentEaston commented 2 months ago

Hi, Thanks for the follow up, very useful..

The error is happening completely within the Linux Java code, there is no Vassal code involved, so there is nothing we can do about this. It is most likely a Java Bug and will potentially be fixed in some later or alternate version of Java.

Regards.