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

Exception when deserializing a preview preset #554

Closed
mbastian opened this Issue Mar 14, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@mbastian
Copy link
Member

mbastian commented Mar 14, 2012

Stack trace when deserializing the "edge.label.outline.size => 0.0" value

java.lang.IllegalArgumentException: Non integer input value: 0.0
at org.netbeans.beaninfo.editors.WrappersEditor.setAsText(WrappersEditor.java:98)
at org.netbeans.beaninfo.editors.IntegerEditor.setAsText(IntegerEditor.java:67)
at org.gephi.preview.api.PreviewPreset.deserialize(PreviewPreset.java:165)
at org.gephi.desktop.preview.PresetUtils.readXML(PresetUtils.java:185)
at org.gephi.desktop.preview.PresetUtils.loadPresets(PresetUtils.java:141)
at org.gephi.desktop.preview.PresetUtils.getPresets(PresetUtils.java:126)
at org.gephi.desktop.preview.PreviewUIControllerImpl.getUserPresets(PreviewUIControllerImpl.java:237)
at org.gephi.desktop.preview.PreviewSettingsTopComponent.setup(PreviewSettingsTopComponent.java:228)
at org.gephi.desktop.preview.PreviewSettingsTopComponent.propertyChange(PreviewSettingsTopComponent.java:188)
at org.gephi.desktop.preview.PreviewUIControllerImpl.fireEvent(PreviewUIControllerImpl.java:280)
at org.gephi.desktop.preview.PreviewUIControllerImpl.access$500(PreviewUIControllerImpl.java:90)
at org.gephi.desktop.preview.PreviewUIControllerImpl$1.select(PreviewUIControllerImpl.java:127)

@ghost ghost assigned mbastian Mar 14, 2012

@mbastian mbastian closed this Mar 14, 2012

mbastian added a commit to mbastian/gephi that referenced this issue Mar 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment