shindig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Dumont" <ddum...@us.ibm.com>
Subject Re: Server error when doing gadgets.io.makeRequest
Date Tue, 17 Jan 2012 19:10:06 GMT
This looks suspiciously like fallout from the recent dep change of xstream

Paul, have you been able to render gadgets?   I can't seem to render 
anything, the xhr to get the gadget info fails with a 500.



From:   Dan Dumont/Westford/IBM@Lotus
To:     dev@shindig.apache.org, 
Date:   01/17/2012 12:37 PM
Subject:        Server error when doing gadgets.io.makeRequest



Someone at work is running into this error, and I'm hoping someone might 
have run into it before or know's what's going on.
Could this be related to a recent change?  Perhaps some of the dependency 
upgrades?

The call is gadgets.io.makeRequest(url, callback, params), the url is 
http://api.myspace.com/opensearch/videos?format=xml&searchTerms=Colbert, 
params ar eObject { CONTENT_TYPE="DOM"} 

Error injecting constructor, java.lang.NoSuchMethodError: 
com.thoughtworks.xstream.mapper.AttributeMapper.&lt;init&gt;(Lcom/thoughtworks/xstream/mapper/Mapper;Lcom/thoughtworks/xstream/converters/ConverterLookup;Lcom/thoughtworks/xstream/converters/reflection/ReflectionProvider;)V
at 
org.apache.shindig.protocol.conversion.BeanXStreamConverter.&lt;init&gt;(BeanXStreamConverter.java:61)
while locating org.apache.shindig.protocol.conversion.BeanXStreamConverter
while locating org.apache.shindig.protocol.conversion.BeanConverter 
annotated with 
@com.google.inject.name.Named(value=shindig.bean.converter.xml)
for parameter 1 at 
org.apache.shindig.protocol.ApiServlet.setBeanConverters(ApiServlet.java:108)
while locating org.apache.shindig.protocol.JsonRpcServlet
Caused by: java.lang.NoSuchMethodError: 
com.thoughtworks.xstream.mapper.AttributeMapper.&lt;init&gt;(Lcom/thoughtworks/xstream/mapper/Mapper;Lcom/thoughtworks/xstream/converters/ConverterLookup;Lcom/thoughtworks/xstream/converters/reflection/ReflectionProvider;)V
at 
org.apache.shindig.social.core.util.xstream.XStream081Configuration.getConverterConfig(XStream081Configuration.java:346)
at 
org.apache.shindig.protocol.conversion.BeanXStreamConverter.&lt;init&gt;(BeanXStreamConverter.java:82)
at 
org.apache.shindig.protocol.conversion.BeanXStreamConverter$$FastClassByGuice$$937c7f96.newInstance(&lt;generated&gt;)
at 
com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
at 
com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
at 
com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at 
com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
at 
com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at 
com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at 
com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:83)
at 
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
at 
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75)
at 
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
at 
com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73)
at 
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:60)
at 
com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944)
at 
org.apache.shindig.common.servlet.InjectedServlet.init(InjectedServlet.java:55)
at org.apache.shindig.protocol.ApiServlet.init(ApiServlet.java:76)
at 
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1201)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1114)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:824)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message