diff --git a/wise-webapp/src/main/java/com/wisemapping/exporter/freemind/FreemindExporter.java b/wise-webapp/src/main/java/com/wisemapping/exporter/freemind/FreemindExporter.java index 748667c1..26b93dfd 100755 --- a/wise-webapp/src/main/java/com/wisemapping/exporter/freemind/FreemindExporter.java +++ b/wise-webapp/src/main/java/com/wisemapping/exporter/freemind/FreemindExporter.java @@ -120,9 +120,11 @@ public class FreemindExporter destNode.getArrowlinkOrCloudOrEdge().add(newNode); addNodeFromTopic(topicType, newNode); String position = topicType.getPosition(); - String xPos = position.split(",")[0]; - int x = Integer.valueOf(xPos); - newNode.setPOSITION((x<0?POSITION_LEFT:POSITION_RIGHT)); + if(position!=null){ + String xPos = position.split(",")[0]; + int x = Integer.valueOf(xPos); + newNode.setPOSITION((x<0?POSITION_LEFT:POSITION_RIGHT)); + } } }