GraphStream Users

Archives de la liste Aide

Re: Exception thrown in graphstream

Chronologique Discussions 
  • From: Cédric Herpson <cedric.herpson AT>
  • To: graphstream-users AT, Mikael Wallin <mikael.x.wallin AT>, Frederic Guinand <frederic.guinand AT>
  • Subject: Re: Exception thrown in graphstream
  • Date: Mon, 25 Oct 2021 06:27:27 +0200
  • Ironport-data: A9a23:e4SKc6AJK+rgCRVW/2Piw5YqxClBgxIJ4kV8j C+edUTsnH49nyhBnTNdDVkyCI/ZNza3IooZMNj0tQlZ54iTnYBT/DEc/3phR i8Sp5SbDo2Xd0n6NS3NJ5GcHUxttZVHNYaacs1rES6BrUz1YrS/9CFyi/yEF rT3UrbIN3gvGwY9EXor0HqP9wJBbtlA3IPpaz6wVfPOT+z3NQb0hmUuPz5Ms f/f9B0/4a2o6T9A5w0yOP4S5QGFzCRJVcJOLqyYESD1E9JedgKYq0kv710YE ls0SH7BM/v9+lrAWhBMEuG60TSm0CIMAvH62EQa/ETe745iXBYiQRYP49m2t 4osoDl9ncTYpTYBZsUgqsxEO/VrO3sW0Zl9xVPyCSPXXfp/YKHxWyCEL/1GV CnaNGCDkwp9KTkmGfcwcFjhYv0f7t9azo5XSsE07igiBM7wPZkeoTdkzCmHS /g8KXzBa/yRv5kChmh22JgIRq62i8kxMVKDaDzLbhFVO1xRCJ8khPyvgFH7c iUG7lyPzUYyyzSIkFIuiea2WDbSUobTH5sLwBbwSnj912vjCwkaL8CFxDOAt 2+3i/XUtSf6RIMJELSysPBw6GB/bEQHUEhMEwav+KzhzBaqAYcHbRdOo3Q69 v1qshG/EYzUQTuUoFqltzgIAoIFS6li/Glh0YLT+AeDB3NCSj9ZNpoorqcLq fUR/gfht7vU6fZH6dV5kU6gy4o=
  • Ironport-hdrordr: A9a23:WSnUjqmcH1HHIxhxyfR6vV1AXIvpDfIf3D Abv31ZSRFFG/Fw5Pre5cjztCWE7gr5N0tQ++xoVJPgfZqYz+8T3WBzB8bHYO CFghrKEGiz1+vfKlTbckWUnNK1l50PT0EZMrDN5DNB4foSjjPWLz9t+qjjzE gm6N2ut0uEIWxRGtpd0zs=
  • Ironport-sdr: 1gnGQRFairFcaQBqv7UaBO5NBLtKTpKDyfPZ736tZzAc9JSLSz5kn1LfOl6azk2Cfc8AodX9lL +a+oaKdxjuoNhiL8PNz8InM9BKeTYHfVM=
  • Organization: Sorbonne Université / LIP6 - CNRS


Assuming you use JavaFx (System.setProperty("org.graphstream.ui", "javafx");) , just add


before calling new Singlegraph()

and everything will be ok. It is required on some systems to allow time for the interface to be created, otherwise it generates a bug.

See FxViewer.class line 215 if you wanna understand it precisely.

I agree it should be added in the tutorial, or corrected.

Best wishes.


Cédric Herpson (MdC)
Sorbonne Université - CNRS | LIP6 - SMA
4 Place Jussieu 75252 Paris - BC 169 | Office 25-26/402
(+33) |
twt: @herpsonc

Le 24/10/2021 à 22:18, Mikael Wallin a écrit :
Hi Frederic 

Sorry, your mail hid in my spam folder :) didn't see it until now.

This tutorial with A, B and C nodes.

It seems I am not the only one, there is another person reporting the same error so he created his own Scene to work around it.

I tried with java 8 to 16, and same exception is thrown when running graph.display();

kind regards

Mikael Wallin

On Wed, 20 Oct 2021 at 14:53, Frederic Guinand <frederic.guinand AT> wrote:

Can you give some details? Which example in the tutorial?



Le 17/10/2021 à 18:42, mikael.x.wallin AT a écrit :
> I wrote the example in the tutorial and got:
> Cannot invoke "" because "this.pulseTimer" is
> null

EMAIL;PREF=1:cedric.herpson AT
EMAIL:cedric.herpson AT
FN:Cédric Herpson
NOTE:Twitter : @herpsonc
ORG:LIP6 - Laboratoire d'informatique de Sorbonne Université ;Equipe SMA
TITLE:Maître de Conférences
ADR:Tours 25/26 - Bureau 402;Bureau 25-26/402;4 place Jussieu - BC 169;Pari

Archives gérées par MHonArc 2.6.16.

Top of page