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

Data Access View-> File to Extract Graph From Giving Exception Error #2261

Closed
HolandCrick opened this issue Jan 22, 2025 · 1 comment
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@HolandCrick
Copy link
Collaborator

HolandCrick commented Jan 22, 2025

Data Access View-> when we try to import GML / GraphML / Pajek file - the relevant file extension is recognized under File Type, but the file to Extract Graph From is giving exception in Code v3.0.

Steps to Reproduce
1.Open Constellation
2. Open a new graph
3. Open Data Access View
4. Select Import File Graph
5. Select File Type ML / GraphML / Pajek from drop down list (make sure you have the file saved locally)
6. Select File Open -> browse to your drive for the file type> Click Open Button

  • Click GO
    6.Keep your file name in file box but change the File type now and click open. Click Cancel and Click Go again.

Error:
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
au.gov.asd.tac.constellation.utilities.xml.XmlUtilities.read(XmlUtilities.java:240)
au.gov.asd.tac.constellation.views.dataaccess.plugins.importing.file.GraphMLImportProcessor.process(GraphMLImportProcessor.java:123)
au.gov.asd.tac.constellation.views.dataaccess.plugins.importing.file.GraphMLImportProcessor.process(GraphMLImportProcessor.java:65)
au.gov.asd.tac.constellation.views.dataaccess.plugins.importing.ImportGraphFilePlugin.query(ImportGraphFilePlugin.java:156)
au.gov.asd.tac.constellation.views.dataaccess.templates.RecordStoreQueryPlugin.lambda$query$0(RecordStoreQueryPlugin.java:133)
java.base/java.util.concurrent.FutureTask.run(Unknown Source)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.base/java.lang.Thread.run(Unknown Source)

@HolandCrick HolandCrick added the bug Something isn't working label Jan 22, 2025
@HolandCrick HolandCrick added this to the v3.1.0 milestone Jan 22, 2025
@andromeda-224 andromeda-224 moved this from To do to In progress in Constellation Jan 22, 2025
@andromeda-224 andromeda-224 moved this from In progress to PR Review in Constellation Jan 22, 2025
@antares1470 antares1470 moved this from PR Review to Testing in Constellation Feb 3, 2025
@HolandCrick
Copy link
Collaborator Author

@andromeda-224 - Thanks for fixing the File to Extract Graph From issue. It's working nicely now.

@github-project-automation github-project-automation bot moved this from Testing to Done in Constellation Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants