Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2017/02-01
-
Fix Version/s: 2017/11
-
Component/s: KIML - Infrastructure for Meta Layout
-
Labels:None
Description
There's an issue in the importer when a primitive edge is imported that has no port in #transformPrimitiveEdge()
val srcNode = nodeIdMap.get(jsonObj.optString("source")) |
val srcPort = portIdMap.get(jsonObj.optString("sourcePort")) |
|
if (srcPort.parent != srcNode) |
Obviously, an NPE is thrown if srcPort is null.
A workaround is to use Extended Edges as described in the javadoc of the JsonFormatHandler class:
130