fadmaa/grefine-rdf-extension — Issue #42: DBpedia reconciliation
Author: xro87
Created: 2011-12-19 14:08:51+00:00
State: open

I'm actually using Google refine 2.5, Windows 7 and Google chrome as browser.
I have the following problem when I'm trying to use the Freebase reconciliation service:

15:04:23.645 [ command] Failed to guess cell types for load
{"q0":{"query":"Afghanistan","limit":3},"q1":{"query":"Albania","limit":3},"q2":{"query":"Algeria","limit":3},"q3":{"query":"American Samoa","limit":3},"q4":{"query":"Andorra","limit":3},"q5":{"query":"Angola","limit":3},"q6":{"query":"Antigua and Barbuda","limit":3},"q7":{"query":"Arab World","limit":3},"q8":{"query":"Argentina","limit":3},"q9":{"query":"Armenia","limit":3}} (187ms)
java.net.UnknownHostException: 4.standard-reconcile.dfhuynh.user.dev.freebaseapps.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at com.google.refine.commands.recon.GuessTypesOfColumnCommand.guessTypes(GuessTypesOfColumnCommand.java:175)
at com.google.refine.commands.recon.GuessTypesOfColumnCommand.doPost(GuessTypesOfColumnCommand.java:93)
at com.google.refine.RefineServlet.service(RefineServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
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 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 org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

And then this is what I get when I try to use DBpedia (created as explained on the website of RDF extension):

15:06:46.891 [ butterfly] GET /images/large-spinner.gif [main] (143246ms)
15:06:46.896 [ refine] POST /command/core/guess-types-of-column (5ms)
15:06:46.903 [ butterfly] POST /extension/rdf-extension/services/dbpedia [main] (7ms)
15:06:46.922 [ rdf_extension] recieving request for services/dbpedia (19ms)
15:06:46.923 [ rdf_extension] command is multi-reconcile (1ms)
15:06:46.923 [ rdf_extension] command is multi-reconcile, while service name is dbpedia (0ms)
15:06:47.433 [ org.mortbay.log] Error for /extension/rdf-extension/services/dbpedia (510ms)
java.lang.ExceptionInInitializerError
at com.hp.hpl.jena.sparql.core.NodeConst.(NodeConst.java:16)
at com.hp.hpl.jena.sparql.lang.ParserBase.(ParserBase.java:47)
at com.hp.hpl.jena.sparql.lang.ParserQueryBase.(ParserQueryBase.java:15)
at com.hp.hpl.jena.sparql.lang.sparql_10.SPARQLParser10Base.(SPARQLParser10Base.java:10)
at com.hp.hpl.jena.sparql.lang.sparql_10.SPARQLParser10.(SPARQLParser10.java:2180)
at com.hp.hpl.jena.sparql.lang.ParserSPARQL10.perform(ParserSPARQL10.java:77)
at com.hp.hpl.jena.sparql.lang.ParserSPARQL10.parse(ParserSPARQL10.java:39)
at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:129)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:72)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:43)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:31)
at com.hp.hpl.jena.query.QueryExecutionFactory.sparqlService(QueryExecutionFactory.java:341)
at com.google.refine.org.deri.reconcile.rdf.executors.RemoteQueryExecutor.sparql(RemoteQueryExecutor.java:31)
at com.google.refine.org.deri.reconcile.rdf.endpoints.PlainSparqlQueryEndpoint.reconcileEntities(PlainSparqlQueryEndpoint.java:32)
at com.google.refine.org.deri.reconcile.rdf.RdfReconciliationService.reconcile(RdfReconciliationService.java:69)
at com.google.refine.org.deri.reconcile.model.AbstractReconciliationService.reconcile(AbstractReconciliationService.java:48)
at com.google.refine.org.deri.reconcile.ServiceRegistry.multiReconcile(ServiceRegistry.java:116)
at com.google.refine.org.deri.reconcile.GRefineServiceManager.multiReconcile(GRefineServiceManager.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at org.mozilla.javascript.gen.c2._c5(file:/C:/Users/i069776/Documents/Google%20Refine/Repo/main/webapp/../../extensions/grefine-rdf-extension-0.6.0/grefine-rdf-extension-0.6.0/MOD-INF/controller.js:201)
at org.mozilla.javascript.gen.c2.call(file:/C:/Users/i069776/Documents/Google%20Refine/Repo/main/webapp/../../extensions/grefine-rdf-extension-0.6.0/grefine-rdf-extension-0.6.0/MOD-INF/controller.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c2.call(file:/C:/Users/i069776/Documents/Google%20Refine/Repo/main/webapp/../../extensions/grefine-rdf-extension-0.6.0/grefine-rdf-extension-0.6.0/MOD-INF/controller.js)
at edu.mit.simile.butterfly.ButterflyModuleImpl$Controller.process(ButterflyModuleImpl.java:399)
at edu.mit.simile.butterfly.ButterflyModuleImpl$Controller.run(ButterflyModuleImpl.java:377)
at org.mozilla.javascript.Context.call(Context.java:515)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
at edu.mit.simile.butterfly.ButterflyModuleImpl.processScript(ButterflyModuleImpl.java:650)
at edu.mit.simile.butterfly.ButterflyModuleImpl.process(ButterflyModuleImpl.java:427)
at edu.mit.simile.butterfly.Butterfly.service(Butterfly.java:516)
at com.google.refine.RefineServlet.service(RefineServlet.java:200)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:155)
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 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.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.xerces.impl.dv.DVFactoryException: Schema factory class org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl does not extend from SchemaDVFactory.
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.(XSDDatatype.java:210)
at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.(XSDDatatype.java:222)
at com.hp.hpl.jena.datatypes.xsd.impl.XSDFloat.(XSDFloat.java:44)
at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.(XSDDatatype.java:55)
... 60 more
15:06:47.434 [ org.mortbay.log] Nested in java.lang.ExceptionInInitializerError: (1ms)
org.apache.xerces.impl.dv.DVFactoryException: Schema factory class org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl does not extend from SchemaDVFactory.
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.(XSDDatatype.java:210)
at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.(XSDDatatype.java:222)
at com.hp.hpl.jena.datatypes.xsd.impl.XSDFloat.(XSDFloat.java:44)
at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.(XSDDatatype.java:55)
at com.hp.hpl.jena.sparql.core.NodeConst.(NodeConst.java:16)
at com.hp.hpl.jena.sparql.lang.ParserBase.(ParserBase.java:47)
at com.hp.hpl.jena.sparql.lang.ParserQueryBase.(ParserQueryBase.java:15)
at com.hp.hpl.jena.sparql.lang.sparql_10.SPARQLParser10Base.(SPARQLParser10Base.java:10)
at com.hp.hpl.jena.sparql.lang.sparql_10.SPARQLParser10.(SPARQLParser10.java:2180)
at com.hp.hpl.jena.sparql.lang.ParserSPARQL10.perform(ParserSPARQL10.java:77)
at com.hp.hpl.jena.sparql.lang.ParserSPARQL10.parse(ParserSPARQL10.java:39)
at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:129)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:72)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:43)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:31)
at com.hp.hpl.jena.query.QueryExecutionFactory.sparqlService(QueryExecutionFactory.java:341)
at com.google.refine.org.deri.reconcile.rdf.executors.RemoteQueryExecutor.sparql(RemoteQueryExecutor.java:31)
at com.google.refine.org.deri.reconcile.rdf.endpoints.PlainSparqlQueryEndpoint.reconcileEntities(PlainSparqlQueryEndpoint.java:32)
at com.google.refine.org.deri.reconcile.rdf.RdfReconciliationService.reconcile(RdfReconciliationService.java:69)
at com.google.refine.org.deri.reconcile.model.AbstractReconciliationService.reconcile(AbstractReconciliationService.java:48)
at com.google.refine.org.deri.reconcile.ServiceRegistry.multiReconcile(ServiceRegistry.java:116)
at com.google.refine.org.deri.reconcile.GRefineServiceManager.multiReconcile(GRefineServiceManager.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at org.mozilla.javascript.gen.c2._c5(file:/C:/Users/i069776/Documents/Google%20Refine/Repo/main/webapp/../../extensions/grefine-rdf-extension-0.6.0/grefine-rdf-extension-0.6.0/MOD-INF/controller.js:201)
at org.mozilla.javascript.gen.c2.call(file:/C:/Users/i069776/Documents/Google%20Refine/Repo/main/webapp/../../extensions/grefine-rdf-extension-0.6.0/grefine-rdf-extension-0.6.0/MOD-INF/controller.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c2.call(file:/C:/Users/i069776/Documents/Google%20Refine/Repo/main/webapp/../../extensions/grefine-rdf-extension-0.6.0/grefine-rdf-extension-0.6.0/MOD-INF/controller.js)
at edu.mit.simile.butterfly.ButterflyModuleImpl$Controller.process(ButterflyModuleImpl.java:399)
at edu.mit.simile.butterfly.ButterflyModuleImpl$Controller.run(ButterflyModuleImpl.java:377)
at org.mozilla.javascript.Context.call(Context.java:515)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
at edu.mit.simile.butterfly.ButterflyModuleImpl.processScript(ButterflyModuleImpl.java:650)
at edu.mit.simile.butterfly.ButterflyModuleImpl.process(ButterflyModuleImpl.java:427)
at edu.mit.simile.butterfly.Butterfly.service(Butterfly.java:516)
at com.google.refine.RefineServlet.service(RefineServlet.java:200)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:155)
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 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.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
15:06:47.444 [ command] Failed to guess cell types for load
{"q0":{"query":"Afghanistan","limit":3},"q1":{"query":"Albania","limit":3},"q2":{"query":"Algeria","limit":3},"q3":{"query":"American Samoa","limit":3},"q4":{"query":"Andorra","limit":3},"q5":{"query":"Angola","limit":3},"q6":{"query":"Antigua and Barbuda","limit":3},"q7":{"query":"Arab World","limit":3},"q8":{"query":"Argentina","limit":3},"q9":{"query":"Armenia","limit":3}} (10ms)
java.io.IOException: Server returned HTTP response code: 500 for URL: http://127.0.0.1:3333/extension/rdf-extension/services/dbpedia
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.google.refine.commands.recon.GuessTypesOfColumnCommand.guessTypes(GuessTypesOfColumnCommand.java:188)
at com.google.refine.commands.recon.GuessTypesOfColumnCommand.doPost(GuessTypesOfColumnCommand.java:93)
at com.google.refine.RefineServlet.service(RefineServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
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 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 org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

thank you in advance!