# APOC Metadata Procedure Unavailable - Error when Launching NEuler

**URL:** <https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290>\
**Category:** Procedures & APOC\
**Tags:** apoc\
**Created:** [May 13, 2021, 7:32pm UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290 "2021-05-13T19:32:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiajing.li10](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/xiajing.li10/32/9735_2.png) [@xiajing.li10](https://community.neo4j.com/u/xiajing.li10)\
**Post date:** [May 13, 2021, 7:32pm UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/1 "2021-05-13T19:32:51Z")

</div>

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:

```auto
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!

---

<div class="post-metadata">

**Author:** ![Cobra](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/cobra/32/35243_2.png) [@Cobra](https://community.neo4j.com/u/Cobra)\
**Post date:** [May 15, 2021, 8:38pm UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/2 "2021-05-15T20:38:06Z")

</div>

Hello @xiajing.li10 and welcome to the Neo4j community 🙂

Make sure to have this both rows (wrote like this) in the `neo4j.conf` file:

```auto
dbms.security.procedures.unrestricted=jwt.security.*,apoc.*,gds.*
dbms.security.procedures.allowlist=jwt.security.*,apoc.*,gds.*

```

Can you try this query:

```auto
CALL apoc.meta.schema() YIELD value

```

Regards,  
Cobra

---

<div class="post-metadata">

**Author:** ![xiajing.li10](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/xiajing.li10/32/9735_2.png) [@xiajing.li10](https://community.neo4j.com/u/xiajing.li10)\
**Post date:** [May 16, 2021, 9:22pm UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/3 "2021-05-16T21:22:54Z")

</div>

Hi Cobra,

Thanks for your kind reply. I tried but it is still not working.

It is that query returns error message

```auto
CALL apoc.meta.schema() YIELD value

```

```auto
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

```auto
# 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

---

<div class="post-metadata">

**Author:** ![Cobra](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/cobra/32/35243_2.png) [@Cobra](https://community.neo4j.com/u/Cobra)\
**Post date:** [May 17, 2021, 7:19am UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/4 "2021-05-17T07:19:56Z")

</div>

1. Shutdown the database
2. Open the `neo4j.conf` file
3. Uncomment these rows (see under)
4. Restart the database

```auto
dbms.security.procedures.unrestricted=jwt.security.*,apoc.*,gds.*
dbms.security.procedures.whitelist=jwt.security.*,apoc.*,gds.*
dbms.security.procedures.allowlist=jwt.security.*,apoc.*,gds.*

```

---

<div class="post-metadata">

**Author:** ![xiajing.li10](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/xiajing.li10/32/9735_2.png) [@xiajing.li10](https://community.neo4j.com/u/xiajing.li10)\
**Post date:** [May 27, 2021, 4:02pm UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/5 "2021-05-27T16:02:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![xiajing.li10](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/xiajing.li10/32/9735_2.png) [@xiajing.li10](https://community.neo4j.com/u/xiajing.li10)\
**Post date:** [May 27, 2021, 4:07pm UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/6 "2021-05-27T16:07:19Z")

</div>

Also tried:

- reinstall NEuler (no help)
- reinstall APOC (no help)

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.

---

<div class="post-metadata">

**Author:** ![fb17846](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/fb17846/32/18526_2.png) [@fb17846](https://community.neo4j.com/u/fb17846)\
**Post date:** [June 2, 2021, 12:42pm UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/7 "2021-06-02T12:42:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fahran.wallace](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/fahran.wallace/32/19444_2.png) [@fahran.wallace](https://community.neo4j.com/u/fahran.wallace)\
**Post date:** [July 29, 2021, 11:12am UTC](https://community.neo4j.com/t/apoc-metadata-procedure-unavailable-error-when-launching-neuler/38290/8 "2021-07-29T11:12:26Z")

</div>

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.
