Created
October 24, 2021 12:54
-
-
Save justin2004/1810349a46b3e8a19c18a80825611831 to your computer and use it in GitHub Desktop.
Clojure -- java.lang.AbstractMethodError
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mycompany.app; | |
import org.apache.jena.sparql.expr.NodeValue; | |
import org.apache.jena.sparql.expr.nodevalue.NodeValueString; | |
import org.apache.jena.sparql.function.FunctionBase1 ; | |
public class App extends FunctionBase1 | |
{ | |
public NodeValue exec(NodeValue v) | |
{ | |
return new NodeValueString("done"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns datething.core | |
(:gen-class | |
:extends org.apache.jena.sparql.function.FunctionBase1)) | |
(defn exec ^org.apache.jena.sparql.expr.NodeValue [^org.apache.jena.sparql.expr.NodeValue v] | |
(new org.apache.jena.sparql.expr.nodevalue.NodeValueString | |
"done")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[qtp2048537720-20] WARN org.apache.jena.fuseki.Fuseki - [1] RC = 500 : 'org.apache.jena.sparql.expr.NodeValue org.apache.jena.sparql.function.FunctionBase1.exec(org.apache.jena.sparql.expr.NodeValue)' | |
java.lang.AbstractMethodError: 'org.apache.jena.sparql.expr.NodeValue org.apache.jena.sparql.function.FunctionBase1.exec(org.apache.jena.sparql.expr.NodeValue)' | |
at datething.core.exec(Unknown Source) | |
at org.apache.jena.sparql.function.FunctionBase1.exec(FunctionBase1.java:53) | |
at org.apache.jena.sparql.function.FunctionBase.exec(FunctionBase.java:64) | |
at datething.core.exec(Unknown Source) | |
at org.apache.jena.sparql.function.FunctionBase.exec(FunctionBase.java:47) | |
at datething.core.exec(Unknown Source) | |
at org.apache.jena.sparql.expr.E_Function.evalSpecial(E_Function.java:69) | |
at org.apache.jena.sparql.expr.ExprFunctionN.eval(ExprFunctionN.java:100) | |
at org.apache.jena.sparql.core.VarExprList.get(VarExprList.java:105) | |
at org.apache.jena.sparql.engine.iterator.QueryIterAssign.accept(QueryIterAssign.java:64) | |
at org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding.hasNextBinding(QueryIterProcessBinding.java:81) | |
at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114) | |
at org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:38) | |
at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114) | |
at org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:38) | |
at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114) | |
at org.apache.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:64) | |
at org.apache.jena.sparql.engine.ResultSetCheckCondition.hasNext(ResultSetCheckCondition.java:55) | |
at org.apache.jena.fuseki.servlets.SPARQLQueryProcessor.executeQuery(SPARQLQueryProcessor.java:328) | |
at org.apache.jena.fuseki.servlets.SPARQLQueryProcessor.execute(SPARQLQueryProcessor.java:276) | |
at org.apache.jena.fuseki.servlets.SPARQLQueryProcessor.executeWithParameter(SPARQLQueryProcessor.java:222) | |
at org.apache.jena.fuseki.servlets.SPARQLQueryProcessor.execute(SPARQLQueryProcessor.java:207) | |
at org.apache.jena.fuseki.servlets.ActionService.executeLifecycle(ActionService.java:58) | |
at org.apache.jena.fuseki.servlets.SPARQLQueryProcessor.execPost(SPARQLQueryProcessor.java:83) | |
at org.apache.jena.fuseki.servlets.ActionProcessor.process(ActionProcessor.java:34) | |
at org.apache.jena.fuseki.servlets.ActionBase.process(ActionBase.java:55) | |
at org.apache.jena.fuseki.servlets.ActionExecLib.execAction(ActionExecLib.java:108) | |
at org.apache.jena.fuseki.server.Dispatcher.dispatchAction(Dispatcher.java:118) | |
at org.apache.jena.fuseki.server.Dispatcher.process(Dispatcher.java:110) | |
at org.apache.jena.fuseki.server.Dispatcher.dispatch(Dispatcher.java:96) | |
at org.apache.jena.fuseki.servlets.FusekiFilter.doFilter(FusekiFilter.java:51) | |
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) | |
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1594) | |
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:506) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) | |
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1372) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) | |
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:463) | |
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) | |
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1294) | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) | |
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) | |
at org.eclipse.jetty.server.Server.handle(Server.java:562) | |
at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:406) | |
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:663) | |
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:398) | |
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282) | |
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319) | |
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) | |
at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894) | |
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038) | |
at java.base/java.lang.Thread.run(Thread.java:829) | |
[qtp2048537720-20] INFO org.apache.jena.fuseki.Fuseki - [1] 500 Server Error (1.105 s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# javap com/mycompany/app/App.class | |
Compiled from "App.java" | |
public class com.mycompany.app.App extends org.apache.jena.sparql.function.FunctionBase1 { | |
public com.mycompany.app.App(); | |
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# javap datething/core.class | |
public class datething.core extends org.apache.jena.sparql.function.FunctionBase1 { | |
public static {}; | |
public datething.core(); | |
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue); | |
public void checkBuild(java.lang.String, org.apache.jena.sparql.expr.ExprList); | |
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.engine.binding.Binding, org.apache.jena.sparql.expr.ExprList, java.lang.String, org.apache.jena.sparql.function.FunctionEnv); | |
public boolean equals(java.lang.Object); | |
public java.lang.String toString(); | |
public int hashCode(); | |
public org.apache.jena.sparql.expr.NodeValue exec(java.util.List, org.apache.jena.sparql.function.FunctionEnv); | |
public java.lang.Object clone(); | |
public static void main(java.lang.String[]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime (fuseki): | |
openjdk version "11.0.11" 2021-04-20 | |
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) | |
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing) | |
compiler: | |
openjdk version "11.0.7" 2020-04-14 | |
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu219.10) | |
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu219.10, mixed mode, sharing) | |
lein: | |
Leiningen 2.9.0 on Java 11.0.7 OpenJDK 64-Bit Server VM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment