commit | 9600a7bc43bba71cc4ddfd553c81b4a1de26dabd | [log] [tgz] |
---|---|---|
author | gercan <gercan> | Sat Nov 08 20:42:14 2008 +0000 |
committer | gercan <gercan> | Sat Nov 08 20:42:14 2008 +0000 |
tree | f046da54910a7e95cfff581ccc2471e1034b2355 | |
parent | 024765fd01bfed882a1bb905f4443b125bfb5188 [diff] |
[241294] NPE guard for null properties
diff --git a/plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/Resolver.java b/plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/Resolver.java index fa71e33..26eacc9 100644 --- a/plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/Resolver.java +++ b/plugins/org.eclipse.jst.server.generic.core/src/org/eclipse/jst/server/generic/internal/xml/Resolver.java
@@ -96,6 +96,7 @@ } private int skipToProperty(String str,HashMap cache) { + if (str == null )return -1; int start = -1; int end = 0; String key=""; //$NON-NLS-1$