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

Some ontology IRIs can cause OWLDoc to crash with an IOException #7

Open
matthewhorridge opened this issue Nov 28, 2017 · 1 comment

Comments

@matthewhorridge
Copy link
Contributor

I have a problem if the Ontology URI has a second colon, e.g.
conti:acd:model

The OWL wizard stops with the following exception. I think it is because the
exporter tries to create files containing a ':' which is forbidden. Is this
issue already known?

java.io.IOException: The filename, directory name, or volume label syntax is
incorrect
	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
	at java.io.File.createNewFile(File.java:1012)
	at org.coode.html.OntologyExporter.ensureExists(OntologyExporter.java:353)
	at
org.coode.html.OntologyExporter.exportReferencedEntities(OntologyExporter.java:292)
	at
org.coode.html.OntologyExporter.exportReferencedEntities(OntologyExporter.java:241)
	at
org.coode.html.OntologyExporter.exportOntology(OntologyExporter.java:225)
	at org.coode.html.OntologyExporter.export(OntologyExporter.java:179)
	at
org.coode.browser.protege.ExportOWLDocAction$1.run(ExportOWLDocAction.java:80)
	at java.lang.Thread.run(Thread.java:745)
@yasenstar
Copy link

yasenstar commented Feb 21, 2023

I have this same problem in Windows 11

java.io.IOException: The filename, directory name, or volume label syntax is incorrect
	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
	at java.io.File.createNewFile(File.java:1012)
	at org.coode.html.OntologyExporter.ensureExists(OntologyExporter.java:353)
	at org.coode.html.OntologyExporter.exportReferencedEntities(OntologyExporter.java:292)
	at org.coode.html.OntologyExporter.exportReferencedEntities(OntologyExporter.java:241)
	at org.coode.html.OntologyExporter.exportOntology(OntologyExporter.java:225)
	at org.coode.html.OntologyExporter.export(OntologyExporter.java:179)
	at org.coode.browser.protege.ExportOWLDocAction$1.run(ExportOWLDocAction.java:80)
	at java.lang.Thread.run(Thread.java:745)

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

2 participants