Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with XML to Json conversion #27

Open
stempler opened this issue Jun 8, 2017 · 1 comment
Open

Problems with XML to Json conversion #27

stempler opened this issue Jun 8, 2017 · 1 comment

Comments

@stempler
Copy link
Member

stempler commented Jun 8, 2017

Parts of generating alignment documentation fails due to a problem with XML to Json conversion. It seems that the introduction of Saxon as a dependency of one of the hale libraries may cause that problem.

This is the error that is being reported:

Running export-doc command on project "Hilfsprojekt Kommunales Gebiet"...
ERROR e.e.h.i.h.s.m.j.JsonValueRepresentation(73) - Failed to created JSON representation of value
java.lang.IllegalArgumentException: Unknown type of result: class javax.xml.transform.stax.StAXResult
        at net.sf.saxon.event.SerializerFactory.getReceiver(SerializerFactory.java:205) ~[saxon9-9.0.0.8.jar:na]
        at net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:25) ~[saxon9-9.0.0.8.jar:na]
        at eu.esdihumboldt.hale.io.html.svg.mapping.json.JsonXML.toJson(JsonXML.java:86) ~[eu.esdihumboldt.hale.io.html.svg-3.4.0-SNAPSHOT.jar:na]
        at eu.esdihumboldt.hale.io.html.svg.mapping.json.JsonValueRepresentation.getValueRepresentation(JsonValueRepresentation.java:69) ~[eu.esdihumboldt.hale.io.html.svg-3.4.0-SNAPSHOT.jar:na]
        at eu.esdihumboldt.hale.io.html.svg.mapping.json.AlignmentJson.getValueRepresentation(AlignmentJson.groovy:78) [eu.esdihumboldt.hale.io.html.svg-3.4.0-SNAPSHOT.jar:na]
        at eu.esdihumboldt.hale.io.html.svg.mapping.json.AlignmentJson.access$1(AlignmentJson.groovy) [eu.esdihumboldt.hale.io.html.svg-3.4.0-SNAPSHOT.jar:na]
        at eu.esdihumboldt.hale.io.html.svg.mapping.json.AlignmentJson$_cellInfoJSON_closure3_closure13_closure17.doCall(AlignmentJson.groovy:195) [eu.esdihumboldt.hale.io.html.svg-3.4.0-SNAPSHOT.jar:na]
        at eu.esdihumboldt.hale.io.html.svg.mapping.json.AlignmentJson$_cellInfoJSON_closure3_closure13_closure17.doCall(AlignmentJson.groovy) [eu.esdihumboldt.hale.io.html.svg-3.4.0-SNAPSHOT.jar:na]
        at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
@stempler stempler changed the title Generating alignment documentation fails Problems with XML to Json conversion Jun 8, 2017
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant