developersu / ns-usbloader

Awoo Installer and GoldLeaf uploader of the NSPs (and other files), RCM payload injector, application for split/merge files.
GNU General Public License v3.0
1.87k stars 127 forks source link

[BUG]Cannot Select Files to upload #107

Open kriodoxis opened 3 years ago

kriodoxis commented 3 years ago

Describe the bug (mandatory) After openning the application, you cannot select a file to upload, nothing happens

Information about environment (mandatory):

Steps to reproduce Steps to reproduce the behavior:

  1. Open application
  2. Click on "Select Files"
  3. See error

Expected behavior Once you click the "Select Files" button, File Selection Dialog should appear on screen.

Screenshots and/or information from application log image

Did you see this issue in previous versions? No

Additional context Openning the application from console shows the error captured

developersu commented 3 years ago

Thanks for reporting! I'll check this.

As a workaround please run in console java -jar app.jar -c. It will clear settings and then you can continue using application as usual. Let me know if it doesn't help :)

kriodoxis commented 3 years ago

Further tests indicate that this happens when the last folder selected no longer exists this error is thrown.

developersu commented 3 years ago

Yeah.. There were #79 and #81 about the same thing and it's fixed.. or should be fixed already. And it looks good in code and it works well on my linux and win10. Maybe something wrong with particular JRE version (because I have quite a bit newer ones). Will check with the one you mentioned a bit later. Thanks =)

EDIT:spelling

Ly15663790883 commented 2 years ago

作为解决方法,请在控制台中运行java -jar app.jar -c。它将清除设置,然后您可以像往常一样继续使用应用程序。如果它没有帮助,请告诉我:)对我这里来说并没有解决,依然还是选择不了文件

gfacek commented 1 year ago

The Error is still there with v7. I had to do the trick with "java -jar app.jar -c" to reset the settings.

Milo5789 commented 1 year ago

image

Did I do right? Can't seem to work it around

developersu commented 1 year ago

@Milo5789 this command removes application settings. So app.jar should be replaced to jar file name you downloaded. E.g. ns-usbloader-7.0.jar. Also before executing this you have to change folder. If you saved jar file on your desktop, you have to do the following:

cd Desktop
java -jar ns-usbloader-7.0.jar -c

Hope it helps!