ParseSpecification.java:1625 produces NPE
-----------------------------------------
Key: TAPESTRY-2102
URL: https://issues.apache.org/jira/browse/TAPESTRY-2102
Project: Tapestry
Issue Type: Bug
Affects Versions: 4.1.3
Environment: XP Pro, maven-2.0.8, eclipse-3.3.1.1, ognl-272-snapshot
Reporter: Kenneth William
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();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]