java.lang.NullPointerException when using recursive decipher and same output directory as input
neothematrix opened this issue · 3 comments
neothematrix commented
It probably doesn't matter it's not a good practice to decipher the files in the same directory, but just for the sake of testing I did it :-)
The command I run was:
java -jar hybrid_backup_sync_decipher_1.3.jar -i Documents -o Documents -r -v
The "Documents" directory structure is:
Documents
- SubDirectory1
--files--
- SubDirectory2
-SubSubDirectory1
-SubSubDirectory2
This is the error I got:
Enter in directory : SubDirectory2
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.NullPointerException
at qnapdecrypt.QNAPFileDecrypter.decipherMultipleFiles(QNAPFileDecrypter.java:203)
at qnapdecrypt.QNAPFileDecrypter.decipherMultipleFiles(QNAPFileDecrypter.java:223)
at qnapdecrypt.QNAPFileDecrypter.main(QNAPFileDecrypter.java:193)
... 5 more
Mikiya83 commented
neothematrix commented
Sorry for the late reply, for some reason I don't receive github notification email...
I just tested it, it works wonderfully now!
I noticed a small typo in the GUI panel, the title description (not the window title) says "Hybric" instead of "Hybrid", I know I'm picky :-D
Mikiya83 commented
Fix done in 1.3.2 (with small minor fixes)
Thanks for the report ! ;)