Closed pjljvandelaar closed 4 years ago
Original submitted as https://github.com/neo4j/neo4j/issues/12544 Neo4j asked to submit here since is apoc issue.
dbms.security.procedures.unrestricted=apoc.import.* apoc.import.file.enabled=true
C:\Users\<name>\.Neo4jDesktop\neo4jDatabases\database-<id>\installation-<neo4j-version>\import\
<?xml version="1.0" encoding="utf-8"?> <graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"> <key id="Node.Path" for="node" attr.name="Path" attr.type="string"/> <key id="Edge.Path" for="edge" attr.name="Path" attr.type="string"/> <graph id="Nexperia" edgedefault="directed"> <node id="A" labels=":Unit"> <data key="Path">C:\bright\itecembed\obj\ada\a3_status.ads</data> </node> <node id="B" labels=":Unit"> <data key="Path">C:\bright\itecembed\obj\ada\b3_status.ads</data> </node> <edge source="A" target="B"> <!-- <data key="Path">C:\bright\itecembed\obj\ada\b3_status.ads</data> --> </edge> </graph> </graphml>
CALL apoc.import.graphml("test.graphml",{batchSize: 10000, readLabels: true, storeNodeIds: false, defaultRelationshipType:"RELATED"}) YIELD file, source, format, nodes, relationships, properties, time
File to be loaded. Yed and XmlChecker all agree it is a fine file.
Null pointer exception is thrown.
adding the node (by removing the comment tags) on line 13, results in the expected behaviour.
Closed via f292b48d9b881add585b8a9c6276c40e2e6938e0
Original submitted as https://github.com/neo4j/neo4j/issues/12544 Neo4j asked to submit here since is apoc issue.
Version Info
Steps to reproduce
C:\Users\<name>\.Neo4jDesktop\neo4jDatabases\database-<id>\installation-<neo4j-version>\import\
with contentExpected behavior
File to be loaded. Yed and XmlChecker all agree it is a fine file.
Actual behavior
Null pointer exception is thrown.
Notes
adding the node (by removing the comment tags) on line 13, results in the expected behaviour.