[xwiki-users] ERROR: could not insert: xpn.xwiki.objects.Large String Property !?

2008-03-06 Thread Ngo Thi Hong Nga
Hi, I have a class named MyClass with content property with type TextArea. I write some Groovy code to read a text file (*.txt) with encoding UTF-8, and print each line in the screen (code snippet 1) , no errors. but when I replace code snippet (1) with (2), the following error occurs:

Re: [xwiki-users] ERROR: could not insert: xpn.xwiki.objects.Large String Property !?

2008-03-06 Thread Sergiu Dumitriu
Hi, Can you give the full stacktrace of the error? If you try to manually create an MyClass object and add a line from that file in it, does it work? Did you configure XWiki to work with UTF-8 as described on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding ? Ngo Thi Hong Nga