java.lang.RuntimeException: {"error":"error parsing query: found NOT, expected ; at line 1, char 20"}

Hot problem!
This exception has a lot of traffic. You can help 11 users by writing a short tip.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by daniccan
, 2 months ago
{"error":"error parsing query: found NOT, expected ; at line 1, char 20"} ```
via GitHub by luvs
, 1 year ago
{"error":"error parsing query: found NOT, expected ; at line 1, char 20"}
via GitHub by staehler
, 2 years ago
syntax error, unexpected $end select value, time from Urlaub where ^
via GitHub by murugavelpsg
, 1 year ago
{"error":"error parsing query: found NOT, expected ; at line 1, char 20"}
via GitHub by haraldkoch
, 1 year ago
{"error":"error authorizing query: jmxtrans not authorized to execute statement 'CREATE DATABASE IF NOT EXISTS jmxtrans', requires admin privilege"}
via GitHub by dennisbauer
, 1 year ago
write failed: field type conflict: input field "value" is type int64, already exists as type %!s(influxql.DataType=1)
java.lang.RuntimeException: {"error":"error parsing query: found NOT, expected ; at line 1, char 20"}
at org.influxdb.impl.InfluxDBErrorHandler.handleError(InfluxDBErrorHandler.java:19)
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:242)
at org.influxdb.impl.$Proxy27.query(Unknown Source)
at org.influxdb.impl.InfluxDBImpl.createDatabase(InfluxDBImpl.java:205)
at com.googlecode.jmxtrans.model.output.InfluxDbWriter.doWrite(InfluxDbWriter.java:151)
at com.googlecode.jmxtrans.model.output.support.ResultTransformerOutputWriter.doWrite(ResultTransformerOutputWriter.java:50)
at com.googlecode.jmxtrans.jmx.ResultProcessor$1.run(ResultProcessor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

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.

Write tip

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