[ 
https://issues.apache.org/jira/browse/SHINDIG-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791879#action_12791879
 ] 

Andreas Kuckartz commented on SHINDIG-1246:
-------------------------------------------

I installed the 1.1-BETA6 from yesterday and no longer get the "The json state 
file was not valid json" log entry. But the behavior has not changed.

I now see this in the catalina log when I click "reset all":

17.12.2009 12:03:32 org.apache.shindig.protocol.ApiServlet 
responseItemFromException
INFO: Returning a response error as result of a protocol exception

org.apache.shindig.protocol.ProtocolException: evil data has not been 
implemented yet
        at 
org.apache.shindig.social.sample.service.SampleContainerHandler.create(SampleContainerHandler.java:77)
        at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.apache.shindig.protocol.DefaultHandlerRegistry$MethodCaller.call(DefaultHandlerRegistry.java:474)
        at 
org.apache.shindig.protocol.DefaultHandlerRegistry$RestInvocationHandler.execute(DefaultHandlerRegistry.java:362)
        at 
org.apache.shindig.protocol.DefaultHandlerRegistry$RestInvocationWrapper.execute(DefaultHandlerRegistry.java:385)
        at 
org.apache.shindig.protocol.DataServiceServlet.handleSingleRequest(DataServiceServlet.java:159)
        at 
org.apache.shindig.protocol.DataServiceServlet.executeRequest(DataServiceServlet.java:108)
        at 
org.apache.shindig.protocol.DataServiceServlet.doPost(DataServiceServlet.java:82)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.shindig.auth.AuthenticationServletFilter.callChain(AuthenticationServletFilter.java:123)
        at 
org.apache.shindig.auth.AuthenticationServletFilter.doFilter(AuthenticationServletFilter.java:86)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
        at java.lang.Thread.run(Thread.java:636)



> Sample gadget contents no longer shown after "reset all" / Samples broken
> -------------------------------------------------------------------------
>
>                 Key: SHINDIG-1246
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1246
>             Project: Shindig
>          Issue Type: Bug
>    Affects Versions: 1.1-BETA5
>         Environment: Debian 64bit
>            Reporter: Andreas Kuckartz
>            Priority: Critical
>             Fix For: 1.1-BETA6
>
>
> When I click on "reset all" on this page the HelloWorld gadget is emptied and 
> I am no longer able to see any content in any gadget:
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> ***
> I noticed this:
> When I first load the URL
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> then I see the HelloWorld gadget content but the catalina log contains these 
> lines:
> INFO: Created a new document builder
> 14.12.2009 17:00:25 org.apache.shindig.protocol.ApiServlet 
> responseItemFromException
> INFO: Returning a response error as result of a protocol exception
> org.apache.shindig.protocol.ProtocolException: The json state file was not 
> valid json
>       at 
> org.apache.shindig.social.sample.service.SampleContainerHandler.create(SampleContainerHandler.java:73)
>       at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:616)
>       at 
> org.apache.shindig.protocol.DefaultHandlerRegistry$MethodCaller.call(DefaultHandlerRegistry.java:474)
>       at 
> org.apache.shindig.protocol.DefaultHandlerRegistry$RestInvocationHandler.execute(DefaultHandlerRegistry.java:362)
>       at 
> org.apache.shindig.protocol.DefaultHandlerRegistry$RestInvocationWrapper.execute(DefaultHandlerRegistry.java:385)
>       at 
> org.apache.shindig.protocol.DataServiceServlet.handleSingleRequest(DataServiceServlet.java:158)
>       at 
> org.apache.shindig.protocol.DataServiceServlet.executeRequest(DataServiceServlet.java:108)
>       at 
> org.apache.shindig.protocol.DataServiceServlet.doPost(DataServiceServlet.java:82)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.shindig.auth.AuthenticationServletFilter.callChain(AuthenticationServletFilter.java:123)
>       at 
> org.apache.shindig.auth.AuthenticationServletFilter.doFilter(AuthenticationServletFilter.java:86)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>       at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>       at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>       at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>       at java.lang.Thread.run(Thread.java:636)
> Caused by: org.json.JSONException: A JSONObject text must begin with '{' at 
> character 1 of <?xml version="1.0" encoding="UTF-8" ?>
> <!--
>  * Licensed to the Apache Software Foundation (ASF) under one
>  * or more contributor license agreements.  See the NOTICE file
>  * distributed with this work for additional information
>  * regarding copyright ownership.  The ASF licenses this file
>  * to you under the Apache License, Version 2.0 (the
>  * "License"); you may not use this file except in compliance
>  * with the License.  You may obtain a copy of the License at
>  *
>  *   http://www.apache.org/licenses/LICENSE-2.0
>  *
>  * Unless required by applicable law or agreed to in writing,
>  * software distributed under the License is distributed on an
>  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>  * KIND, either express or implied.  See the License for the
>  * specific language governing permissions and limitations
>  * under the License.
> -->
> <container>
>   <people>
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to