Bug #789
options, arguments
0%
Description
Hi,
below some problems using ~/bin/stationxml-converter-1.0.9.jar
My configuration : linux fc23.x86_64, java jre1.8.0_73
1) FROM XML to SEED
Using stationxml-converter-1.0.8-rc21.jar, i convert station xml file into seed file :
cat G1982.AIS.FULL.xml | java -jar ~/bin/stationxml-converter-1.0.8-rc21.jar --seed -o test.seed -
(with some warning regarding a ~ ..
)
but i got an error with stationxml-converter-1.0.9.jar :
cat G1982.AIS.FULL.xml | java -jar ~/bin/stationxml-converter-1.0.9.jar --seed -o test.seed -
Error: "-" is not a valid option
Usage:
java -jar java -jar stationxml-converter.jar [options...] arguments... \
2) USING other options :
java -jar ~/bin/stationxml-converter-1.0.9.jar --seed -i G1982.AIS.FULL.xml -o test.seed
never ends, no complain
Thanks in advance for your feedback
Catherine PĂ©quegnat
RESIf-DC
History
#1 Updated by Yazan Suleiman over 8 years ago
- Status changed from New to Feedback
This runs in my case. Robert can you please confirm if this is still an issue.
#2 Updated by Adam Clark over 8 years ago
Email from original author:
Good morning, Some more material (test.xml includes UTF8 char) [pequegnc@ist-156-7 tmp]$ java -jar ~/bin/stationxml-converter-1.0.9.jar --sender RESIF --source RESIF --seed -o toto.seed test.xml java.net.UnknownHostException: service.iris.edu at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933) at edu.iris.dmc.service.BaseService.doVersionCheck(BaseService.java:107) at edu.iris.dmc.service.BaseService.validateVersion(BaseService.java:60) at edu.iris.dmc.service.BaseService.validateVersion(BaseService.java:55) at edu.iris.dmc.service.ServiceUtil.getStationService(ServiceUtil.java:91) at edu.iris.dmc.service.ServiceUtil.getStationService(ServiceUtil.java:76) at edu.iris.converter.SeedPrinter.<init>(SeedPrinter.java:75) at edu.iris.converter.Application.run(Application.java:100) at org.springframework.boot.SpringApplication.runCommandLineRunners(SpringApplication.java:672) at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:690) at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) at edu.iris.converter.Application.main(Application.java:73) java.lang.NullPointerException at edu.iris.converter.SeedPrinter.process(SeedPrinter.java:101) at edu.iris.converter.Application.run(Application.java:176) at org.springframework.boot.SpringApplication.runCommandLineRunners(SpringApplication.java:672) at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:690) at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) at edu.iris.converter.Application.main(Application.java:73) java.lang.NullPointerException[pequegnc@ist-156-7 tmp]$ The run never ends. I tried to unset http_proxy without more success. My conf $ java -version java version "1.8.0_73" Java(TM) SE Runtime Environment (build 1.8.0_73-b02) Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode) $ uname -a Linux ist-156-7 4.4.6-301.fc23.x86_64 #1 SMP Wed Mar 30 16:43:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Thanks in advance Catherine PĂ©quegnat