-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to invoke procedure apoc.import.graphml
: Caused by: java.lang.RuntimeException: Error executing in separate thread
#159
Comments
Comment by CliffordAnderson @jexp I came across this same error recently and discovered that the problem arose from multiple values in my graphML attributes. I think it was nodes like these that triggered the error. <graphml:edge source="58D5137C8FA1793C8138A4D840D1E0D5 761BFF77D39020017D0C6F72E037AC95" target="AEA35A20938FFEDCDD9BD8B219264EE0" label="CREATED">
<graphml:data key="label">CREATED</graphml:data>
</graphml:edge> So basically a parsing issue. It might be nice to provide feedback about such errors in the debug log. |
Comment by MaryamMahmoodi @jexp I need some help to resole that . |
Comment by jexp Can you share the generated file and the call you used to generate it? |
Comment by cocof-cirb Hi there. Same problem with graphml import on Neo4j desktop 1.2.1 and APOC 3.5.0.4 . The graphml was generated with Yed (3.19). In my case, the problem is in the definition of an attribute. I have a "xml:space preserve" that breaks the apoc import. <key attr.name="restBaseUrl" attr.type="string" for="node" id="d5">
<default xml:space="preserve"/>
</key> The import succeeds when I remove manually the The root cause may be that I changed the type of this attribute from XML to String and that Yed left some XML specific things not expected for a string attribute. Just a supposition. Find in attachment a minimalist file that reproduces the apoc import problem. HTH, |
Comment by thekidconnect getting the same error on
did they ever fix this? |
Comment by vga91 @thekidconnect If this is your case, to fix the problem temporarily, would you be able to generate the xml without the BOM? |
Issue by chrix75
Tuesday Nov 08, 2016 at 19:51 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#206
Hi,
I've exported a graph with the procedure
apoc.export.graphml
but when I try to import it again I've got this error:Failed to invoke procedure
apoc.import.graphml: Caused by: java.lang.RuntimeException: Error executing in separate thread
Thanks for your help.
The text was updated successfully, but these errors were encountered: