From 28ffead0a0562cd965ba8b634e3a3aed690d4090 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 13 Feb 2013 22:51:55 -0300 Subject: [PATCH] Fix npe. --- .../src/main/java/com/wisemapping/webmvc/MindmapController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/webmvc/MindmapController.java b/wise-webapp/src/main/java/com/wisemapping/webmvc/MindmapController.java index 35c456f1..f15646fb 100644 --- a/wise-webapp/src/main/java/com/wisemapping/webmvc/MindmapController.java +++ b/wise-webapp/src/main/java/com/wisemapping/webmvc/MindmapController.java @@ -194,7 +194,7 @@ public class MindmapController { final String result = showMindmapEditorPage(id, model); model.addAttribute("readOnlyMode", true); - model.addAttribute("hid",hid); + model.addAttribute("hid",String.valueOf(hid)); return result; }