Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
4.1.3, 4.1.5
-
None
-
None
-
XP Pro, maven-2.0.8, eclipse-3.3.1.1, ognl-272-snapshot
Description
All I am doing is extending Image component to animate some live transparent text on it.
The following code does not check for null on resource.
Therefore... for whatever reason my webapp is not parsing... it produces NPE.
There should be a check here.
I am researching the reason why getResource() returns null.
ParseSpecification.java:1625
private void parseDocument()
{
InputStream stream = null;
Resource resource = getResource();
boolean success = false;
try
{
if (_parser == null)
_parser = _parserFactory.newSAXParser();
URL resourceURL = resource.getResourceURL();