Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null pointer exceptions caused by showTextureFiles on nonexistent directory from prefs #1

Open
ash2x3zb9cy opened this issue Aug 25, 2020 · 0 comments

Comments

@ash2x3zb9cy
Copy link

VMTGen started crashing with NPEs upon opening. It ran fine a few times first. It seems the directory it's looking for textures in (which is stored in Preferences) no longer exists, and this possibility isn't being handled.
Issue was worked around by deleting the prefs using regedit.

$javaw.exe -jar ./VMTGen-1.2-BETA-rc1.jar
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.xyphos.vmtgen.GUI.showTextureFiles(GUI.java:2144)
        at com.xyphos.vmtgen.GUI.<init>(GUI.java:131)
        at com.xyphos.vmtgen.GUI$37.run(GUI.java:1824)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
@ash2x3zb9cy ash2x3zb9cy changed the title Null pointer exceptions started happening Null pointer exceptions caused by showTextureFiles on nonexistent directory from prefs Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant