Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sindice - JSONObject["explicit_content"] not found #103

Open
kolen opened this issue Nov 30, 2014 · 0 comments
Open

Sindice - JSONObject["explicit_content"] not found #103

kolen opened this issue Nov 30, 2014 · 0 comments

Comments

@kolen
Copy link

kolen commented Nov 30, 2014

When trying to reconcile against Sindice, I always get JSONObject["explicit_content"] not found error. When both specifying domain or not.

Refine 2.6-beta.1
RDF extension 0.8.0

18:34:34.388 [..ctReconciliationService] error reconciling 'Faith and the Muse' (27835ms)
java.lang.RuntimeException: error reconciling Faith and the Muse using Sindice
    at org.deri.grefine.reconcile.sindice.SindiceService.reconcile(SindiceService.java:90)
    at org.deri.grefine.reconcile.model.AbstractReconciliationService.reconcile(AbstractReconciliationService.java:48)
    at org.deri.grefine.reconcile.ServiceRegistry.multiReconcile(ServiceRegistry.java:117)
    at org.deri.grefine.reconcile.GRefineServiceManager.multiReconcile(GRefineServiceManager.java:94)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:/Users/kolen/Library/Application%20Support/OpenRefine/extensions/rdf-extension/MOD-INF/controller.js:204)
    at org.mozilla.javascript.gen.c2.call(file:/Users/kolen/Library/Application%20Support/OpenRefine/extensions/rdf-extension/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:/Users/kolen/Library/Application%20Support/OpenRefine/extensions/rdf-extension/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.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: org.json.JSONException: JSONObject["explicit_content"] not found.
    at org.json.JSONObject.get(JSONObject.java:406)
    at org.json.JSONObject.getJSONArray(JSONObject.java:482)
    at org.deri.grefine.reconcile.sindice.SindiceBroker.getModelForUrl(SindiceBroker.java:65)
    at org.deri.grefine.reconcile.sindice.SindiceService.reconcile(SindiceService.java:78)
    ... 45 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant