diff --git a/src/brut/androlib/res/data/value/ResArrayValue.java b/src/brut/androlib/res/data/value/ResArrayValue.java index 3cff2fa3..9a8a7186 100644 --- a/src/brut/androlib/res/data/value/ResArrayValue.java +++ b/src/brut/androlib/res/data/value/ResArrayValue.java @@ -59,6 +59,9 @@ public class ResArrayValue extends ResBagValue implements ResXmlSerializable { } public String getType() { + if (mItems.length == 0) { + return null; + } String type = mItems[0].getType(); if (! "string".equals(type) && ! "integer".equals(type)) { return null;