asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Jacobs <sjaco...@ucr.edu>
Subject Error Running Execution Tests in Eclipse
Date Mon, 30 Jan 2017 17:51:02 GMT
Hi all,
I am having an issue where I am unable to run execution tests within
eclipse almost 100% of the time. It seems to occur when the
LangExpressionToPlanTranslator is trying to register runtime functions, but
I can't seem to find any source of the error, or any place where it
actually fails. I was wondering if anyone else has seen a similar issue.
Included is the stack trace:

2017-01-30 09:50:20,737 WARN  [qtp1599566873-53] servlet.ServletHandler (
ServletHandler.java:doHandle(670)) - Error for /ddl

java.lang.ExceptionInInitializerError

at org.apache.asterix.translator.LangExpressionToPlanTranslator.<init>(
LangExpressionToPlanTranslator.java:184)

at org.apache.asterix.translator.AqlExpressionToPlanTranslator.<init>(
AqlExpressionToPlanTranslator.java:69)

at
org.apache.asterix.translator.AqlExpressionToPlanTranslatorFactory.createExpressionToPlanTranslator(
AqlExpressionToPlanTranslatorFactory.java:31)

at org.apache.asterix.api.common.APIFramework.compileQuery(
APIFramework.java:184)

at
org.apache.asterix.app.translator.QueryTranslator.rewriteCompileInsertUpsert(
QueryTranslator.java:1982)

at
org.apache.asterix.app.translator.QueryTranslator.handleInsertUpsertStatement(
QueryTranslator.java:1877)

at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(
QueryTranslator.java:353)

at org.apache.asterix.app.translator.QueryTranslator.compileAndExecute(
QueryTranslator.java:271)

at org.apache.asterix.api.http.servlet.RESTAPIServlet.handleRequest(
RESTAPIServlet.java:210)

at org.apache.asterix.api.http.servlet.DDLAPIServlet.handleRequest(
DDLAPIServlet.java:1)

at org.apache.asterix.api.http.servlet.RESTAPIServlet.doPost(
RESTAPIServlet.java:172)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583
)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(
SessionHandler.java:224)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
ContextHandler.java:1180)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)

at org.eclipse.jetty.server.session.SessionHandler.doScope(
SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(
ContextHandler.java:1112)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(
ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
HandlerWrapper.java:134)

at org.eclipse.jetty.server.Server.handle(Server.java:524)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)

at org.eclipse.jetty.server.HttpConnection.onFillable(
HttpConnection.java:253)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(
AbstractConnection.java:273)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)

at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(
SelectChannelEndPoint.java:93)

at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(
ExecuteProduceConsume.java:303)

at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(
ExecuteProduceConsume.java:148)

at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(
ExecuteProduceConsume.java:136)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
QueuedThreadPool.java:671)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(
QueuedThreadPool.java:589)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.IllegalStateException: java.lang.ClassNotFoundException:
org.apache.asterix.runtime.evaluators.functions.records.FieldAccessByIndexDescriptor$_Gen

at
org.apache.asterix.translator.util.FunctionCollection.getGeneratedFunctionDescriptorFactory(
FunctionCollection.java:722)

at org.apache.asterix.translator.util.FunctionCollection.<clinit>(
FunctionCollection.java:697)

... 34 more

Caused by: java.lang.ClassNotFoundException:
org.apache.asterix.runtime.evaluators.functions.records.FieldAccessByIndexDescriptor$_Gen

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at
org.apache.asterix.translator.util.FunctionCollection.getGeneratedFunctionDescriptorFactory(
FunctionCollection.java:718)

... 35 more

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