On 05/23/2013 07:42 AM, Yakov Reztsov wrote:

    Hi!

    I make a request to the LT - server

    
http://localhost:8081/?language=ru&text=%E2%84%96&srctext=No.&motherTongue=en

    and error ocurred:

    Error: java.lang.StringIndexOutOfBoundsException: String index out of 
range: -1


This error occurs if the transmitted text consists of only one of any character.
It looks like the text in URL is not properly encoded, was cp1251 on the page with text field used instead of utf-8?
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to