I'm trying to analyze Neo4J logs using jar far through cmd, so with the help of jar running through cmd, logs files generates query_db files which we can analyze in db visualizer. But while running this command - "java -jar ..\Neo4JQueryProcessor-1.4.1.jar config.yaml" getting this error - java.lang.NullPointerException
at com.neo4j.query.QueryAnalyzer.process(QueryAnalyzer.java:65)
at com.neo4j.query.QueryAnalyzer.main(QueryAnalyzer.java:128)
Looking at the source, it looks like the exception occurs around where it is trying to read the directory specified by queryLocation. Have you confirmed thus value and the directory exists?
There is only jar file provided which we have placed in a folder inside C drive, and there is config file placed under Logs folder, we have not set any variable or directory manually. The only system requirement is that there should be java installed in the system.
It is looking for some properties in the yaml file. One is queryLocation which is supposed to point to the directory holding the log file.
Can you please share your config yaml file? Also, can you please try with the latest jar file?