asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murtadha Hubail <hubail...@gmail.com>
Subject Re: ExecutionTest Error on Eclipse?
Date Wed, 11 May 2016 04:53:46 GMT
Same thing happens to me but with a different class not found (NumericCeilingDescriptor).

It happens almost eveytime I switch git branch and goes away only after ‘mvn clean install’.

Cheers,
Murtadha

> On May 10, 2016, at 9:16 PM, Taewoo Kim <wangsaeu@gmail.com> wrote:
> 
> @Yingyi:
> 
> The problem happens again. It's so strange. Anyway, the following is the
> error message that I see now.
> 
> 2016-05-10 21:14:29,766 WARN  [qtp502838712-47] util.log (
> JCLLoggerAdapter.java:warn(437)) - Error for /query
> 
> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.asterix.translator.util.FunctionCollection
> 
> 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:224)
> 
> at org.apache.asterix.aql.translator.QueryTranslator.rewriteCompileQuery(
> QueryTranslator.java:1961)
> 
> at org.apache.asterix.aql.translator.QueryTranslator.handleQuery(
> QueryTranslator.java:2527)
> 
> at org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(
> QueryTranslator.java:391)
> 
> at org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(
> QueryTranslator.java:254)
> 
> at org.apache.asterix.api.http.servlet.RESTAPIServlet.handleRequest(
> RESTAPIServlet.java:195)
> 
> at org.apache.asterix.api.http.servlet.QueryAPIServlet.handleRequest(
> QueryAPIServlet.java:1)
> 
> at org.apache.asterix.api.http.servlet.RESTAPIServlet.doGet(
> RESTAPIServlet.java:168)
> 
> at org.apache.asterix.api.http.servlet.QueryAPIServlet.doGet(
> QueryAPIServlet.java:1)
> 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
> 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.headerComplete(
> HttpConnection.java:1059)
> 
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
> 
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
> 
> 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)
> 
> testFile
> src/test/resources/runtimets/queries/external-indexing/leftouterjoin-rtree/leftouterjoin-rtree.3.query.aql
> raised an exception:
> 
> org.json.JSONException: A JSONObject text must begin with '{' at character 1
> 
> at org.json.JSONTokener.syntaxError(JSONTokener.java:410)
> 
> at org.json.JSONObject.<init>(JSONObject.java:179)
> 
> at org.json.JSONObject.<init>(JSONObject.java:402)
> 
> at org.apache.asterix.test.aql.TestExecutor.executeHttpMethod(
> TestExecutor.java:266)
> 
> at org.apache.asterix.test.aql.TestExecutor.executeQuery(
> TestExecutor.java:302)
> 
> at org.apache.asterix.test.aql.TestExecutor.executeTest(
> TestExecutor.java:512)
> 
> at org.apache.asterix.test.aql.TestExecutor.executeTest(
> TestExecutor.java:755)
> 
> at org.apache.asterix.test.runtime.ExecutionTest.test(ExecutionTest.java:106
> )
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> 
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> 
> at java.lang.reflect.Method.invoke(Method.java:497)
> 
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
> FrameworkMethod.java:47)
> 
> at org.junit.internal.runners.model.ReflectiveCallable.run(
> ReflectiveCallable.java:12)
> 
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(
> FrameworkMethod.java:44)
> 
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(
> InvokeMethod.java:17)
> 
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> 
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:70)
> 
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:50)
> 
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> 
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> 
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> 
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> 
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> 
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> 
> at org.junit.runners.Suite.runChild(Suite.java:127)
> 
> at org.junit.runners.Suite.runChild(Suite.java:26)
> 
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> 
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> 
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> 
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> 
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> 
> at org.junit.internal.runners.statements.RunBefores.evaluate(
> RunBefores.java:26)
> 
> at org.junit.internal.runners.statements.RunAfters.evaluate(
> RunAfters.java:27)
> 
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> 
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
> JUnit4TestReference.java:86)
> 
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
> TestExecution.java:38)
> 
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
> RemoteTestRunner.java:459)
> 
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
> RemoteTestRunner.java:675)
> 
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
> RemoteTestRunner.java:382)
> 
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
> RemoteTestRunner.java:192)
> 
> ...Unexpected!
> 
> Exception in thread "pool-10-thread-1" java.lang.NoClassDefFoundError:
> Could not initialize class
> org.apache.asterix.translator.util.FunctionCollection
> 
> 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:224)
> 
> at org.apache.asterix.aql.translator.QueryTranslator.rewriteCompileQuery(
> QueryTranslator.java:1961)
> 
> at
> org.apache.asterix.aql.translator.QueryTranslator.handleSubscribeFeedStatement(
> QueryTranslator.java:2414)
> 
> at org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(
> QueryTranslator.java:378)
> 
> at org.apache.asterix.aql.translator.QueryTranslator.compileAndExecute(
> QueryTranslator.java:254)
> 
> at
> org.apache.asterix.app.external.FeedWorkCollection$SubscribeFeedWork$SubscribeFeedWorkRunnable.run(
> FeedWorkCollection.java:93)
> 
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> 
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> 
> at java.lang.Thread.run(Thread.java:745)
> 
> Best,
> Taewoo
> 
> On Fri, May 6, 2016 at 9:42 AM, Yingyi Bu <buyingyi@gmail.com> wrote:
> 
>> All right, thanks!
>> 
>> Best,
>> Yingyi
>> 
>> On Fri, May 6, 2016 at 9:40 AM, Taewoo Kim <wangsaeu@gmail.com> wrote:
>> 
>>> Thanks Yingyi. I just tried to execute ExecutionTest again and I am not
>>> sure what happened. I could reproduce the error again and again
>> yesterday,
>>> now it's gone. So weird. :-) Anyway, if it happens again, I will post the
>>> stack trace.
>>> 
>>> Best,
>>> Taewoo
>>> 
>>> On Fri, May 6, 2016 at 9:33 AM, Yingyi Bu <buyingyi@gmail.com> wrote:
>>> 
>>>> Taewoo,
>>>> 
>>>>    Can you paste the error stack trace if any?
>>>>    Thanks!
>>>> 
>>>> Best,
>>>> Yingyi
>>>> 
>>>> On Fri, May 6, 2016 at 9:31 AM, Taewoo Kim <wangsaeu@gmail.com> wrote:
>>>> 
>>>>> Hello All,
>>>>> 
>>>>> Does anyone have the execution test errors on Eclipse? I just checked
>>> out
>>>>> the current master, compiled it on the command line, and imported it
>> on
>>>> the
>>>>> Eclipse. When I executed the ExecutionTest,  it hangs after failing
>>> No.0
>>>> -
>>>>> No.7 test (external-invalid-format test through external-indexing:
>>>>> typed_adapter). I tried to execute another single test, but it
>> doesn't
>>>>> allow me to.
>>>>> 
>>>>> Best,
>>>>> Taewoo
>>>>> 
>>>> 
>>> 
>> 


Mime
View raw message