orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

The Gremlin server doesn't start properly under 3.2.9

Open odysseaspenta opened this issue 3 years ago • 1 comments

OrientDB Version: 3.2.9

Java Version: Open JDK 11

OS: Debian 11

Expected behavior

bin/gremlin.sh WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/servers/orientdb-tp3-3.0.21/lib/groovy-2.4.11-indy.jar) to method java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

     \,,,/
     (o o)

-----oOOo-(3)-oOOo----- gremlin>

Actual behavior

orientdb-tp3-3.2.9$ bin/gremlin.sh WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/servers/orientdb-tp3-3.2.9/lib/groovy-2.5.11-indy.jar) to method java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

     \,,,/
     (o o)

-----oOOo-(3)-oOOo----- Exception in thread "main" java.lang.NullPointerException: Cannot invoke method activate() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91) at org.codehaus.groovy.vmplugin.v7.IndyGuardsFiltersAndSignatures.invokeGroovyObjectInvoker(IndyGuardsFiltersAndSignatures.java:163) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:234) at org.apache.tinkerpop.gremlin.console.Console$_closure18.doCall(Console.groovy:149) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) at groovy.lang.Closure.call(Closure.java:405) at groovy.lang.Closure.call(Closure.java:421) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2330) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2315) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2356) at org.codehaus.groovy.runtime.dgm$186.doMethodInvoke(Unknown Source) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:234) at org.apache.tinkerpop.gremlin.console.Console.(Console.groovy:147) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:234) at org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:511)

Steps to reproduce

$ unzip /tmp/install/orientdb-tp3-3.2.9.zip $ cd orientdb-tp3-3.2.9 $ bin/gremlin.sh

odysseaspenta avatar Aug 23 '22 14:08 odysseaspenta

Hi, just fixed this with this commit: https://github.com/orientechnologies/orientdb-gremlin/commit/4d58ce7497a9c3fe64e4355c37b4a963f88d6af2

will be release with 3.2.10 Regards

tglman avatar Sep 01 '22 15:09 tglman