tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2516) ArrayIndexOutOfBoundsException when trying to report a template parsing error
Date Thu, 12 Nov 2015 11:00:14 GMT

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

Hudson commented on TAP5-2516:
------------------------------

FAILURE: Integrated in tapestry-trunk-freestyle #1535 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1535/])
TAP5-2516: Fix ArrayIndexOutOfBoundsException when a template resource (jochen.kemnade: rev
340257f5b1da777fb061760591d0ee48404ed365)
* tapestry-core/src/main/java/org/apache/tapestry5/internal/services/XMLTokenStream.java
* tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TemplateParserImplTest.java


> ArrayIndexOutOfBoundsException when trying to report a template parsing error
> -----------------------------------------------------------------------------
>
>                 Key: TAP5-2516
>                 URL: https://issues.apache.org/jira/browse/TAP5-2516
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>            Assignee: Jochen Kemnade
>            Priority: Minor
>             Fix For: 5.4
>
>
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
> 	at java.util.ArrayList.elementData(ArrayList.java:418) ~[na:1.8.0_72-internal]
> 	at java.util.ArrayList.get(ArrayList.java:431) ~[na:1.8.0_72-internal]
> 	at org.apache.tapestry5.internal.services.XMLTokenStream.token(XMLTokenStream.java:433)
~[tapestry-core-5.4-rc-1.jar:na]
> 	at org.apache.tapestry5.internal.services.XMLTokenStream.getLocation(XMLTokenStream.java:478)
~[tapestry-core-5.4-rc-1.jar:na]
> 	at org.apache.tapestry5.internal.services.SaxTemplateParser.parse(SaxTemplateParser.java:181)
~[tapestry-core-5.4-rc-1.jar:na]
> 	at org.apache.tapestry5.internal.services.TemplateParserImpl$1.invoke(TemplateParserImpl.java:61)
~[tapestry-core-5.4-rc-1.jar:na]
> 	at org.apache.tapestry5.internal.services.TemplateParserImpl$1.invoke(TemplateParserImpl.java:58)
~[tapestry-core-5.4-rc-1.jar:na]
> 	at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:82)
~[tapestry-ioc-5.4-rc-1.jar:na]
> 	... 158 common frames omitted
> {code}
> The exeption that we're trying to report is an IOException:
> {code}
> java.io.IOException: Cannot open a steam for a resource that references a directory inside
a JAR file (jar:file:/home/jochen/.gradle/caches/modules-2/files-2.1/org.apache.tapestry/tapestry-core/5.4-rc-1/94f01ef2bc48c66a8927cd814c885d218caab3fe/tapestry-core-5.4-rc-1.jar!/org/apache/tapestry5/corelib/components/Grid.tml).
> {code}



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

Mime
View raw message