File path editing for FileChooser may result in a crash.
See original GitHub issueApplication Log
Version: 4.10.0
OS: Windows 10 10.0 x86
JRE: 1.8.0_231 Oracle Corporation
GPU: GeForce MX150/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 460.79
[ExtensionModuleRepositoryService] Cached data is outdated.
[ExtensionModuleRepositoryService] Requesting new data from remote server.
[ConfigurationController] Incremental fonts are disabled
[VisUI] Warning, using invalid libGDX version for VisUI 1.4.8.
You are using libGDX 1.9.11 but you need 1.9.12. This may cause unexpected problems and runtime exceptions.
[GlobalShortcutHandler] Parsing shortcut file: hotkeys_default.txt
[ExtensionModuleRepositoryService] Data was loaded from remote server.
[text-red]Exception occurred:[] There is no input files to perform packing
[text-red]Stack trace:[]
java.lang.IllegalStateException: There is no input files to perform packing
at com.crashinvaders.texturepackergui.controllers.packing.processors.DataValidationProcessor.processPackage(DataValidationProcessor.java:25)
at com.crashinvaders.texturepackergui.utils.packprocessing.CompositePackProcessor.processPackage(CompositePackProcessor.java:20)
at com.crashinvaders.texturepackergui.utils.packprocessing.PackProcessingManager.lambda$execute$0(PackProcessingManager.java:60)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.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)
[text-red]Exception occurred:[] There is no input files to perform packing
[text-red]Stack trace:[]
java.lang.IllegalStateException: There is no input files to perform packing
at com.crashinvaders.texturepackergui.controllers.packing.processors.DataValidationProcessor.processPackage(DataValidationProcessor.java:25)
at com.crashinvaders.texturepackergui.utils.packprocessing.CompositePackProcessor.processPackage(CompositePackProcessor.java:20)
at com.crashinvaders.texturepackergui.utils.packprocessing.PackProcessingManager.lambda$execute$0(PackProcessingManager.java:60)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.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)
Packing is started
Packing............
Writing 2048x128: C:\projects\LibGDX\prototype\android\assets\grey.png
Packing is done
Total pack files size is 20468 bytes
1 pages
Total processing time: 0.38sec
Packing is started
Packing.........
Writing 512x256: C:\projects\LibGDX\prototype\android\assets\yellow.png
Packing is done
Total pack files size is 17187 bytes
1 pages
Total processing time: 0.10sec
Packing is started
Packing.........
Writing 512x256: C:\projects\LibGDX\prototype\android\assets\red.png
Packing is done
Total pack files size is 18149 bytes
1 pages
Total processing time: 0.10sec
Packing is started
Packing............
Writing 2048x128: C:\projects\LibGDX\prototype\android\assets\grey.png
Packing is done
Total pack files size is 20582 bytes
1 pages
Total processing time: 0.15sec
[text-red]Exception occurred:[] Output directory is not specified
[text-red]Stack trace:[]
java.lang.IllegalStateException: Output directory is not specified
at com.crashinvaders.texturepackergui.controllers.packing.processors.DataValidationProcessor.processPackage(DataValidationProcessor.java:22)
at com.crashinvaders.texturepackergui.utils.packprocessing.CompositePackProcessor.processPackage(CompositePackProcessor.java:20)
at com.crashinvaders.texturepackergui.utils.packprocessing.PackProcessingManager.lambda$execute$0(PackProcessingManager.java:60)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.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)
java.lang.IllegalArgumentException: actor cannot be null.
at com.badlogic.gdx.scenes.scene2d.ui.Table.getCell(Table.java:417)
at com.kotcrab.vis.ui.widget.MenuItem.getImageCell(MenuItem.java:352)
at com.kotcrab.vis.ui.widget.file.internal.AbstractSuggestionPopup.createMenuItem(AbstractSuggestionPopup.java:36)
at com.kotcrab.vis.ui.widget.file.internal.DirsSuggestionPopup$1$1.run(DirsSuggestionPopup.java:88)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:157)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:117)
at com.crashinvaders.texturepackergui.desktop.ApplicationStarter.start(ApplicationStarter.java:56)
at com.crashinvaders.texturepackergui.desktop.ApplicationStarter.main(ApplicationStarter.java:35)
How to produce the bug
- Create new atlas
- Open the browse window to choose the output directory
- Highlight all the text after the last backward slash in the path bar
- Press
backspace
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
hedzr/android-file-chooser - DirAdapter.java line 50 Crash
I have a crash on many devices. Firebase Crashlytics show this. Fatal Exception: android.content.res.Resources$NotFoundException: Resource ...
Read more >How to use path from FileChooser for image's absolute path?
What i want is when user choose one image with File Chooser to display it on screen. FileChooser fc = new FileChooser(); File...
Read more >Windows native File Dialog stays open after closing Audio Editor
I tested to delete the file chooser object (just by a timer) during the dialog is open: The dialog stays open. In the...
Read more >Redesign file chooser dialog : IDEA-101218
The issue that causes the file chooser dialog to be unresponsive when the file system is unresponsive or too large.
Read more >Firefox crashes when opening a file dialog - NixOS Discourse
Opening a file chooser from Firefox (saving a web page, opening a file, etc.) results in a crash. Starting Firefox with env -u...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in https://github.com/kotcrab/vis-ui/commit/aa0184c742d7b5607921901ceabf41460c460a34. The libgdx change is okay, it really worked by accident before.
All good, should be fixed in the next release.