ns-usbloader icon indicating copy to clipboard operation
ns-usbloader copied to clipboard

[BUG]Cannot Select Files to upload

Open kriodoxis opened this issue 4 years ago • 7 comments

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

Information about environment (mandatory):

  • OS: Windows 10 x64
  • Java version: java version "1.8.0_301" Java(TM) SE Runtime Environment (build 1.8.0_301-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

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

kriodoxis avatar Oct 07 '21 01:10 kriodoxis

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 :)

developersu avatar Oct 07 '21 10:10 developersu

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

kriodoxis avatar Oct 07 '21 14:10 kriodoxis

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

developersu avatar Oct 07 '21 21:10 developersu

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

Ly15663790883 avatar Dec 09 '21 11:12 Ly15663790883

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

gfacek avatar Apr 01 '23 15:04 gfacek

image

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

Milo5789 avatar May 19 '23 18:05 Milo5789

@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!

developersu avatar May 20 '23 14:05 developersu