{"action":"created","issue":{"url":"https://api.github.com/repos/javamelody/liferay-javamelody/issues/5","repository_url":"https://api.github.com/repos/javamelody/liferay-javamelody","labels_url":"https://api.github.com/repos/javamelody/liferay-javamelody/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/javamelody/liferay-javamelody/issues/5/comments","events_url":"https://api.github.com/repos/javamelody/liferay-javamelody/issues/5/events","html_url":"https://github.com/javamelody/liferay-javamelody/issues/5","id":117091088,"number":5,"title":"Java melody breaks web content edition","user":{"login":"sbihan","id":1972342,"avatar_url":"https://avatars.githubusercontent.com/u/1972342?v=3","gravatar_id":"","url":"https://api.github.com/users/sbihan","html_url":"https://github.com/sbihan","followers_url":"https://api.github.com/users/sbihan/followers","following_url":"https://api.github.com/users/sbihan/following{/other_user}","gists_url":"https://api.github.com/users/sbihan/gists{/gist_id}","starred_url":"https://api.github.com/users/sbihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbihan/subscriptions","organizations_url":"https://api.github.com/users/sbihan/orgs","repos_url":"https://api.github.com/users/sbihan/repos","events_url":"https://api.github.com/users/sbihan/events{/privacy}","received_events_url":"https://api.github.com/users/sbihan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-16T10:17:06Z","updated_at":"2016-03-23T14:21:48Z","closed_at":null,"body":"Hello,\r\n\r\nWe are using java melody to monitor our Liferay server. \r\n\r\nCurrently we are using a Liferay 6.2 EE sp13, and if we install liferay javamelody hook, we have an exception during web content edition. \r\n\r\nMore precisely, when we save a content, next exception appears : \r\n\r\n09:48:04,026 ERROR [http-bio-8080-exec-10][render_portlet_jsp:132] null\r\njava.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String\r\n\tat com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:217)\r\n\tat com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:200)\r\n\tat com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:258)\r\n\tat com.liferay.portlet.dynamicdatamapping.util.DDMUtil.getFields(DDMUtil.java:73)\r\n\tat com.liferay.portlet.journal.action.ActionUtil.getContentAndImages(ActionUtil.java:270)\r\n\tat com.liferay.portlet.journal.action.EditArticleAction.updateArticle(EditArticleAction.java:638)\r\n\tat com.liferay.portlet.journal.action.EditArticleAction.processAction(EditArticleAction.java:148)\r\n...\r\n\r\nThis issue concerns only content which have a structure. It seems, we receive in request a table of String instead of a simple String concerning \"defaultLanguageId\" : \r\n\r\nString defaultLanguageId = (String)serviceContext.getAttribute(\r\n\t\t\t\"defaultLanguageId\");\r\n\r\n\r\nNote that this issue is reproducible on all browser, on a vanilla Liferay. \r\n\r\nThanks,\r\n\r\nSébastien Bihan\r\n"},"comment":{"url":"https://api.github.com/repos/javamelody/liferay-javamelody/issues/comments/200365110","html_url":"https://github.com/javamelody/liferay-javamelody/issues/5#issuecomment-200365110","issue_url":"https://api.github.com/repos/javamelody/liferay-javamelody/issues/5","id":200365110,"user":{"login":"hufon","id":1788150,"avatar_url":"https://avatars.githubusercontent.com/u/1788150?v=3","gravatar_id":"","url":"https://api.github.com/users/hufon","html_url":"https://github.com/hufon","followers_url":"https://api.github.com/users/hufon/followers","following_url":"https://api.github.com/users/hufon/following{/other_user}","gists_url":"https://api.github.com/users/hufon/gists{/gist_id}","starred_url":"https://api.github.com/users/hufon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hufon/subscriptions","organizations_url":"https://api.github.com/users/hufon/orgs","repos_url":"https://api.github.com/users/hufon/repos","events_url":"https://api.github.com/users/hufon/events{/privacy}","received_events_url":"https://api.github.com/users/hufon/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T14:21:48Z","updated_at":"2016-03-23T14:21:48Z","body":"For information the bug is only reproduced on latest version of Liferay 6.2 it works well with SP11 and not with SP14. \r\n\r\nThe bug is not triggered without javamelody plugin"}}