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

NullPointer Exception with Edge Labels #478

Closed
emeeks opened this Issue Nov 21, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@emeeks
Copy link

emeeks commented Nov 21, 2011

I turned edge labels on, they're using two String fields from each edge, but the labels aren't displaying and I get this exception:

java.lang.NullPointerException
at sun.font.FontDesignMetrics.stringWidth(FontDesignMetrics.java:459)
at org.gephi.preview.plugin.renderers.EdgeLabelRenderer.renderProcessing(EdgeLabelRenderer.java:233)
at org.gephi.preview.plugin.renderers.EdgeLabelRenderer.render(EdgeLabelRenderer.java:217)
at org.gephi.preview.PreviewControllerImpl.render(PreviewControllerImpl.java:258)
at org.gephi.preview.PreviewControllerImpl.render(PreviewControllerImpl.java:222)
at org.gephi.preview.ProcessingApplet.draw(ProcessingApplet.java:134)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
[catch] at java.lang.Thread.run(Thread.java:619)

@emeeks

This comment has been minimized.

Copy link

emeeks commented Nov 21, 2011

I also get a NullPointer Exception trying to output to SVG, PDF or PNG.

@ghost ghost assigned mbastian Dec 17, 2011

mbastian added a commit to mbastian/gephi that referenced this issue Dec 17, 2011

@mbastian mbastian closed this Dec 17, 2011

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