• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ImageIcon corruption?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We had a strange thing happen to our application and I think it is a Java bug. The swing application with toolbar icons and other images was left running over night - during that time something may have happened where the resources got low and the gui (probably) started to redraw all haywire like it does - in the morning some of the images became corrupt - in that some of them were blank and others were all haywire looking but stagnant and others were fine. And they didn't clean themselves up - they are just staying in that corrupted looking state. If you restart the app - the images look fine. Does anyone know of a work around for this or should I log a bug for Sun - we are using 1.4.1_01 - I've already looked in Sun's bug database and couldn't find this exact problem. The one thing is my ImageIcons are loaded on init and are static finals - I don't know if this is a factor. It seems like Java cached them in some funky state and saved them that way.
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
if this happens every time you let the app running for a long time, and it happens on different machines the same way, you should write a test application that behaves the same way (you will have to check that), and post it to the bug parade.
Only if they can run the testcase and it shows this strange behaviour they can decide if this is a bug in the jre.
Chantal
 
Are you here to take over the surface world? Because this tiny ad will stop you!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic