UnknownHostException while running tests on fresh clone

Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UnknownHostException while running tests on fresh clone

Chris Farnham

Hello,

 

I apologize if I haven’t lurked/searched enough before sending this email.  Running ‘mvn install’ on a newly cloned scalax repository generates

the following error during testing.  Any help is appreciated.

 

Thank you,

Chris

 

 

- File URL...                                               EXCEPTION

java.net.UnknownHostException: c

        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)

        at java.net.Socket.connect(Socket.java:519)

        at java.net.Socket.connect(Socket.java:469)

        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)

        at sun.net.NetworkClient.openServer(NetworkClient.java:118)

        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)

        at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)

        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)

        at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)

        at scalax.io.InputStreamResource$.is$3(resources.scala:130)

        at scalax.io.InputStreamResource$$anonfun$url$1.apply(resources.scala:132)

        at scalax.io.InputStreamResource$$anonfun$url$1.apply(resources.scala:132)

        at scalax.io.InputStreamResource$$anon$13.unsafeOpen(resources.scala:113)

        at scalax.io.InputStreamResource$$anon$13.unsafeOpen(resources.scala:112)

        at scalax.io.CloseableResource$Wrapper$class.unsafeOpen(resources.scala:50)

        at scalax.io.InputStreamResource$$anon$2.unsafeOpen(resources.scala:74)

        at scalax.control.ManagedResource.acquireFor(resources.scala:70)

        at scalax.control.ManagedResource.map(resources.scala:66)

        at scalax.control.ManagedSequence.toList(resources.scala:411)

        at scalax.io.ReaderResource.readLines(resources.scala:183)

        at scalax.io.InputStreamResource.readLines(resources.scala:98)

        at InputStreamResourceTests$$anonfun$5.apply(resources.scala:78)

        at InputStreamResourceTests$$anonfun$5.apply(resources.scala:73)

        at scalax.testing.TestSuite$TestIs.fullTest$1(testing.scala:53)

        at scalax.testing.TestSuite$TestIs$$anonfun$is$1.apply(testing.scala:58)

        at scalax.testing.TestSuite$TestIs$$anonfun$is$1.apply(testing.scala:58)

        at scalax.testing.TestSuite$SingleTestCase.run(testing.scala:29)

        at scalax.testing.TestSuite$$anonfun$runThese$1.apply(testing.scala:94)

        at scalax.testing.TestSuite$$anonfun$runThese$1.apply(testing.scala:93)

        at scala.Iterator$class.foreach(Iterator.scala:414)

        at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:266)

        at scala.Iterable$class.foreach(Iterable.scala:256)

        at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:24)

        at scalax.testing.TestSuite.runThese(testing.scala:93)

        at scalax.testing.TestSuite.run(testing.scala:87)

        at scalax.testing.TestSuite$$anonfun$runThese$1.apply(testing.scala:94)

        at scalax.testing.TestSuite$$anonfun$runThese$1.apply(testing.scala:93)

        at scala.Iterator$class.foreach(Iterator.scala:414)

        at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:266)

        at scala.Iterable$class.foreach(Iterable.scala:256)

        at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:24)

        at scalax.testing.TestSuite.runThese(testing.scala:93)

        at scalax.testing.TestSuite.run(testing.scala:87)

        at scalax.testing.TestSuite$$anonfun$runThese$1.apply(testing.scala:94)

        at scalax.testing.TestSuite$$anonfun$runThese$1.apply(testing.scala:93)

        at scala.Iterator$class.foreach(Iterator.scala:414)

        at scala.collection.mutable.ListBuffer$$anon$1.foreach(ListBuffer.scala:266)

        at scala.Iterable$class.foreach(Iterable.scala:256)

        at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:24)

        at scalax.testing.TestSuite.runThese(testing.scala:93)

        at scalax.testing.TestSuite.run(testing.scala:87)

        at TestScalax.testScalax(main.scala:34)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.maven.surefire.testset.PojoTestSet.executeTestMethod(PojoTestSet.java:153)

        at org.apache.maven.surefire.testset.PojoTestSet.executeTestMethods(PojoTestSet.java:94)

        at org.apache.maven.surefire.testset.PojoTestSet.execute(PojoTestSet.java:75)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)

        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)

        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)

        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

 

Christopher Farnham
Senior Software Engineer
Decision Management Division
[hidden email]
617.491.3474 x562

Charles River Analytics
625 Mount Auburn Street
Cambridge, MA 02138
http://www.cra.com

 

 
 
 
 
THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records.