This commit is contained in:
Konloch 2021-07-27 01:25:42 -07:00
parent f22a5b9196
commit 938170b97b

View file

@ -320,7 +320,7 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File
}
//view classes
if (MiscUtils.getFileHeaderMagicNumber(content).equalsIgnoreCase("cafebabe")
if (content != null && MiscUtils.getFileHeaderMagicNumber(content).equalsIgnoreCase("cafebabe")
|| name.endsWith(".class"))
{
try