GraphStream Users

Archives de la liste Aide


Re: Exception thrown in graphstream


Chronologique Discussions 
  • From: Cédric Herpson <cedric.herpson AT lip6.fr>
  • To: graphstream-users AT litislab.fr, Mikael Wallin <mikael.x.wallin AT gmail.com>, Frederic Guinand <frederic.guinand AT gmail.com>
  • 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

Hi,

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

System.setProperty("org.graphstream.debug","true");

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.

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

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 gmail.com> wrote:
Hello,

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

       Thanks

            Frédéric

Le 17/10/2021 à 18:42, mikael.x.wallin AT gmail.com a écrit :
> I wrote the example in the tutorial and got:
>
> Cannot invoke "com.sun.glass.ui.Timer.resume()" because "this.pulseTimer" is
> null

BEGIN:VCARD
VERSION:4.0
EMAIL;PREF=1:cedric.herpson AT lip6.fr
EMAIL:cedric.herpson AT sorbonne-universite.fr
FN:Cédric Herpson
NOTE:Twitter : @herpsonc
ORG:LIP6 - Laboratoire d'informatique de Sorbonne Université ;Equipe SMA
TITLE:Maître de Conférences
N:Herpson;Cédric;;;
ADR:Tours 25/26 - Bureau 402;Bureau 25-26/402;4 place Jussieu - BC 169;Pari
 s;;75252;France
TEL;TYPE=work;VALUE=TEXT:+33144275390
TEL;TYPE=cell;VALUE=TEXT:+33644690154
URL;VALUE=URL:https://lip6.fr/cedric.herpson
UID:f5fd4a6e-7e03-4a04-b298-b4153ec3be59
END:VCARD



Archives gérées par MHonArc 2.6.16.

Top of page