Error processing /api/v1/dataverses/[redacted]/datasets/:importddi: org.glassfish.jersey.server.ContainerException: edu.harvard.iq.dataverse.api.imports.ImportException: XMLStreamExceptionorg.codehaus.stax2.typed.TypedXMLStreamException: ParseError at [row,col]:[1,595]
Message: Element content can not contain child START_ELEMENT when using Typed Access methods
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/ce2bb1e2-c9ac-417c-aaae-7cc6d0578039o%40googlegroups.com.
The API should never return a 500 error so it sounds like you've found a bug. If you would create an issue, it would be most appreciated: https://github.com/IQSS/dataverse/issuesIn the issue it would be extremely helpful to have the DDI file you are testing with. Perhaps you can create a sanitized version that can be attached to the issue or linked from it. The same goes for your server.log so developers can see more of the stacktrace. Alternatively, you can email these files to sup...@dataverse.orgThanks,Phil
On Wed, Jul 8, 2020 at 12:22 PM Paul Lesack <paul....@ubc.ca> wrote:
Hi Dataverse support group,--
I'm now having issues importing DDI xml since the upgrade of our server from 4.18 to 4.20. Studies that previously imported without issue now fail with error 500 (not even an error message from the API).
Here's an excerpt from the glassfish log:
Error processing /api/v1/dataverses/[redacted]/datasets/:importddi: org.glassfish.jersey.server.ContainerException: edu.harvard.iq.dataverse.api.imports.ImportException: XMLStreamExceptionorg.codehaus.stax2.typed.TypedXMLStreamException: ParseError at [row,col]:[1,595]
Message: Element content can not contain child START_ELEMENT when using Typed Access methods
Having a look at any of the file affected, it seems that tthe import fails on encountering any <ExtLink /> elements in the DDI, which, unfortunately, is present in the majority of things we are planning to import.
I'm not sure if this is a glassfish configuration error or a some other sort of error, and would appreciate any guidance you could provide.
Thanks very much,
Paul Lesack
Koerner Library
University of British Columbia
+1 604 822-5587
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/ce2bb1e2-c9ac-417c-aaae-7cc6d0578039o%40googlegroups.com.