You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the following invocations both throw a Null Pointer Exception:
new ELK().layout(graph, { layoutOptions, logging: true })
new ELK().layout(graph, { layoutOptions, measureExecutionTime: true })
Not sure if there's a way to get a more useful error, but this is the log:
Uncaught (in promise) TypeError: java.lang.NullPointerException
at Ngb.Pgb [as ee] (elk-worker.min.js:6399:100191)
at Ngb.vz [as je] (elk-worker.min.js:6399:92187)
at Ngb.mz (elk-worker.min.js:2029:38)
at Ngb.xz (elk-worker.min.js:1122:18)
at new Ngb (elk-worker.min.js:1129:19)
at new OC (elk-worker.min.js:2762:38)
at NId (elk-worker.min.js:5920:51)
at NId (elk-worker.min.js:5920:395)
at NId (elk-worker.min.js:5920:395)
at QId (elk-worker.min.js:6004:415)
at h.dispatch (elk-worker.min.js:6317:473)
at h.saveDispatch (elk-worker.min.js:6317:603)
at eval (elk-worker.min.js:6318:162)
The error is not thrown if using edgeRouting: "POLYLINE" or removing logging/measureExecutionTime.
Expected behavior
No error.
Screenshots
n/a
ELK Version
elkjs 0.9.3
Additional context
This is not an issue with ELK, e.g. this elklive works.
Also I haven't actually needed logging or measureExecutionTime in months, I've just had it enabled. So removing those parameters is a simple workaround for me.
The text was updated successfully, but these errors were encountered:
Describe the bug
With a
graph
of:and
layoutOptions
of:the following invocations both throw a Null Pointer Exception:
Not sure if there's a way to get a more useful error, but this is the log:
The error is not thrown if using
edgeRouting: "POLYLINE"
or removinglogging
/measureExecutionTime
.Expected behavior
No error.
Screenshots
n/a
ELK Version
elkjs 0.9.3
Additional context
This is not an issue with ELK, e.g. this elklive works.
Also I haven't actually needed
logging
ormeasureExecutionTime
in months, I've just had it enabled. So removing those parameters is a simple workaround for me.The text was updated successfully, but these errors were encountered: