com.huawei.streaming.cql.exception.ParseException: ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by xiao321
, 1 year ago
ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.
via GitHub by xiao321
, 1 year ago
ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.
com.huawei.streaming.cql.exception.ParseException: ERROR CQL-04000: You have an error in your CQL syntax; check the manual that corresponds to your Streaming version for the right syntax to use near 'from' at line 1:8.
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLErrorListener.syntaxError(CQLErrorListener.java:61)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLErrorStrategy.reportNoViableAlternative(CQLErrorStrategy.java:60)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectExpression(CQLParser.java:8166)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectItem(CQLParser.java:7909)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectList(CQLParser.java:7852)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.subSelectClause(CQLParser.java:7801)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectClause(CQLParser.java:7746)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.selectStatement(CQLParser.java:4811)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.execStatement(CQLParser.java:367)
at com.huawei.streaming.cql.semanticanalyzer.parser.CQLParser.statement(CQLParser.java:248)
at com.huawei.streaming.cql.semanticanalyzer.parser.ApplicationParser.parse(ApplicationParser.java:61)
at com.huawei.streaming.cql.semanticanalyzer.parser.ApplicationParserTest.testParse(ApplicationParserTest.java:45)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.