Project: JDT
Bug 223686 [hovering] javadoc popup causes error
Reported: 2008-03-24 13:09:29 | Status: resolved fixed

using : I20080323-2000 some times when I try to hover over a method I get the following error or a broken image (will attach screen cap). The last instance I got this error on was hovering over DebugPlugin#setDefault(..) org.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException: C:\DOCUME~1\MRennie\LOCALS~1\Temp\jdt-images41608\28.png (The system cannot find the path specified)) at org.eclipse.swt.SWT.error(SWT.java:3756) at org.eclipse.swt.SWT.error(SWT.java:3674) at org.eclipse.swt.graphics.ImageLoader.save(ImageLoader.java:238) at org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry.getImageURL(ImagesOnFileSystemRegistry.java:83) at org.eclipse.jdt.internal.ui.viewsupport.ImagesOnFileSystemRegistry.getImageURL(ImagesOnFileSystemRegistry.java:67) at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getInfoText(JavadocHover.java:629) at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:546) at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:507) at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:492) at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129) at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166) Caused by: java.io.FileNotFoundException: C:\DOCUME~1\MRennie\LOCALS~1\Temp\jdt-images41608\28.png (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.eclipse.swt.internal.Compatibility.newFileOutputStream(Compatibility.java:193) at org.eclipse.swt.graphics.ImageLoader.save(ImageLoader.java:236) ... 9 more

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/JavadocView.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ImagesOnFileSystemRegistry.java