You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Albert Tumanov (JIRA)" <de...@tapestry.apache.org> on 2008/08/13 13:58:44 UTC
[jira] Commented: (TAPESTRY-2102) ParseSpecification.java:1625
produces NPE
[ https://issues.apache.org/jira/browse/TAPESTRY-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622184#action_12622184 ]
Albert Tumanov commented on TAPESTRY-2102:
------------------------------------------
Maybe the cause is the same as in TAPESTRY-2581
> 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, 4.1.5
> Environment: XP Pro, maven-2.0.8, eclipse-3.3.1.1, ognl-272-snapshot
> Reporter: Kenneth William
> Attachments: MimedImage.java, MimedImage.jwc, TranparentTextImage.jwc, TransparentTextImage.java
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org