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

Generating a NeTEx export fails when stops have fare zones #191

Open
culka opened this issue Nov 5, 2024 · 0 comments
Open

Generating a NeTEx export fails when stops have fare zones #191

culka opened this issue Nov 5, 2024 · 0 comments

Comments

@culka
Copy link

culka commented Nov 5, 2024

When creating an export with stops using only fare zones and no tariff zones the export process stops and throws the following exception:

---         |(?)| An I/O error has occurred while writing a response message entity to the container output stream.
org.glassfish.jersey.server.internal.process.MappableException: java.lang.RuntimeException: jakarta.xml.bind.MarshalException
 - with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 0; columnNumber: 0; cvc-complex-type.2.4.b: The content of element 'tariffZones' is not complete. One of '{"http://www.netex.org.uk/netex":TariffZoneRef}' is expected.]

This seems to be caused by the logic trying to use tariff zones instead of fare zones.

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

No branches or pull requests

1 participant