Skip to content
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

Node no longer exists - Deserialize Error #817

Closed
mikaelplouhinecvetup opened this issue Sep 5, 2017 · 5 comments
Closed

Node no longer exists - Deserialize Error #817

mikaelplouhinecvetup opened this issue Sep 5, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@mikaelplouhinecvetup
Copy link

mikaelplouhinecvetup commented Sep 5, 2017

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Steps required to reproduce the problem

  1. Initiate the deserializer
  2. Deserialize the data

Expected Result

No Warning

Actual Result

str : JMS\Serializer\XmlDeserializationVisitor::isNull(): Node no longer exists
line : 402
file : /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/XmlDeserializationVisitor.php
Warning on : localhost
no : 2
callStack :
ln: 402 on /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/XmlDeserializationVisitor.php, function errorHandler
ln: 130 on /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/GraphNavigator.php, function isNull
ln: 266 on /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/XmlDeserializationVisitor.php, function accept
ln: 267 on /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/GraphNavigator.php, function visitProperty
ln: 193 on /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/Serializer.php, function accept
ln: 128 on /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/Serializer.php, function visit
ln: ? on ?, function JMS\Serializer\{closure}
ln: 89 on /var/www/myApp/vendor/phpoption/phpoption/src/PhpOption/Some.php, function call_user_func
ln: 131 on /var/www/myApp/vendor/jms/serializer/src/JMS/Serializer/Serializer.php, function map
ln: 355 on /var/www/myApp/modules/abaxis/abaxisControllerAjax.php, function deserialize
userAgent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
errContext :
>array(2) { ["value"]=> object(SimpleXMLElement)#102 (0) { } ["xsiAttributes"]=> object(SimpleXMLElement)#100 (0) { } }

attachments.zip

@goetas goetas self-assigned this Sep 5, 2017
@goetas goetas added the bug label Sep 5, 2017
@goetas
Copy link
Collaborator

goetas commented Sep 7, 2017

from the stack trace it looks you are using a custom error handler... the error reported by you is silenced... is the implementation of your handler correct?

@mikaelplouhinecvetup
Copy link
Author

Yes.
My object is deserialize correctly but I have this exception.

@goetas
Copy link
Collaborator

goetas commented Sep 7, 2017

can you share your errorhandler code?

@goetas
Copy link
Collaborator

goetas commented Sep 22, 2017

forwarding to https://bugs.php.net/bug.php?id=75168

@goetas
Copy link
Collaborator

goetas commented Sep 28, 2017

@mikaelplouhinecvetup can you try #825 ?

@goetas goetas added this to the v1.9 milestone Sep 28, 2017
@goetas goetas closed this as completed Sep 28, 2017
Deltachaos added a commit to Deltachaos/serializer that referenced this issue Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants