It does:

        if (Storage.getInstance().exists(part.getUrl())) {
            EncodedImage myimage = EncodedImage.create((byte[]) Storage.
getInstance().readObject(part.getUrl()));
            image.setIcon(myimage);
        } else {
            image.setIcon(blank);
        }

So if I use URLImage.createToStorage or Util.downloadImageToStorage I 
shouldn't use Storage.getInstance().readObject(part.getUrl() ?



On Tuesday, June 28, 2016 at 2:53:14 PM UTC+10, Shai Almog wrote:
>
> Notice the stack of the first exception:
>
>     at com.codename1.io.Storage.readObject(Storage.java:256)
>     at 
> com.webbtide.tpd.faultcodes.PartsListCellRenderer.getListCellRendererComponent(PartsListCellRenderer.java:88)
>
> I'm guessing your renderer relies on that behavior somewhere...
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b904a802-971f-4e38-b38f-78aae95efb04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to