newtonandebe / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

Error connecting ODK Aggregate on Appengine to Fusion Table #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upload Form to ODK Aggregate on AppEngine
2. Add Fusion Table connection
3. On final step Java error received

What is the expected output? What do you see instead?

Expect to be forwarded to Fusion Table.  Instead receive error: 
Uncaught exception from servlet
>>> java.io.IOException
>>>        at
>>>
>>> org.odk.aggregate.servlet.FusionTableServlet.doGet(FusionTableServlet.java:
>>> 134)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>        at
>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
>>> 511)
>>>        at org.mortbay.jetty.servlet.ServletHandler
>>> $CachedChain.doFilter(ServletHandler.java:1166)
>>>        at
>>>
>>> 
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUplo
adFilter.java:
>>> 97)
>>>        at org.mortbay.jetty.servlet.ServletHandler
>>> $CachedChain.doFilter(ServletHandler.java:1157)
>>>        at
>>>
>>> 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter
.java:
>>> 35)
>>>        at org.mortbay.jetty.servlet.ServletHandler
>>> $CachedChain.doFilter(ServletHandler.java:1157)
>>>        at
>>>
>>> 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Transactio
nCleanupFilter.java:
>>> 43)
>>>        at org.mortbay.jetty.servlet.ServletHandler
>>> $CachedChain.doFilter(ServletHandler.java:1157)
>>>        at
>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
>>> 388)
>>>        at
>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
>>> 216)
>>>        at
>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
>>> 182)
>>>        at
>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
>>> 765)
>>>        at
>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
>>> 418)
>>>        at
>>>
>>> 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandle
rMap.java:
>>> 238)
>>>        at
>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
>>> 152)
>>>        at org.mortbay.jetty.Server.handle(Server.java:326)
>>>        at
>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
>>> 542)
>>>        at org.mortbay.jetty.HttpConnection
>>> $RequestHandler.headerComplete(HttpConnection.java:923)
>>>        at
>>>
>>> 
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestPa
rser.java:
>>> 76)
>>>        at
>>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>>>        at
>>>
>>> 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(Jet
tyServletEngineAdapter.java:
>>> 135)
>>>        at
>>> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
>>> 261)
>>>        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
>>> $6.handleBlockingRequest(RuntimePb.java:8495)
>>>        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
>>> $6.handleBlockingRequest(RuntimePb.java:8493)
>>>        at
>>>
>>> 
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplica
tionHandler.java:
>>> 24)
>>>        at
>>> com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
>>> 435)
>>>        at
>>> com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:
>>> 572)
>>>        at com.google.tracing.TraceContext$TraceContextRunnable
>>> $1.run(TraceContext.java:448)
>>>        at com.google.tracing.TraceContext.runInContext(TraceContext.java:
>>> 688)
>>>        at com.google.tracing.TraceContext
>>>
>>> 
$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
>>> 326)
>>>        at com.google.tracing.TraceContext
>>> $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
>>> 318)
>>>        at com.google.tracing.TraceContext
>>> $TraceContextRunnable.run(TraceContext.java:446)
>>>        at
>>>
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
>>> 1110)
>>>        at java.util.concurrent.ThreadPoolExecutor
>>> $Worker.run(ThreadPoolExecutor.java:603)
>>>        at java.lang.Thread.run(Thread.java:636)
>>>
>>> Unexpected exception from servlet: java.io.IOException

What version of the product are you using? On what operating system?

v0.9.4

Please provide any additional information below.

Form that causes error is attached.  Other sample form is able to connect. 
Connecting to google spreadsheets works, and downloading KML to google earth 
also works.

Original issue reported on code.google.com by adothomp...@gmail.com on 8 Dec 2010 at 10:53

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in Revision 8d5e3823c0 

The problem was the dashes in the form id. If you don't want to wait for the 
next release just remove the dashes and you should be fine.

Original comment by wbrune...@gmail.com on 10 Dec 2010 at 2:54