Jesse,
I think the commit you did on Jul 6 "Fix for a potential short term memory
leak" commit "f823a9229d29059b717c9ce73c2d14b1b4595692" seems to have broken
something.
If I do a fresh installation from the last nightly build, start the
server(using all the defaults) and then go the the home page I get the error
below. I also tried to build it myself and get the same error. However if I
revert the changes "git revert -n f823a92" then it seems to work fine which
is why it seems that this commit is causing an issue.
Raised exception while starting appl handler. Skipped.
java.lang.RuntimeException: Unable to create types mapping at
org.fao.geonet.kernel.search.SearchManager$Spatial.<init>(SearchManager.java:1509)
at org.fao.geonet.kernel.search.SearchManager.<init>(SearchManager.java:509)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:317) at
jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:541) at
jeeves.server.JeevesEngine.init(JeevesEngine.java:170) at
jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:85) at
javax.servlet.GenericServlet.init(GenericServlet.java:241) at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:432)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:763)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:245)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1158)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:587)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:436) at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:479)
at
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:136)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileChanged(ScanningAppProvider.java:154)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileChanged(ScanningAppProvider.java:55)
at org.eclipse.jetty.util.Scanner.reportChange(Scanner.java:548) at
org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:412) at
org.eclipse.jetty.util.Scanner.scan(Scanner.java:355) at
org.eclipse.jetty.util.Scanner$1.run(Scanner.java:306) at
java.util.TimerThread.mainLoop(Timer.java:534) at
java.util.TimerThread.run(Timer.java:484) Caused by:
java.lang.NoSuchMethodException:
org.fao.geonet.kernel.search.spatial.ContainsFilter.<init>(org.apache.lucene.search.Query,
com.vividsolutions.jts.geom.Geometry, org.geotools.data.FeatureSource,
com.vividsolutions.jts.index.SpatialIndex) at
java.lang.Class.getConstructor0(Class.java:2723) at
java.lang.Class.getConstructor(Class.java:1674) at
org.fao.geonet.kernel.search.SearchManager.constructor(SearchManager.java:1748)
at
org.fao.geonet.kernel.search.SearchManager.access$100(SearchManager.java:111)
at
org.fao.geonet.kernel.search.SearchManager$Spatial.<init>(SearchManager.java:1496)
... 27 more
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Nightly-build-fails-tp4988475.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Hi,
There are 2 commits that need to work together. I pushed that before noticing the error you are reporting. but the following commit should repair that issue. I have ran trunk since that commit without problems. Are you sure you have both commits? (It is Jul 9: fixed reflection used to create spatial filters)
Testing now to verify that it works here locally still.
Jesse.
On Mon, Jul 16, 2012 at 1:57 AM, ianwallen <ianwallen@anonymised.com> wrote:
Jesse,
I think the commit you did on Jul 6 “Fix for a potential short term memory
leak” commit “f823a9229d29059b717c9ce73c2d14b1b4595692” seems to have broken
something.
If I do a fresh installation from the last nightly build, start the
server(using all the defaults) and then go the the home page I get the error
below. I also tried to build it myself and get the same error. However if I
revert the changes “git revert -n f823a92” then it seems to work fine which
is why it seems that this commit is causing an issue.
Raised exception while starting appl handler. Skipped.
java.lang.RuntimeException: Unable to create types mapping at
org.fao.geonet.kernel.search.SearchManager$Spatial.(SearchManager.java:1509)
at org.fao.geonet.kernel.search.SearchManager.(SearchManager.java:509)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:317) at
jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:541) at
jeeves.server.JeevesEngine.init(JeevesEngine.java:170) at
jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:85) at
javax.servlet.GenericServlet.init(GenericServlet.java:241) at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:432)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:763)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:245)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1158)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:587)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:436) at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:479)
at
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:136)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileChanged(ScanningAppProvider.java:154)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileChanged(ScanningAppProvider.java:55)
at org.eclipse.jetty.util.Scanner.reportChange(Scanner.java:548) at
org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:412) at
org.eclipse.jetty.util.Scanner.scan(Scanner.java:355) at
org.eclipse.jetty.util.Scanner$1.run(Scanner.java:306) at
java.util.TimerThread.mainLoop(Timer.java:534) at
java.util.TimerThread.run(Timer.java:484) Caused by:
java.lang.NoSuchMethodException:
org.fao.geonet.kernel.search.spatial.ContainsFilter.(org.apache.lucene.search.Query,
com.vividsolutions.jts.geom.Geometry, org.geotools.data.FeatureSource,
com.vividsolutions.jts.index.SpatialIndex) at
java.lang.Class.getConstructor0(Class.java:2723) at
java.lang.Class.getConstructor(Class.java:1674) at
org.fao.geonet.kernel.search.SearchManager.constructor(SearchManager.java:1748)
at
org.fao.geonet.kernel.search.SearchManager.access$100(SearchManager.java:111)
at
org.fao.geonet.kernel.search.SearchManager$Spatial.(SearchManager.java:1496)
… 27 more
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/Nightly-build-fails-tp4988475.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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
Yes. I just did a clean install and verified that the code in the repository does work. But you need both commits.
Jesse
On Mon, Jul 16, 2012 at 7:27 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:
Hi,
There are 2 commits that need to work together. I pushed that before noticing the error you are reporting. but the following commit should repair that issue. I have ran trunk since that commit without problems. Are you sure you have both commits? (It is Jul 9: fixed reflection used to create spatial filters)
Testing now to verify that it works here locally still.
Jesse.
On Mon, Jul 16, 2012 at 1:57 AM, ianwallen <ianwallen@anonymised.com> wrote:
Jesse,
I think the commit you did on Jul 6 “Fix for a potential short term memory
leak” commit “f823a9229d29059b717c9ce73c2d14b1b4595692” seems to have broken
something.
If I do a fresh installation from the last nightly build, start the
server(using all the defaults) and then go the the home page I get the error
below. I also tried to build it myself and get the same error. However if I
revert the changes “git revert -n f823a92” then it seems to work fine which
is why it seems that this commit is causing an issue.
Raised exception while starting appl handler. Skipped.
java.lang.RuntimeException: Unable to create types mapping at
org.fao.geonet.kernel.search.SearchManager$Spatial.(SearchManager.java:1509)
at org.fao.geonet.kernel.search.SearchManager.(SearchManager.java:509)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:317) at
jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:541) at
jeeves.server.JeevesEngine.init(JeevesEngine.java:170) at
jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:85) at
javax.servlet.GenericServlet.init(GenericServlet.java:241) at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:432)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:763)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:245)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1158)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:587)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:436) at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:479)
at
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:136)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileChanged(ScanningAppProvider.java:154)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileChanged(ScanningAppProvider.java:55)
at org.eclipse.jetty.util.Scanner.reportChange(Scanner.java:548) at
org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:412) at
org.eclipse.jetty.util.Scanner.scan(Scanner.java:355) at
org.eclipse.jetty.util.Scanner$1.run(Scanner.java:306) at
java.util.TimerThread.mainLoop(Timer.java:534) at
java.util.TimerThread.run(Timer.java:484) Caused by:
java.lang.NoSuchMethodException:
org.fao.geonet.kernel.search.spatial.ContainsFilter.(org.apache.lucene.search.Query,
com.vividsolutions.jts.geom.Geometry, org.geotools.data.FeatureSource,
com.vividsolutions.jts.index.SpatialIndex) at
java.lang.Class.getConstructor0(Class.java:2723) at
java.lang.Class.getConstructor(Class.java:1674) at
org.fao.geonet.kernel.search.SearchManager.constructor(SearchManager.java:1748)
at
org.fao.geonet.kernel.search.SearchManager.access$100(SearchManager.java:111)
at
org.fao.geonet.kernel.search.SearchManager$Spatial.(SearchManager.java:1496)
… 27 more
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/Nightly-build-fails-tp4988475.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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 the 2.8 branch, I only see the "Fix for a potential short term memory leak
… " - I don't see the "fixed reflection used to create spatial filters"
https://github.com/geonetwork/core-geonetwork/commits/2.8.x
Did you forget to put the second change on the 2.8 branch?
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Nightly-build-fails-tp4988475p4988584.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Ahhh. I missed the part about 2.8. In fact I thought I had only put the fix on master. I have just put it on 2.8 as well.
Thanks for keeping me honest,
Jesse
On Mon, Jul 16, 2012 at 3:20 PM, ianwallen <ianwallen@anonymised.com> wrote:
On the 2.8 branch, I only see the "Fix for a potential short term memory leak
… " - I don’t see the “fixed reflection used to create spatial filters”
https://github.com/geonetwork/core-geonetwork/commits/2.8.x
Did you forget to put the second change on the 2.8 branch?
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/Nightly-build-fails-tp4988475p4988584.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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
Jesse,
It it possible that you also missed it for version 2.6 as well?
I see the commit for "Fix for a potential short term memory leak" but I
don't see "fixed reflection used to create spatial filters"
The nightly builds seem like they still built properly until recently so
maybe this change does not apply to the 2.6 branch. I just thought I would
bring it up just to make sure.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Nightly-build-fails-tp4988475p4992709.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Anything is possible. I had to do the merge differently since it was not as straight forward a merge to 2.6.x but I had a client request it and I had the system running or so I thought.
But I will take a second look.
Jesse
On Thu, Aug 2, 2012 at 4:08 PM, ianwallen <ianwallen@anonymised.com> wrote:
Jesse,
It it possible that you also missed it for version 2.6 as well?
I see the commit for “Fix for a potential short term memory leak” but I
don’t see “fixed reflection used to create spatial filters”
The nightly builds seem like they still built properly until recently so
maybe this change does not apply to the 2.6 branch. I just thought I would
bring it up just to make sure.
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/Nightly-build-fails-tp4988475p4992709.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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