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

NPE during Node Import #524

Closed
Jotschi opened this Issue Oct 29, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@Jotschi
Member

Jotschi commented Oct 29, 2018

The error happens because the NodeCreateRequest already contains the sha512sum or binary uuid.
No binary with the given id has been stored before. The error would not happen if the binary had been stored before.

�[36mmesh_1  |�[0m java.lang.NullPointerException: null
�[36mmesh_1  |�[0m 	at com.syncleus.ferma.AbstractVertexFrame.addFramedEdge(AbstractVertexFrame.java:53) ~[mesh.jar:na]
�[36mmesh_1  |�[0m 	at com.syncleus.ferma.AbstractVertexFrame.addFramedEdge(AbstractVertexFrame.java:60) ~[mesh.jar:na]
�[36mmesh_1  |�[0m 	at com.gentics.mesh.core.data.container.impl.AbstractGraphFieldContainerImpl.createBinary(AbstractGraphFieldContainerImpl.java:202) ~[mesh.jar:na]
�[36mmesh_1  |�[0m 	at com.gentics.mesh.core.data.node.field.impl.BinaryGraphFieldImpl.lambda$static$1(BinaryGraphFieldImpl.java:94) ~[mesh.jar:na]
�[36mmesh_1  |�[0m 	at com.gentics.mesh.core.data.impl.GraphFieldTypes.updateField(GraphFieldTypes.java:168) ~[mesh.jar:na]
�[36mmesh_1  |�[0m 	at com.gentics.mesh.core.data.container.impl.AbstractGraphFieldContainerImpl.updateField(AbstractGraphFieldContainerImpl.java:339) ~[mesh.jar:na]
�[36mmesh_1  |�[0m 	at com.gentics.mesh.core.data.container.impl.AbstractGraphFieldContainerImpl.updateFieldsFromRest(AbstractGraphFieldContainerImpl.java:354) ~[mesh.jar:na]
�[36mmesh_1  |�[0m 	at com.gentics.mesh.core.data.container.impl.NodeGraphFieldContainerImpl.updateFieldsFromRest(NodeGraphFieldContainerImpl.java:219) ~[mesh.jar:na]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment