You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dongmei Cao <do...@icann.org> on 2012/06/20 00:00:11 UTC

JSON issue when upgrading to 5.3.3 from 5.2.6

Hi,

After upgrading  the Tapestry to 5.3.3 from 5.2.6, we have been getting the
following exceptions. I know that it is because the client has the old
JavaScript in the browser cache. My question is whether there is an elegant
way to force the browsers to reload the JavaScript before the exception
happens. Thanks in advance!

org.apache.tapestry5.ioc.internal.OperationException: A JSONArray text must
start with '[' at character 1 of goButton []
     at 
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(Operati
onTrackerImpl.java:121)
     at 
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrack
erImpl.java:88) 
     at 
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThread
OperationTracker.java:87)
     at 
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121
) 


Dongmei



Re: JSON issue when upgrading to 5.3.3 from 5.2.6

Posted by Steve Eynon <st...@alienfactory.co.uk>.
See below for more details:

http://tapestry.apache.org/how-to-upgrade.html

http://tapestry.apache.org/configuration.html#Configuration-tapestry.applicationversion

http://tapestry.apache.org/templating-and-markup-faq.html#TemplatingandMarkupFAQ-WhydomyimagesandstylesheetsendupwithaweirdURLslike%7B%7B%2Fassets%2Feea17aee26bc0cae%2Fctx%2Flayout%2Flayout.css%7D%7D%3F

http://tapestry.apache.org/assets.html#Assets-AssetURLs

Steve.


On 20 June 2012 06:20, Howard Lewis Ship <hl...@gmail.com> wrote:
> Change your application version number.
>
> On Tue, Jun 19, 2012 at 3:00 PM, Dongmei Cao <do...@icann.org> wrote:
>
>> Hi,
>>
>> After upgrading  the Tapestry to 5.3.3 from 5.2.6, we have been getting
>> the following exceptions. I know that it is because the client has the old
>> JavaScript in the browser cache. My question is whether there is an elegant
>> way to force the browsers to reload the JavaScript before the exception
>> happens. Thanks in advance!
>>
>> *org.apache.tapestry5.ioc.internal.OperationException: A JSONArray text
>> must start with '[' at character 1 of goButton [] *
>> *     at
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121)
>> *
>> *     at
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88)
>> *
>> *     at
>> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
>> *
>> *     at
>> org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
>> *
>>
>>
>> Dongmei
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: JSON issue when upgrading to 5.3.3 from 5.2.6

Posted by Howard Lewis Ship <hl...@gmail.com>.
Change your application version number.

On Tue, Jun 19, 2012 at 3:00 PM, Dongmei Cao <do...@icann.org> wrote:

> Hi,
>
> After upgrading  the Tapestry to 5.3.3 from 5.2.6, we have been getting
> the following exceptions. I know that it is because the client has the old
> JavaScript in the browser cache. My question is whether there is an elegant
> way to force the browsers to reload the JavaScript before the exception
> happens. Thanks in advance!
>
> *org.apache.tapestry5.ioc.internal.OperationException: A JSONArray text
> must start with '[' at character 1 of goButton [] *
> *     at
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121)
> *
> *     at
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88)
> *
> *     at
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
> *
> *     at
> org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121)
> *
>
>
> Dongmei
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com