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

ClassCastException when saving a gephi file after PDF export #553

Closed
mbastian opened this issue Mar 12, 2012 · 0 comments
Closed

ClassCastException when saving a gephi file after PDF export #553

mbastian opened this issue Mar 12, 2012 · 0 comments
Assignees
Milestone

Comments

@mbastian
Copy link
Member

Way to reproduce:

  1. Open sample graph
  2. Export PDF
  3. Try to save project file

Stack trace:
java.lang.ClassCastException: com.itextpdf.text.Rectangle cannot be cast to java.awt.Rectangle
at org.netbeans.beaninfo.editors.RectangleEditor.getValues(RectangleEditor.java:64)
at org.netbeans.beaninfo.editors.ArrayOfIntSupport.getAsText(ArrayOfIntSupport.java:132)
at org.netbeans.beaninfo.editors.RectangleEditor.getAsText(RectangleEditor.java:56)
at org.gephi.preview.PreviewModelImpl.getValueAsText(PreviewModelImpl.java:379)
at org.gephi.preview.PreviewModelImpl.writeXML(PreviewModelImpl.java:288)
at org.gephi.preview.PreviewPersistenceProvider.writeXML(PreviewPersistenceProvider.java:63)
at org.gephi.project.io.GephiWriter.writeWorkspaceChildren(GephiWriter.java:171)
at org.gephi.project.io.GephiWriter.writeWorkspace(GephiWriter.java:162)
at org.gephi.project.io.GephiWriter.writeProject(GephiWriter.java:143)
at org.gephi.project.io.GephiWriter.writeAll(GephiWriter.java:88)

@ghost ghost assigned mbastian Mar 12, 2012
mbastian added a commit to mbastian/gephi that referenced this issue Mar 12, 2012
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