You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Mike D Pilsbury (JIRA)" <ta...@jakarta.apache.org> on 2007/03/04 23:59:50 UTC

[jira] Updated: (TAPESTRY-1315) Context expression without period results in StringIndexOutOfBoundsException

     [ https://issues.apache.org/jira/browse/TAPESTRY-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike D Pilsbury updated TAPESTRY-1315:
--------------------------------------

    Summary: Context expression without period results in StringIndexOutOfBoundsException  (was: Context expression with period results in StringIndexOutOfBoundsException)

> Context expression without period results in StringIndexOutOfBoundsException
> ----------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1315
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1315
>             Project: Tapestry
>          Issue Type: Bug
>          Components: IoC Container
>    Affects Versions: 5.0
>         Environment: Tapestry 5.0.2, Windows XP
>            Reporter: Mike D Pilsbury
>            Priority: Minor
>
> A context expression that does not include at least one period (for example "context:/blah") results in a StringIndexOutOfBoundsException.
> "String index out of range: -1"
> # java.lang.String.substring(String.java:1768)
> # org.apache.tapestry.ioc.internal.util.LocalizedNameGenerator.<init>(LocalizedNameGenerator.java:68)
> # org.apache.tapestry.ioc.internal.util.AbstractResource.forLocale(AbstractResource.java:101)
> # org.apache.tapestry.internal.services.AssetSourceImpl.findRelativeAsset(AssetSourceImpl.java:93)
> # org.apache.tapestry.internal.services.AssetSourceImpl.findAsset(AssetSourceImpl.java:87)
> # org.example.myapp.components.PageStyle.setup(PageStyle.java:30)
> .
> .

-- 
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