EDT violation detected!

54 views
Skip to first unread message

eba...@etceterum.fr

unread,
Dec 13, 2012, 10:42:59 AM12/13/12
to codenameone...@googlegroups.com
Hello there,

I make use of a MapComponent and when I play with it from the simulator, I get quite a few instances of the below stack trace on the output.  Should I worry about this?

Thanks

Emmanuel

EDT violation detected!
com.codename1.impl.javase.JavaSEPort$EDTViolation: EDT Violation Stack!
    at com.codename1.impl.javase.JavaSEPort.checkEDT(JavaSEPort.java:286)
    at com.codename1.impl.javase.JavaSEPort.createImage(JavaSEPort.java:2122)
    at com.codename1.ui.Image.createImage(Image.java:580)
    at com.codename1.ui.EncodedImage.getInternal(EncodedImage.java:218)
    at com.codename1.ui.EncodedImage.getInternalImpl(EncodedImage.java:193)
    at com.codename1.ui.EncodedImage.getWidth(EncodedImage.java:304)
    at com.codename1.io.services.ImageDownloadService.readResponse(ImageDownloadService.java:608)
    at com.codename1.io.ConnectionRequest.performOperation(ConnectionRequest.java:340)
    at com.codename1.io.NetworkManager$NetworkThread.run(NetworkManager.java:238)
    at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)

Shai Almog

unread,
Dec 13, 2012, 2:13:35 PM12/13/12
to codenameone...@googlegroups.com, eba...@etceterum.fr
That's a bug in the EDT violation detection code, the Map is doing the right thing here. I'll fix it for the next update. Create image is actually better when running off the EDT.

eba...@etceterum.fr

unread,
Dec 14, 2012, 10:11:04 AM12/14/12
to codenameone...@googlegroups.com, eba...@etceterum.fr
Thanks Shai.

Talking about next update.  Do you have a release plan you try to stick to?

Shai Almog

unread,
Dec 14, 2012, 2:02:26 PM12/14/12
to codenameone...@googlegroups.com, eba...@etceterum.fr
We will hopefully have 1.0 out by the end of January. We try to release updates every 2-4 weeks regardless.
Reply all
Reply to author
Forward
0 new messages