← Back to team overview

gephi.team team mailing list archive

[Bug 656955] Re: Preview throws an Exception with negative edges

 

Fixed in rev 1974

** Changed in: gephi
       Status: Confirmed => Fix Committed

** Changed in: gephi/0.7
       Status: Confirmed => Fix Committed

-- 
Preview throws an Exception with negative edges
https://bugs.launchpad.net/bugs/656955
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.

Status in Gephi - Network exploration and manipulation: Fix Committed
Status in Gephi 0.7 series: Fix Committed

Bug description:
Negative edges weight throws the following exception in Preview:

java.lang.IllegalArgumentException: negative width
	at java.awt.BasicStroke.<init>(BasicStroke.java:181)
	at java.awt.BasicStroke.<init>(BasicStroke.java:254)
	at processing.core.PGraphicsJava2D.strokeImpl(PGraphicsJava2D.java:1417)
	at processing.core.PGraphicsJava2D.strokeWeight(PGraphicsJava2D.java:1398)
	at processing.core.PApplet.strokeWeight(PApplet.java:7757)
	at org.gephi.desktop.preview.ProcessingPreview.renderEdge(ProcessingPreview.java:370)
	at org.gephi.desktop.preview.ProcessingPreview.renderDirectedEdge(ProcessingPreview.java:362)
	at org.gephi.desktop.preview.ProcessingPreview.renderGraphBidirectionalEdges(ProcessingPreview.java:246)
	at org.gephi.desktop.preview.ProcessingPreview.renderGraphEdges(ProcessingPreview.java:224)
	at org.gephi.desktop.preview.ProcessingPreview.renderGraph(ProcessingPreview.java:210)
	at org.gephi.desktop.preview.ProcessingPreview.draw(ProcessingPreview.java:88)
	at processing.core.PApplet.handleDraw(PApplet.java:1425)
	at processing.core.PApplet.run(PApplet.java:1327)





References