Open christopherowen opened 9 months ago
doctor
will work with exakat 2.5.1 and gremlin 3.4.13.
a java error occurs when trying to analyze the project with 2.5.1 and gremlin 3.4.13
% php -d memory_limit=-1 exakat-2.5.1.phar project -p project
Error : The script submitted for processing evaluated in the ScriptEngine with errors and could not be processed. Check the script submitted for syntax errors or other problems and then resubmit. : gremlin-groovy is not an available GremlinScriptEngine
=================== SERVER TRACE =========================
array (
'stackTrace' => 'java.lang.IllegalArgumentException: gremlin-groovy is not an available GremlinScriptEngine
at org.apache.tinkerpop.gremlin.jsr223.CachedGremlinScriptEngineManager.registerLookUpInfo(CachedGremlinScriptEngineManager.java:95)
at org.apache.tinkerpop.gremlin.jsr223.CachedGremlinScriptEngineManager.getEngineByName(CachedGremlinScriptEngineManager.java:58)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:272)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
',
'exceptions' =>
array (
0 => 'java.lang.IllegalArgumentException',
),
)
============================================================
on file phar:///Users/christopherowen/projects/exakat/exakat-2.5.1.phar/vendor/brightzone/gremlin-php/src/Connection.php
on line 850
I used tinkerpop from https://archive.apache.org/dist/tinkerpop/3.4.12/apache-tinkerpop-gremlin-server-3.4.12-bin.zip
I have also tried version 3.7.0 and version 3.4.14.
I did the "optional" neoj4 install.
I tried the troubleshooting steps listed here https://exakat.readthedocs.io/en/latest/Administrator/Installation.html#installation-on-osx
PHP version:
% php -v PHP 8.2.12 (cli) (built: Oct 24 2023 19:22:16) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.12, Copyright (c) Zend Technologies with Zend OPcache v8.2.12, Copyright (c), by Zend Technologies
Java version:
% java --version openjdk 21.0.1 2023-10-17 LTS OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)
The problem:
Trying php 8.0 has the same result: