[GeoNetwork-devel] Java NIO NoSuchFileException

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File : /home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException: file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file :/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd exists.

Is there any migration steps to be applied to schema plugin related to the NIO change ?

Thanks.

Francois

Hi Francois,

There shouldn’t be any migration steps needed. Did you get this when starting the server? How did you run it?

Jesse

···

On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File : /home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException: file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file :/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd exists.

Is there any migration steps to be applied to schema plugin related to the NIO change ?

Thanks.

Francois


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

2014-11-24 10:59 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi Francois,

There shouldn't be any migration steps needed. Did you get this when
starting the server? How did you run it?

Yep, starting with mvn jetty:run

Francois

Jesse

On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <fx.prunayre@anonymised.com
> wrote:

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File
  :
/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException:
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at
sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at
java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file
:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
exists.

Is there any migration steps to be applied to schema plugin related to
the NIO change ?

Thanks.

Francois

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Where is that plugin defined?

Can I get it so I can test it?

Jesse

On Mon, Nov 24, 2014 at 11:00 AM, Francois Prunayre <fx.prunayre@anonymised.com>
wrote:

2014-11-24 10:59 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi Francois,

There shouldn't be any migration steps needed. Did you get this when
starting the server? How did you run it?

Yep, starting with mvn jetty:run

Francois

Jesse

On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <
fx.prunayre@anonymised.com> wrote:

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File
    :
/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException:
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at
sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at
java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file
:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
exists.

Is there any migration steps to be applied to schema plugin related to
the NIO change ?

Thanks.

Francois

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

2014-11-24 11:04 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Where is that plugin defined?

Can I get it so I can test it?

https://github.com/geonetwork/schema-plugins/tree/develop/iso19115-3

Jesse

On Mon, Nov 24, 2014 at 11:00 AM, Francois Prunayre <fx.prunayre@anonymised.com
> wrote:

2014-11-24 10:59 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi Francois,

There shouldn't be any migration steps needed. Did you get this when
starting the server? How did you run it?

Yep, starting with mvn jetty:run

Francois

Jesse

On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <
fx.prunayre@anonymised.com> wrote:

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File
    :
/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException:
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at
sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at
sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at
java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file
:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
exists.

Is there any migration steps to be applied to schema plugin related to
the NIO change ?

Thanks.

Francois

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration &
more
Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

I have a couple things I need to look at first but I will try to get to this today or tomorrow Is that soon enough?

···

On Mon, Nov 24, 2014 at 11:05 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

2014-11-24 11:04 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

https://github.com/geonetwork/schema-plugins/tree/develop/iso19115-3

Where is that plugin defined?

Can I get it so I can test it?

Jesse

On Mon, Nov 24, 2014 at 11:00 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

2014-11-24 10:59 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi Francois,

There shouldn’t be any migration steps needed. Did you get this when starting the server? How did you run it?

Yep, starting with mvn jetty:run

Francois

Jesse

On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File : /home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException: file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file :/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd exists.

Is there any migration steps to be applied to schema plugin related to the NIO change ?

Thanks.

Francois


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Maybe not related with this, in Windows I get a java.nio.file.InvalidPathException for schema_plugins/iso19115-3/schema/others/gco/gco.xsd file when I run maven jetty:run

2014-11-24 13:24:48,421 INFO [jeeves.apphand] - - Schema plugins directory: C:\Users\JuanLuis\Documents\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schema_plugins
2014-11-24 13:24:48,426 INFO [jeeves.apphand] - - Schema Catalog File : C:\Users\JuanLuis\Documents\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schemaplugin-uri-catalog.xml
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Users/JuanLuis/Documents/Projects/workspace-web-editor/metadata-editor-views/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at org.fao.geonet.utils.IO.toPath(IO.java:233)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:719)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.load(SchemaLoader.java:109)
at org.fao.geonet.kernel.SchemaManager.addSchema(SchemaManager.java:924)
at org.fao.geonet.kernel.SchemaManager.processSchema(SchemaManager.java:1271)
at org.fao.geonet.kernel.SchemaManager.configure(SchemaManager.java:185)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:256)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:453)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:179)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:83)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:519)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:331)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:742)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:280)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
2014-11-24 13:24:51.805:INFO:/geonetwork:Initializing Spring FrameworkServlet ‘spring’
2014-11-24 13:24:51,806 INFO [jeeves.config.springutil.JeevesDispatcherServlet] - FrameworkServlet ‘spring’: initializa
tion started
2014-11-24 13:24:55,079 INFO [jeeves.config.springutil.JeevesDispatcherServlet] - FrameworkServlet ‘spring’: initializa
tion completed in 3272 ms
2014-11-24 13:24:55.086:INFO:oejs.AbstractConnector:Started SocketConnector@anonymised.com:8080
2014-11-24 13:24:56.119:INFO:oejus.SslContextFactory:Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [
SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
2014-11-24 13:24:56.150:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com:8443
[INFO] Started Jetty Server

···

On Mon, Nov 24, 2014 at 12:57 PM, Jesse Eichar <jesse.eichar@anonymised.com.189…> wrote:

I have a couple things I need to look at first but I will try to get to this today or tomorrow Is that soon enough?


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Mon, Nov 24, 2014 at 11:05 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

2014-11-24 11:04 GMT+01:00 Jesse Eichar <jesse.eichar@…189…>:

https://github.com/geonetwork/schema-plugins/tree/develop/iso19115-3

Where is that plugin defined?

Can I get it so I can test it?

Jesse

On Mon, Nov 24, 2014 at 11:00 AM, Francois Prunayre <fx.prunayre@anonymised.com…> wrote:

2014-11-24 10:59 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi Francois,

There shouldn’t be any migration steps needed. Did you get this when starting the server? How did you run it?

Yep, starting with mvn jetty:run

Francois

Jesse

On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File : /home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException: file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file :/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd exists.

Is there any migration steps to be applied to schema plugin related to the NIO change ?

Thanks.

Francois


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

It looks to be related to the XmlResolver

This http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
is resolved as
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd

and should be something like file:///home… or on windows file:///c: probably.

Digging the issue…

Francois

2014-11-24 13:31 GMT+01:00 Juan Luis Rodríguez Ponce <juanluisrp@anonymised.com>:

Maybe not related with this, in Windows I get a java.nio.file.InvalidPathException for schema_plugins/iso19115-3/schema/others/gco/gco.xsd file when I run maven jetty:run

2014-11-24 13:24:48,421 INFO [jeeves.apphand] - - Schema plugins directory: C:\Users\JuanLuis\Documents\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schema_plugins
2014-11-24 13:24:48,426 INFO [jeeves.apphand] - - Schema Catalog File : C:\Users\JuanLuis\Documents\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schemaplugin-uri-catalog.xml
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Users/JuanLuis/Documents/Projects/workspace-web-editor/metadata-editor-views/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at org.fao.geonet.utils.IO.toPath(IO.java:233)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:719)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.load(SchemaLoader.java:109)
at org.fao.geonet.kernel.SchemaManager.addSchema(SchemaManager.java:924)
at org.fao.geonet.kernel.SchemaManager.processSchema(SchemaManager.java:1271)
at org.fao.geonet.kernel.SchemaManager.configure(SchemaManager.java:185)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:256)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:453)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:179)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:83)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:519)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:331)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:742)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:280)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
2014-11-24 13:24:51.805:INFO:/geonetwork:Initializing Spring FrameworkServlet ‘spring’
2014-11-24 13:24:51,806 INFO [jeeves.config.springutil.JeevesDispatcherServlet] - FrameworkServlet ‘spring’: initializa
tion started
2014-11-24 13:24:55,079 INFO [jeeves.config.springutil.JeevesDispatcherServlet] - FrameworkServlet ‘spring’: initializa
tion completed in 3272 ms
2014-11-24 13:24:55.086:INFO:oejs.AbstractConnector:Started SocketConnector@anonymised.com:8080
2014-11-24 13:24:56.119:INFO:oejus.SslContextFactory:Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [
SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
2014-11-24 13:24:56.150:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com:8443
[INFO] Started Jetty Server

On Mon, Nov 24, 2014 at 12:57 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

I have a couple things I need to look at first but I will try to get to this today or tomorrow Is that soon enough?

On Mon, Nov 24, 2014 at 11:05 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

2014-11-24 11:04 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Where is that plugin defined?

Can I get it so I can test it?

https://github.com/geonetwork/schema-plugins/tree/develop/iso19115-3

Jesse

On Mon, Nov 24, 2014 at 11:00 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

2014-11-24 10:59 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi Francois,

There shouldn’t be any migration steps needed. Did you get this when starting the server? How did you run it?

Yep, starting with mvn jetty:run

Francois

Jesse

On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi, using develop branch and the iso19115-3 schema plugin, I have now

2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File : /home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException: file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)

Even if the file :/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd exists.

Is there any migration steps to be applied to schema plugin related to the NIO change ?

Thanks.

Francois


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@anonymised.comforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Mon, Nov 24, 2014 at 3:16 PM, Francois Prunayre
<fx.prunayre@anonymised.com> wrote:

It looks to be related to the XmlResolver

This
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
is resolved as
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd

and should be something like file:///home... or on windows file:///c:
probably.

Digging the issue...

Francois

In case it helps:

Using develop branch (latest, today, now), I can compile with no tests
and run (with jetty:run) with no problem. I fixed another problem
related to NIO, already pushed[1].

If I run the tests, it fails to me, but on another point. Still
checking if it is my fault:

Running org.fao.geonet.utils.GeonetHttpRequestFactoryTest
[main] ERROR IOTest.testDeleteFileDirSwallowError -
/tmp/junit963702126737737708/src/main/java
java.nio.file.NoSuchFileException: /tmp/junit963702126737737708/src/main/java
        at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
        at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
        at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
        at java.nio.file.Files.delete(Files.java:1126)
        at org.fao.geonet.utils.IO.deleteFile(IO.java:88)
        at org.fao.geonet.utils.IO.deleteFile(IO.java:83)
        at org.fao.geonet.utils.AbstractIOTest.testDeleteFileDirSwallowError(AbstractIOTest.java:39)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
        at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
        at org.junit.rules.RunRules.evaluate(RunRules.java:18)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

[1] https://github.com/geonetwork/core-geonetwork/commit/bb5ab673e9d61577f9ab1f8fd455afaae11bda6f

Definitely, there was no error on my computer, it is the findbugs that
runs after the test who is failing.

So, latest develop works on $ mvn -version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /opt/apache-maven-3.2.1
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: es_ES, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: "unix"

In case this is useful to you.

On Mon, Nov 24, 2014 at 3:23 PM, María Arias de Reyna <delawen@anonymised.com.> wrote:

On Mon, Nov 24, 2014 at 3:16 PM, Francois Prunayre
<fx.prunayre@anonymised.com> wrote:

It looks to be related to the XmlResolver

This
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
is resolved as
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd

and should be something like file:///home... or on windows file:///c:
probably.

Digging the issue...

Francois

In case it helps:

Using develop branch (latest, today, now), I can compile with no tests
and run (with jetty:run) with no problem. I fixed another problem
related to NIO, already pushed[1].

If I run the tests, it fails to me, but on another point. Still
checking if it is my fault:

Running org.fao.geonet.utils.GeonetHttpRequestFactoryTest
[main] ERROR IOTest.testDeleteFileDirSwallowError -
/tmp/junit963702126737737708/src/main/java
java.nio.file.NoSuchFileException: /tmp/junit963702126737737708/src/main/java
        at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
        at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
        at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
        at java.nio.file.Files.delete(Files.java:1126)
        at org.fao.geonet.utils.IO.deleteFile(IO.java:88)
        at org.fao.geonet.utils.IO.deleteFile(IO.java:83)
        at org.fao.geonet.utils.AbstractIOTest.testDeleteFileDirSwallowError(AbstractIOTest.java:39)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
        at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
        at org.junit.rules.RunRules.evaluate(RunRules.java:18)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

[1] https://github.com/geonetwork/core-geonetwork/commit/bb5ab673e9d61577f9ab1f8fd455afaae11bda6f

I now finished the other tasks I needed to do so I can look into this now. I should have it fixed quickly. I suspect the issue is that I got it working on windows but not linux. I will run the tests and the application in my VM.

Jesse

···

On Mon, Nov 24, 2014 at 3:47 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

Definitely, there was no error on my computer, it is the findbugs that
runs after the test who is failing.

So, latest develop works on $ mvn -version
Java HotSpot™ 64-Bit Server VM warning: ignoring option
MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /opt/apache-maven-3.2.1
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: es_ES, platform encoding: UTF-8
OS name: “linux”, version: “3.2.0-4-amd64”, arch: “amd64”, family: “unix”

In case this is useful to you.

On Mon, Nov 24, 2014 at 3:23 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Mon, Nov 24, 2014 at 3:16 PM, Francois Prunayre
<fx.prunayre@anonymised.com> wrote:

It looks to be related to the XmlResolver

This
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
is resolved as
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd

and should be something like file:///home… or on windows file:///c:
probably.

Digging the issue…

Francois

In case it helps:

Using develop branch (latest, today, now), I can compile with no tests
and run (with jetty:run) with no problem. I fixed another problem
related to NIO, already pushed[1].

If I run the tests, it fails to me, but on another point. Still
checking if it is my fault:

Running org.fao.geonet.utils.GeonetHttpRequestFactoryTest
[main] ERROR IOTest.testDeleteFileDirSwallowError -
/tmp/junit963702126737737708/src/main/java
java.nio.file.NoSuchFileException: /tmp/junit963702126737737708/src/main/java
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1126)
at org.fao.geonet.utils.IO.deleteFile(IO.java:88)
at org.fao.geonet.utils.IO.deleteFile(IO.java:83)
at org.fao.geonet.utils.AbstractIOTest.testDeleteFileDirSwallowError(AbstractIOTest.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
at org.junit.rules.RunRules.evaluate(RunRules.java:18)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

[1] https://github.com/geonetwork/core-geonetwork/commit/bb5ab673e9d61577f9ab1f8fd455afaae11bda6f


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

I just push a fix for iso19115-3. It works on windows and my linux VM.

Jesse

···

On Mon, Nov 24, 2014 at 4:25 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

I now finished the other tasks I needed to do so I can look into this now. I should have it fixed quickly. I suspect the issue is that I got it working on windows but not linux. I will run the tests and the application in my VM.

Jesse

On Mon, Nov 24, 2014 at 3:47 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

Definitely, there was no error on my computer, it is the findbugs that
runs after the test who is failing.

So, latest develop works on $ mvn -version
Java HotSpot™ 64-Bit Server VM warning: ignoring option
MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /opt/apache-maven-3.2.1
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: es_ES, platform encoding: UTF-8
OS name: “linux”, version: “3.2.0-4-amd64”, arch: “amd64”, family: “unix”

In case this is useful to you.

On Mon, Nov 24, 2014 at 3:23 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Mon, Nov 24, 2014 at 3:16 PM, Francois Prunayre
<fx.prunayre@anonymised.com> wrote:

It looks to be related to the XmlResolver

This
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
is resolved as
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd

and should be something like file:///home… or on windows file:///c:
probably.

Digging the issue…

Francois

In case it helps:

Using develop branch (latest, today, now), I can compile with no tests
and run (with jetty:run) with no problem. I fixed another problem
related to NIO, already pushed[1].

If I run the tests, it fails to me, but on another point. Still
checking if it is my fault:

Running org.fao.geonet.utils.GeonetHttpRequestFactoryTest
[main] ERROR IOTest.testDeleteFileDirSwallowError -
/tmp/junit963702126737737708/src/main/java
java.nio.file.NoSuchFileException: /tmp/junit963702126737737708/src/main/java
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1126)
at org.fao.geonet.utils.IO.deleteFile(IO.java:88)
at org.fao.geonet.utils.IO.deleteFile(IO.java:83)
at org.fao.geonet.utils.AbstractIOTest.testDeleteFileDirSwallowError(AbstractIOTest.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
at org.junit.rules.RunRules.evaluate(RunRules.java:18)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

[1] https://github.com/geonetwork/core-geonetwork/commit/bb5ab673e9d61577f9ab1f8fd455afaae11bda6f


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Thanks Jesse.

···

2014-11-24 18:33 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

I just push a fix for iso19115-3. It works on windows and my linux VM.

Jesse

On Mon, Nov 24, 2014 at 4:25 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

I now finished the other tasks I needed to do so I can look into this now. I should have it fixed quickly. I suspect the issue is that I got it working on windows but not linux. I will run the tests and the application in my VM.

Jesse

On Mon, Nov 24, 2014 at 3:47 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

Definitely, there was no error on my computer, it is the findbugs that
runs after the test who is failing.

So, latest develop works on $ mvn -version
Java HotSpot™ 64-Bit Server VM warning: ignoring option
MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /opt/apache-maven-3.2.1
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: es_ES, platform encoding: UTF-8
OS name: “linux”, version: “3.2.0-4-amd64”, arch: “amd64”, family: “unix”

In case this is useful to you.

On Mon, Nov 24, 2014 at 3:23 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Mon, Nov 24, 2014 at 3:16 PM, Francois Prunayre
<fx.prunayre@anonymised.com> wrote:

It looks to be related to the XmlResolver

This
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
is resolved as
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd

and should be something like file:///home… or on windows file:///c:
probably.

Digging the issue…

Francois

In case it helps:

Using develop branch (latest, today, now), I can compile with no tests
and run (with jetty:run) with no problem. I fixed another problem
related to NIO, already pushed[1].

If I run the tests, it fails to me, but on another point. Still
checking if it is my fault:

Running org.fao.geonet.utils.GeonetHttpRequestFactoryTest
[main] ERROR IOTest.testDeleteFileDirSwallowError -
/tmp/junit963702126737737708/src/main/java
java.nio.file.NoSuchFileException: /tmp/junit963702126737737708/src/main/java
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1126)
at org.fao.geonet.utils.IO.deleteFile(IO.java:88)
at org.fao.geonet.utils.IO.deleteFile(IO.java:83)
at org.fao.geonet.utils.AbstractIOTest.testDeleteFileDirSwallowError(AbstractIOTest.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
at org.junit.rules.RunRules.evaluate(RunRules.java:18)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

[1] https://github.com/geonetwork/core-geonetwork/commit/bb5ab673e9d61577f9ab1f8fd455afaae11bda6f


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Let me know if you have any other issues.

···

2014-11-24 18:33 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com89…>:

I just push a fix for iso19115-3. It works on windows and my linux VM.

Jesse

On Mon, Nov 24, 2014 at 4:25 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

I now finished the other tasks I needed to do so I can look into this now. I should have it fixed quickly. I suspect the issue is that I got it working on windows but not linux. I will run the tests and the application in my VM.

Jesse

On Mon, Nov 24, 2014 at 3:47 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

Definitely, there was no error on my computer, it is the findbugs that
runs after the test who is failing.

So, latest develop works on $ mvn -version
Java HotSpot™ 64-Bit Server VM warning: ignoring option
MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /opt/apache-maven-3.2.1
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: es_ES, platform encoding: UTF-8
OS name: “linux”, version: “3.2.0-4-amd64”, arch: “amd64”, family: “unix”

In case this is useful to you.

On Mon, Nov 24, 2014 at 3:23 PM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Mon, Nov 24, 2014 at 3:16 PM, Francois Prunayre
<fx.prunayre@anonymised.com> wrote:

It looks to be related to the XmlResolver

This
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
is resolved as
file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd

and should be something like file:///home… or on windows file:///c:
probably.

Digging the issue…

Francois

In case it helps:

Using develop branch (latest, today, now), I can compile with no tests
and run (with jetty:run) with no problem. I fixed another problem
related to NIO, already pushed[1].

If I run the tests, it fails to me, but on another point. Still
checking if it is my fault:

Running org.fao.geonet.utils.GeonetHttpRequestFactoryTest
[main] ERROR IOTest.testDeleteFileDirSwallowError -
/tmp/junit963702126737737708/src/main/java
java.nio.file.NoSuchFileException: /tmp/junit963702126737737708/src/main/java
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1126)
at org.fao.geonet.utils.IO.deleteFile(IO.java:88)
at org.fao.geonet.utils.IO.deleteFile(IO.java:83)
at org.fao.geonet.utils.AbstractIOTest.testDeleteFileDirSwallowError(AbstractIOTest.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
at org.junit.rules.RunRules.evaluate(RunRules.java:18)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

[1] https://github.com/geonetwork/core-geonetwork/commit/bb5ab673e9d61577f9ab1f8fd455afaae11bda6f


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

···

On Mon, Nov 24, 2014 at 6:45 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

Let me know if you have any other issues.

Still the same issue for me:

2014-11-25 09:14:04,120 INFO [jeeves.apphand] - - Schema manager…
2014-11-25 09:14:04,120 INFO [jeeves.apphand] - - Schema plugins directory: C:\Users\JuanLuis\Do
cuments\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schema_plugins

2014-11-25 09:14:04,120 INFO [jeeves.apphand] - - Schema Catalog File : C:\Users\JuanLuis\Do
cuments\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schemaplugin-u
ri-catalog.xml
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Users/JuanLuis/Documents/Projects/worksp
ace-web-editor/metadata-editor-views/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco
/gco.xsd
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at org.fao.geonet.utils.IO.toPath(IO.java:233)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:719)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.load(SchemaLoader.java:109)
at org.fao.geonet.kernel.SchemaManager.addSchema(SchemaManager.java:924)
at org.fao.geonet.kernel.SchemaManager.processSchema(SchemaManager.java:1271)
at org.fao.geonet.kernel.SchemaManager.configure(SchemaManager.java:185)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:256)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:453)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:179)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:83)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:519)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:331)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

This is my platform:

Windows 8.1 x64

java version “1.7.0_67”
Java™ SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot™ Client VM (build 24.65-b04, mixed mode, sharing)