Community
Participate
Working Groups
Build ID: COSMOS-1.0.0-200809031641 Steps To Reproduce: 1.Open Cosmos command line client interface 2.Execute GraphQuery command, as below: On Linux and Windows Platform: ============================== COSMOS> GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 "/home/srinivas/cosmos/i13/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt" Missing <query filename> Only On Linux Platform: ===================== COSMOS> GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 /home/srinivas/cosmos/i13/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt result.out Command error: /home/srinivas/cosmos/i13/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt (No such file or directory) java.io.FileNotFoundException: /home/srinivas/cosmos/i13/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172) at org.eclipse.cosmos.dc.test.CmdGraphQuery.performAction(CommandEntry.java:406) at org.eclipse.cosmos.dc.test.CosmosCLI.handleCommand(CosmosCLI.java:263) at org.eclipse.cosmos.dc.test.CosmosCLI.getInput(CosmosCLI.java:104) at org.eclipse.cosmos.dc.test.CosmosCLI.main(CosmosCLI.java:78) More information:
Fix committed to CVS
I have verified this on latest i14 Week2 Driver (COSMOS-1.0.0-200809301142) and found one of the issue is still not resolved (see below). On linux box: =========== COSMOS> GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 /home/srinivas/cosmos/i14/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt result Command error: /home/srinivas/cosmos/i14/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt (No such file or directory) java.io.FileNotFoundException: /home/srinivas/cosmos/i14/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172) at org.eclipse.cosmos.dc.test.CmdGraphQuery.performAction(CommandEntry.java:406) at org.eclipse.cosmos.dc.test.CosmosCLI.handleCommand(CosmosCLI.java:263) at org.eclipse.cosmos.dc.test.CosmosCLI.getInput(CosmosCLI.java:104) at org.eclipse.cosmos.dc.test.CosmosCLI.main(CosmosCLI.java:78) All other combination of tests are working fine, both on linux and windows platforms. Linux: ======== All below queries are working fine, no issues found. a)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 /home/srinivas/cosmos/i14/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt -- Passed b)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 /home/srinivas/cosmos/i14/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt result -- Failed c)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 "/home/srinivas/cosmos/i14/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt" -- Passed d)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 "/home/srinivas/cosmos/i14/cosmos-demo/cosmos-client/cmdbfQuery/ExampleMDR/all-students.txt" result -- Passed Windows: ======== All below queries are working fine, no issues found. a)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 C:\cosmos\i14\cosmos-demo\cosmos-client\cmdbfQuery\ExampleMDR\all-students.txt -- Passed b)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 C:\cosmos\i14\cosmos-demo\cosmos-client\cmdbfQuery\ExampleMDR\all-students.txt result -- Passed c)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 "C:\cosmos\i14\cosmos-demo\cosmos-client\cmdbfQuery\ExampleMDR\all-students.txt" -- Passed d)GraphQuery http://www.eclipse.org/cosmos/examplemdr/4 "C:\cosmos\i14\cosmos-demo\cosmos-client\cmdbfQuery\ExampleMDR\all-students.txt" result -- Passed