Project

General

Profile

Bug #5353

EcogridWriter doesn't work with the metacat built from trunk.

Added by Jing Tao over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
03/21/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5353

Description

When I used EcogridWriter to write metadata and data into dev.nceas' metadata, it worked file. I believe the version of the metadata is 1.9.3

I built my local metacat by revision 6013 from the svn trunk.
But when i used EcogridWriter to write metadata and data file into it, it gave me the following error:

EML document type: eml://ecoinformatics.org/eml-2.0.0
edu.ucsb.nceas.metacat.McdbDocNotFoundException: 2Could not find document doc.130074542695043
at edu.ucsb.nceas.metacat.IdentifierManager.getDocumentInfo(IdentifierManager.java:246)
at edu.ucsb.nceas.metacat.MetacatHandler.createSystemMetadata(MetacatHandler.java:3477)
at edu.ucsb.nceas.metacat.MetacatHandler.createSystemMetadata(MetacatHandler.java:3618)
at edu.ucsb.nceas.metacat.MetacatHandler.handleInsertOrUpdateAction(MetacatHandler.java:1862)
at edu.ucsb.nceas.metacat.MetaCatServlet.handleGetOrPost(MetaCatServlet.java:885)
at edu.ucsb.nceas.metacat.MetaCatServlet.doPost(MetaCatServlet.java:493)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)

History

#1 Updated by Matt Jones over 8 years ago

Probably due to EcoGrid entry path not being the same as others, and so parameters missing in DataONE system metadata calls. Chris and Chad created these functions, so I am assigning to Chris to debug.

#2 Updated by ben leinfelder almost 8 years ago

Is there a sample Kepler workflow we can use to debug this?

#3 Updated by ben leinfelder almost 8 years ago

I tried this out with Kepler 2.1, writing sample EML 2.0.0 and EML 2.1.0 metadata (and data files). All worked out fine for me.

#4 Updated by ben leinfelder almost 8 years ago

Both Jing and I were unable to replicate this bug testing against a more recent Metacat trunk build

#5 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5353

Also available in: Atom PDF