GraphStream Users

Archives de la liste Aide

SwingViewer: auto layout null-pointer exception

Chronologique Discussions 
  • From: klahaag AT
  • To: "graphstream" <graphstream-users AT>
  • Subject: SwingViewer: auto layout null-pointer exception
  • Date: Sun, 1 Jul 2012 00:28:06 +0200
  • Importance: Normal

When I enable/disable the autolayout on the viewer I can create a null pointer exception.
The issue is not happening on every run, but pretty often.
Looks like a concurrency issue like a missing thread lock somewhere.
Offending code:
Platform: Win 7, JRE 1.7
Happens with Viewer.ThreadingModel.GRAPH_IN_SWING_THREAD and

Archives gérées par MHonArc 2.6.16.

Top of page