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

Saving project file with GeoLayout and an active column throws exception #2619

Closed
mbastian opened this issue Sep 8, 2022 · 0 comments
Closed

Comments

@mbastian
Copy link
Member

mbastian commented Sep 8, 2022

Expected Behavior

Project is saved properly and the column selected in the layout is selected again when loading the project.

Current Behavior

[INFO] SEVERE: Error while writing XML workspace persistence provider 'layoutmodel'
[INFO] java.lang.NullPointerException
[INFO] 	at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:458)
[INFO] 	at org.gephi.layout.LayoutModelImpl.writeXML(LayoutModelImpl.java:244)
[INFO] 	at org.gephi.layout.LayoutModelPersistenceProvider.writeXML(LayoutModelPersistenceProvider.java:64)
[INFO] [catch] at org.gephi.project.io.GephiWriter.writeWorkspaceChildren(GephiWriter.java:144)
[INFO] 	at org.gephi.project.io.SaveTask.writeWorkspaceChildrenXML(SaveTask.java:279)
[INFO] 	at org.gephi.project.io.SaveTask.run(SaveTask.java:153)
[INFO] 	at org.gephi.desktop.project.ProjectControllerUIImpl$3.run(ProjectControllerUIImpl.java:152)
[INFO] 	at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:278)
[INFO] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[INFO] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[INFO] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[INFO] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[INFO] 	at java.base/java.lang.Thread.run(Thread.java:829)

Steps to Reproduce

  1. Install the GeoLayoutPlugin and load an example file with lat/lon column
  2. Select the GeoLayout and make sure the lat/lon column are selected in the property sheet
  3. Save the project
  4. Exception when project saved

Your Environment

  • Version used: Gephi 0.9.6
  • Operating System: Mac OS
@mbastian mbastian added this to the 0.9.8 milestone Sep 8, 2022
@mbastian mbastian self-assigned this Sep 8, 2022
@mbastian mbastian modified the milestones: 0.9.8, 0.10.0 Dec 26, 2022
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