[325879] NPE in org.eclipse.jst.jsp.core.internal.java.XMLJSPRegionHelper.decodeRemainingRegions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/XMLJSPRegionHelper.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/XMLJSPRegionHelper.java
index 6ba3238..bdc6866 100644
--- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/XMLJSPRegionHelper.java
+++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/java/XMLJSPRegionHelper.java
@@ -273,7 +273,7 @@
 		if(regionList != null) {
 			ITextRegion region = regionList.get(start);
 			String text = sdRegion.getFullText();
-			if (text != null && region.getStart() <= text.length())
+			if (text != null && region != null && region.getStart() <= text.length())
 				fTranslator.decodeScriptBlock(text.substring(region.getStart(), text.length()), 0);
 		}
 	}