question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

links deSerialize problem

See original GitHub issue

I’ve faced a problem. While deserializing simple diagram with custom nodes and ports this line returns null. But if I call it in a few msec - it returns correct value. It seems the canvas doesn’t rendered yet when this code is run.

Where could be a problem?

diagramEngine.js - getNodePortElement()

var selector = this.canvas.querySelector('.port[data-name="' + port.getName() + '"][data-nodeid="' + port.getParent().getID()+'"]');

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
dylanvorstercommented, Aug 6, 2017

Thanks for taking the time to do this, Ill jump onto this shortly and see what I can do.

2reactions
ferdaarikancommented, Aug 5, 2017

Hi, Thanks for looking into this. I have created a small example. When app is running clicking save, clear, load buttons reproduces the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Hateoas Deserialize Links in Payload to actual Entities
Now to the problem: When I send the create-Request with the payload, Jackson or Spring Rest/HATEOAS is not able do handle the Links...
Read more >
Getting error while deserialize - Salesforce Stack Exchange
A common cause is that the server is responding with a HTML page that contains error information rather than the JSON.
Read more >
Deserializing a JSON array string into a C# object
I wish to deserialize a JSON string into a C# object. I am having a most difficult time ... The problem seems that...
Read more >
Jackson - Bidirectional Relationships - Baeldung
First, we'll discuss the Jackson JSON infinite recursion problem. Then we'll see how to serialize entities with bidirectional relationships.
Read more >
Add open/close and Collector to (De)SerializationSchema
Problem 1: Handling of serialization errors. Returning no results. Bad data that cannot be deserialized properly is a reality in real world use ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found