[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419859#comment-15419859
 ] 

Vignesh Raghunathan commented on ASTERIXDB-1546:
------------------------------------------------

In https://asterixdb.apache.org/dev-setup.html, step 4 under Eclipse-IDE setup 
already addresses this issue. 

> Exceptions thrown after launching AsterixHyracksIntegrationUtil.java
> --------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1546
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1546
>             Project: Apache AsterixDB
>          Issue Type: Bug
>         Environment: Eclipse IDE
> Version: Neon Release (4.6.0)
> Build id: 20160613-1800
>            Reporter: Vignesh Raghunathan
>
> After launching an AsterixDB instance using 
> AsterixHyracksIntegrationUtil.java, the following exceptions are thrown after 
> a query like abs(-1) is executed.
> 2016-07-25 16:03:00,412 WARN  [qtp1833789138-36] util.log 
> (JCLLoggerAdapter.java:warn(437)) - Error for /
> java.lang.ExceptionInInitializerError
>       at 
> org.apache.asterix.translator.LangExpressionToPlanTranslator.<init>(LangExpressionToPlanTranslator.java:177)
>       at 
> org.apache.asterix.translator.AqlExpressionToPlanTranslator.<init>(AqlExpressionToPlanTranslator.java:72)
>       at 
> org.apache.asterix.translator.AqlExpressionToPlanTranslatorFactory.createExpressionToPlanTranslator(AqlExpressionToPlanTranslatorFactory.java:31)
>       at 
> org.apache.asterix.api.common.APIFramework.compileQuery(APIFramework.java:208)
>       at 
> org.apache.asterix.aql.translator.QueryTranslator.rewriteCompileQuery(QueryTranslator.java:1938)
>       at 
> org.apache.asterix.aql.translator.QueryTranslator.handleQuery(QueryTranslator.java:2534)
>       at 
> org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:365)
>       at 
> org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(QueryTranslator.java:258)
>       at 
> org.apache.asterix.api.http.servlet.APIServlet.doPost(APIServlet.java:130)
>       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:546)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:228)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:956)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:411)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:188)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:891)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
>       at org.eclipse.jetty.server.Server.handle(Server.java:353)
>       at 
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:598)
>       at 
> org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1076)
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)
>       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
>       at 
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:427)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
>       at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalStateException: java.lang.ClassNotFoundException: 
> org.apache.asterix.generated.runtime.evaluators.functions.records.FieldAccessByIndexGen
>       at 
> org.apache.asterix.translator.util.FunctionCollection.getGeneratedFunctionDescriptorFactory(FunctionCollection.java:643)
>       at 
> org.apache.asterix.translator.util.FunctionCollection.<clinit>(FunctionCollection.java:618)
>       ... 31 more
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.asterix.generated.runtime.evaluators.functions.records.FieldAccessByIndexGen
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>       at 
> org.apache.asterix.translator.util.FunctionCollection.getGeneratedFunctionDescriptorFactory(FunctionCollection.java:639)
>       ... 32 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to