This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | IllegalArgumentException occurs sometimes | ||
---|---|---|---|
Product: | platform | Reporter: | vbrabant <vbrabant> |
Component: | -- Other -- | Assignee: | Petr Nejedly <pnejedly> |
Status: | VERIFIED WORKSFORME | ||
Severity: | blocker | Keywords: | RANDOM |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows 95/98 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
vbrabant
2003-12-23 22:17:30 UTC
It used to get it after gc(). I cannot see any relationship with openide/explorer. What about AbstractNode.getIcon() ? No, the problem is deeper. size of (-1,-1) means that the image was not yet loaded, which is strange as the IconManager "forces" the load (by using ImageIcon, which actually waits for load to finish). I don't know what is the problem, but possible cases: *) corrupted image file (didn't succeed with parsing headers) *) different impl. of ImageIcon (which JDK do you use?) Petr K., you're able to reproduce it as well? Really cannot reproduce and the code in IconManager should prevent it for legal (read: not broken) images. closed |