Version: 10.0.0-dev1.13
Build #: 19162
Build Date: 2011-Feb-09 09:15:26 AM
Operating Environment: Windows 7 (6.1, x86) / Cp1252 / en / US / Sun Microsystems Inc. 1.6.0_20-b02
Memory: Max=518,979,584; Total=67,788,800; Free=25,402,712; CPUs=4
1. In the files browser, right click on the mount and select Compress
2. in the dialog simply add .zip to the end of the directory and click compress
3. a null pointer exception is generated.
see attached
I noticed that I can compress other mounts that are created from subfolders within Documents, just not Documents.
I did some tests on the Windows 7 test machine. It turned out those 'My ...' folders are the root cause of the problem.
If you archive any of 'My Music', 'My Pictures' or 'My Videos' folders, and without 'Skip System Files' check box checked, the exception is thrown.
If 'Skip System Files' is checked, then exception won't be thrown and compress can proceed. This is also true to the 'Documents' folder, you can successfully compress the 'Documents' folder if 'Skip System Files' is checked.
I then tried same set of tests on my XP desktop, everything works even without 'Skip System Files' checked. It seems that those link folders on the Windows 7 box point to something or contain something that caused null pointer exception. Since the exception is obfuscated, it does not help at all. Is it possible to try a non-encoded-ADS on a Windows 7 machine?
I did some tests on the Windows 7 test machine. It turned out those 'My ...' folders are the root cause of the problem.
If you archive any of 'My Music', 'My Pictures' or 'My Videos' folders, and without 'Skip System Files' check box checked, the exception is thrown.
If 'Skip System Files' is checked, then exception won't be thrown and compress can proceed. This is also true to the 'Documents' folder, you can successfully compress the 'Documents' folder if 'Skip System Files' is checked.
I then tried same set of tests on my XP desktop, everything works even without 'Skip System Files' checked. It seems that those link folders on the Windows 7 box point to something or contain something that caused null pointer exception. Since the exception is obfuscated, it does not help at all. Is it possible to try a non-encoded-ADS on a Windows 7 machine?
I attached an unobfuscated message from win 7 as an image.
I attached an unobfuscated message from win 7 as an image.
Thanks for the unobfuscated message. It does help. The null pointer exception problem is fixed. Those 'My ...' folders are treated as hidden directories in Java, when File.listFiles() called on these objects, a null might be returned.
------ svn log ------
Sending src-rep\src\lib\aqua-common\com\aquafold\modules\components\zip\ArchiveUtil.java
Sending src-rep\src\lib\aqua-common\com\aquafold\modules\components\zip\TgzCompressDialog.java
Sending src-rep\src\lib\aqua-common\com\aquafold\modules\components\zip\ZipCompressDialog.java
Transmitting file data ...
Committed revision 19216.
Thanks for the unobfuscated message. It does help. The null pointer exception problem is fixed. Those 'My ...' folders are treated as hidden directories in Java, when File.listFiles() called on these objects, a null might be returned.
------ svn log ------
Sending src-rep\src\lib\aqua-common\com\aquafold\modules\components\zip\ArchiveUtil.java
Sending src-rep\src\lib\aqua-common\com\aquafold\modules\components\zip\TgzCompressDialog.java
Sending src-rep\src\lib\aqua-common\com\aquafold\modules\components\zip\ZipCompressDialog.java
Transmitting file data ...
Committed revision 19216.
Issue #5245 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
I noticed that I can compress other mounts that are created from subfolders within Documents, just not Documents.