tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-2102) ParseSpecification.java:1625 produces NPE
Date Sun, 09 Mar 2008 07:39:46 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576719#action_12576719
] 

Andreas Andreou commented on TAPESTRY-2102:
-------------------------------------------

Perhaps the jwc files are in the wrong location then? Can you attach a zip with a maven project
to recreate this?

> 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


Mime
View raw message