java.lang.IllegalArgumentException: dimension length must be > 0 :0

GitHub | jkburges | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error when trying to get netcdf

    GitHub | 1 year ago | jkburges
    java.lang.IllegalArgumentException: dimension length must be > 0 :0
  2. 0

    GitHub comment 2329#250380318

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

    Improve GeoServer WPS logging

    GitHub | 5 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

    GitHub comment 2329#247512201

    GitHub | 5 months ago | jonescc
    org.geotools.process.ProcessException: 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.IllegalArgumentException

      dimension length must be > 0 :0

      at ucar.nc2.NetcdfFileWriteable.addDimension()
    2. NetCDF
      NetcdfFileWriteable.addDimension
      1. ucar.nc2.NetcdfFileWriteable.addDimension(NetcdfFileWriteable.java:247)
      1 frame
    3. au.org.emii
      Main.main
      1. au.org.emii.ncdfgenerator.DimensionImpl.define(DimensionImpl.java:26)
      2. au.org.emii.ncdfgenerator.NcdfEncoder.writeNext(NcdfEncoder.java:188)
      3. au.org.emii.ncdfgenerator.Main.main(Main.java:110)
      3 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.codehaus.mojo
      ExecJavaMojo$1.run
      1. org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame