NOAA-PMEL / uafnciso

The Unlicense
4 stars 4 forks source link

example in README.md doesn't work #7

Closed zdefne-usgs closed 6 years ago

zdefne-usgs commented 6 years ago
java -Xms1024m -Xmx1024m -jar ncISO-2.3.4.jar -ts http://www.ngdc.noaa.gov/thredds/catalog.xml -num 1 -depth 20 -iso true

returns

 INFO [main] (ServiceController.java:63) - Running service controller...
 INFO [main] (ServiceController.java:67) - Launch start time: 10 Jan 2018 05:51
 INFO [main] (ThreddsDatasetTree.java:25) - displayName=ROOT
 INFO [main] (DatasetTreeService.java:254) - rootNode=thredds
ERROR [main] (DatasetTreeService.java:328) - thredds.server.metadata.exception.ThreddsUtilitiesException: ----Catalog Validation
**Fatal:  InvCatalogFactory.readXML failed
 Exception= org.jdom2.input.JDOMParseException Error on line -1: Premature end of file.
 fatalMessages= *** XML parser fatalError (-1:-1)= Premature end of file.

 errMessages=
 warnMessages=
noaaroland commented 6 years ago

Changed to a more reliable example catalog.

zdefne-usgs commented 6 years ago

Thanks! 2.3.5 works with no problem in my case. But the new example gives the following error. FYI.

 INFO [main] (ServiceController.java:63) - Running service controller...
 INFO [main] (ServiceController.java:67) - Launch start time: 11 Jan 2018 09:39
ERROR [main] (ServiceController.java:73) - java.lang.StringIndexOutOfBoundsException: String index out of range: -1
noaaroland commented 6 years ago

Copy paste error. There is an extraneous "v" in the example. I fixed it.

zdefne-usgs commented 6 years ago

:+1: