← Back to team overview

gephi.team team mailing list archive

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

 

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

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

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

Title:
  Preview throws an Exception with negative edges

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

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