org.geotools.process.ProcessException

tip

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 2329#250380318
    via GitHub by bhasin85
    ,
  • GitHub comment 2329#247512201
    via GitHub by jonescc
    ,
  • Improve GeoServer WPS logging
    via GitHub by bhasin85
    ,
  • GitHub comment 5690#279315203
    via GitHub by lrytz
    ,
  • IOOBE
    via GitHub by meysholdt
    ,
  • Exception error
    via GitHub by dawe
    ,
    • org.geotools.process.ProcessException: java.lang.StringIndexOutOfBoundsException: String index out of range: -2147483648 at au.org.emii.wps.NetcdfOutputProcess.execute(NetcdfOutputProcess.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:549) at org.geoserver.wps.executor.ProcessStartupFilter$ProcessStartupWrapper.execute(ProcessStartupFilter.java:51) at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:201) at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:169) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2147483648 at java.lang.String.charAt(String.java:658) at au.org.emii.ncdfgenerator.AttributeValueParser.peekChar(AttributeValueParser.java:21) at au.org.emii.ncdfgenerator.AttributeValueParser.parseString(AttributeValueParser.java:213) at au.org.emii.ncdfgenerator.AttributeValueParser.parseAttributeValue1(AttributeValueParser.java:138) at au.org.emii.ncdfgenerator.AttributeValueParser.parseAttributes(AttributeValueParser.java:47)

    Users with the same issue

    poroszd
    12 times, last one,
    olle.hallin
    1 times, last one,
    linxiaolong
    1 times, last one,
    jokester
    1 times, last one,
    tyson925
    1 times, last one,
    30 more bugmates