Missing Icons

Ernest C Lötter <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hi All

Is there a way to run the platform in debug mode (perhaps via system
property) to debug and find missing icons loaded via ImageUtilities? I
am receiving

java.io.IOException: Cannot open a folder
    at
org.netbeans.JarClassLoader$NbJarURLConnection.getInputStream(JarClassLoader.java:1100)

    at java.net.URL.openStream(URL.java:1038)
    at javax.imageio.ImageIO.read(ImageIO.java:1393)
Caused: javax.imageio.IIOException: Can't get input stream from URL!
    at javax.imageio.ImageIO.read(ImageIO.java:1395)
[catch] at org.openide.util.ImageUtilities.getIcon(ImageUtilities.java:580)
    at org.openide.util.ImageUtilities.getIcon(ImageUtilities.java:471)
    at org.openide.util.ImageUtilities.loadImage(ImageUtilities.java:168)
    at org.openide.windows.TopComponent.getIcon(TopComponent.java:1097)
    at
org.netbeans.core.windows.view.ui.tabcontrol.AbstractTabbedImpl.setTopComponents(AbstractTabbedImpl.java:206)

    ...

which I suspect is due to an invalid icon path somewhere in a registered
action.

Thanks,
Ernest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.