Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-13-2021 12:32 PM
Hi Community,
I'm relatively new to Neo4j. I'm trying to launching NEuler, cannot pass through Checking APOC plugin
The following line has been already added into neo4j.conf
dbms.security.procedures.unrestricted=,jwt.security.*,gds.*,apoc.*
Check APOC in Neo4j Browser, it is
CALL apoc.meta.schema() YIELD value RETURN count(*) AS count;
cannot pass
error message:
Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure `apoc.meta.schema`: Caused by: java.lang.NullPointerException
Running Neo4j Destop on Windows System
Can anybody help me? Thanks!
05-15-2021 01:38 PM
Hello @xiajing.li10 and welcome to the Neo4j community
Make sure to have this both rows (wrote like this) in the neo4j.conf
file:
dbms.security.procedures.unrestricted=jwt.security.*,apoc.*,gds.*
dbms.security.procedures.allowlist=jwt.security.*,apoc.*,gds.*
Can you try this query:
CALL apoc.meta.schema() YIELD value
Regards,
Cobra
05-16-2021 02:22 PM
Hi Cobra,
Thanks for your kind reply. I tried but it is still not working.
It is that query returns error message
CALL apoc.meta.schema() YIELD value
Failed to invoke procedure `apoc.meta.schema`: Caused by: java.lang.NullPointerException
Besides, I found that in the conf file, allowlist
is automatically set as unconfigured
# A comma separated list of procedures to be loaded by default.
# Leaving this unconfigured will load all procedures found.
#dbms.security.procedures.allowlist=apoc.coll.*,apoc.load.*,gds.*
I'm not aware of which is the key to the problem, unrestricted
, allowlist
or whitelist
..
Best,
Xiajing
05-17-2021 12:19 AM
neo4j.conf
filedbms.security.procedures.unrestricted=jwt.security.*,apoc.*,gds.*
dbms.security.procedures.whitelist=jwt.security.*,apoc.*,gds.*
dbms.security.procedures.allowlist=jwt.security.*,apoc.*,gds.*
05-27-2021 09:02 AM
Hi Cobra,
Sorry for the late reply. I have switched to python driver coding for some time.
And regarding those configurations, I did the exact changes but still it didn't work. I guess there might be problems in plugin path (from java error message) but I haven't found the solution. I think it need to be reported to NEuler development team.
Thanks! I appreciate your help.
Best regards,
Xiajing
05-27-2021 09:07 AM
Also tried:
I don't really want to reset my whole database and reinstall Neo4j. So I will leave it as it is for now until it get solved.
06-02-2021 05:42 AM
For what it's worth, I was having a similar problem with NEuler failing to load and suggesting the config change. Making the change didn't fix it. It turned out to be a problem with the schema - I had a node with a label that had a space in it (the schema was created in Arrows and loaded via cypher; that worked fine and the other operations in the browser worked fine). Running the apoc.meta.schema() call found it. Removing the space fixed it.
Your null pointer may be something similar with the schema proper.
-Frank
07-29-2021 04:12 AM
To add another data point, this was resolved for me by spinning up a fresh local database, implying this was something caused by the data already there. It's not clear what though, as there was very little of interest stored in it.
All the sessions of the conference are now available online