org.geotools.process.ProcessException: java.lang.StringIndexOutOfBoundsException: String index out of range: -2147483648

GitHub | bhasin85 | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 2329#247512201

    GitHub | 8 months ago | jonescc
    org.geotools.process.ProcessException: java.lang.StringIndexOutOfBoundsException: String index out of range: -2147483648
  2. 0

    GitHub comment 2329#250380318

    GitHub | 8 months ago | bhasin85
    org.geotools.process.ProcessException: java.lang.StringIndexOutOfBoundsException: String index out of range: -2147483648
  3. 0

    Improve GeoServer WPS logging

    GitHub | 8 months ago | bhasin85
    org.geotools.process.ProcessException: java.lang.StringIndexOutOfBoundsException: String index out of range: -2147483648
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug 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.
  6. 0

    GitHub comment 5690#279315203

    GitHub | 3 months ago | lrytz
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2147483648
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -2147483648

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:658)
    1 frame
  3. au.org.emii
    NetcdfOutputProcess.execute
    1. au.org.emii.ncdfgenerator.AttributeValueParser.peekChar(AttributeValueParser.java:21)
    2. au.org.emii.ncdfgenerator.AttributeValueParser.parseString(AttributeValueParser.java:213)
    3. au.org.emii.ncdfgenerator.AttributeValueParser.parseAttributeValue1(AttributeValueParser.java:138)
    4. au.org.emii.ncdfgenerator.AttributeValueParser.parseAttributes(AttributeValueParser.java:47)
    5. au.org.emii.ncdfgenerator.AttributeValueParser.parse(AttributeValueParser.java:29)
    6. au.org.emii.ncdfgenerator.Variable.define(Variable.java:63)
    7. au.org.emii.ncdfgenerator.NcdfEncoder.writeNext(NcdfEncoder.java:203)
    8. au.org.emii.wps.NetcdfOutputProcess.execute(NetcdfOutputProcess.java:105)
    8 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. org.geotools.process
    AnnotationDrivenProcessFactory$InvokeMethodProcess.execute
    1. org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:549)
    1 frame
  6. org.geoserver.wps
    DefaultProcessManager$ProcessCallable.call
    1. org.geoserver.wps.executor.ProcessStartupFilter$ProcessStartupWrapper.execute(ProcessStartupFilter.java:51)
    2. org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:201)
    3. org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:169)
    3 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames