On master line 110 is commented out <https://github.com/geotools/geotools/blob/master/modules/library/metadata/src/test/java/org/geotools/util/URLsTest.java#L110> :
// Had to remove, newer version of java fail with "java.net.MalformedURLException: Illegal // character found in host: '/'" when seeing this path // from GEOT-3300 urlToFile doesn't handle network paths correctly // URL url = new URL("file", "////oehhwsfs09", "/some/path/on/the/server/filename.nds"); // File windowsShareFile = URLs.urlToFile(url); // assertNotNull(windowsShareFile); What version are you running? -- Jody Garnett On Fri, 15 Nov 2019 at 08:48, fernando.m...@geo-solutions.it < fernando.m...@geo-solutions.it> wrote: > Hi all, > > Running Geotools tests I'm getting this strange error on gt-metadata > module: > > [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 0.018 s <<< FAILURE! - in org.geotools.util.URLsTest > [ERROR] testUrlToFile(org.geotools.util.URLsTest) Time elapsed: 0.009 s > <<< ERROR! > java.net.MalformedURLException: Illegal character found in host: '/' > at org.geotools.util.URLsTest.testUrlToFile(URLsTest.java:110) > > Is this a problem with my computer/OS/directory setup or a valid failure > on the code? > > I'm using ubuntu 18.04 64 bits and OpenJDK 8. > > Regards, > > Fernando Mino > > == > > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > > == > > Fernando Mino > > Software Engineer > > GeoSolutions S.A.S. > > Via di Montramito 3/A > > 55054 Massarosa (LU) > > Italy > > phone: +39 0584 962313 > > fax: +39 0584 1660272 > > http://www.geo-solutions.it > > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > > Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE > 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si > precisa che ogni circostanza inerente alla presente email (il suo > contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è > riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il > messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra > operazione è illecita. Le sarei comunque grato se potesse darmene notizia. > > This email is intended only for the person or entity to which it is > addressed and may contain information that is privileged, confidential or > otherwise protected from disclosure. We remind that - as provided by > European Regulation 2016/679 “GDPR” - copying, dissemination or use of this > e-mail or the information herein by anyone other than the intended > recipient is prohibited. If you have received this email by mistake, please > notify us immediately by telephone or e-mail. > > > _______________________________________________ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel >
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel