mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +02:00
[215863]] fix: NPE when Expanding Empty Zip File
This commit is contained in:
parent
1fc155188d
commit
a4e1f81b69
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
* Martin Oberhuber (Wind River) - Fix 154874 - handle files with space or $ in the name
|
||||
* Martin Oberhuber (Wind River) - [186640] Fix case sensitive issue comparing z/OS
|
||||
* Xuan Chen (IBM) - [191280] [dstore] Expand fails for folder "/folk" with 3361 children
|
||||
* Xuan Chen (IBM) - [215863]] NPE when Expanding Empty Zip File
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.dstore.universal.miners.filesystem;
|
||||
|
@ -1003,6 +1004,10 @@ public class FileClassifier extends Thread
|
|||
// get the contents of the virtual path within the archive
|
||||
children = mgr.getContents(archiveFile, virtualPath);
|
||||
|
||||
if (null == children)
|
||||
{
|
||||
return;
|
||||
}
|
||||
// go through each virtual child, and set the classification type
|
||||
for (int i = 0; i < children.length; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue