You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Martin Papy (JIRA)" <ji...@apache.org> on 2015/02/05 08:50:34 UTC

[jira] [Comment Edited] (TAP5-2448) Asset.getClientURL() throw NPE if the Asset is a Folder within a SubModule JAR file

    [ https://issues.apache.org/jira/browse/TAP5-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306794#comment-14306794 ] 

Martin Papy edited comment on TAP5-2448 at 2/5/15 7:49 AM:
-----------------------------------------------------------

By the way, I need to do this in order to populate a configuration file for a JavaScript application ( CKEditor ) and I did not face the issue in T5.3


was (Author: kheldar666):
By the way, I need to do this in order to populate a configuration file for a JavaScript application ( CKEditor )

> Asset.getClientURL() throw NPE if the Asset is a Folder within a SubModule JAR file
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-2448
>                 URL: https://issues.apache.org/jira/browse/TAP5-2448
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Martin Papy
>         Attachments: folder.zip
>
>
> If you inject in a Field and Asset and if this Asset is actually a Folder that is embedded into a JAR SubModule used by the main Tapestry WebApp then the method toClientURL() returns a NPE.
> The issue does not happen when the SubModule is not yet a JAR file. Exemple : when you are running Tomcat from Eclipse and let Eclipse manage the dependency ( I am using the Sysdeo plugin to add dependencies to the source folders of the SubModule instead of the JAR file. ).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)