« Return to Thread: error executing mvn sonar:sonar: 'Incorrect string value: '...' for column 'data' at row 1'

Re: error executing mvn sonar:sonar: 'Incorrect string value: '...' for column 'data' at row 1'

by Cedric Munger :: Rate this Message:

Reply to Author | View in Thread

Well in fact the platform encoding is used to read the source files, so launching the plugin with -Dfile.encoding= Shift_JIS "could" do the trick.
Let us know

Regards

2009/6/30 Nikolay Elenkov <nick@...>
Cedric Munger wrote:

> Looking at the ImportJavaSourceMavenCollector indicates that this is an
> issue on our side.
> I've created a ticket to fix it asap :
> http://jira.codehaus.org/browse/SONAR-948.
> However providing a sample small helloworld maven project (1 pom, 1 unit
> test and 1 class) with Shift_JIS encoded sources would help.
> Fix the recording into db with correct charset will be easy but maybe
> not rendering this into the webapp.
>

Thanks. I will attach a simple project that reproduces the issue.

In the mean time, is there some way to work around this? Like skip
inserting the source in DB altogether?


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



 « Return to Thread: error executing mvn sonar:sonar: 'Incorrect string value: '...' for column 'data' at row 1'