[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] JFace standalone - image files not found
|
Hi all,
Today I'm moving my standalone JFace application from 3.3 to 3.4 in
order to see if I can get my application working with Vista. I seem to
have a problem with the latest JFace (M6) being unable to reference some
gif files from its own jar. Specifically my use of JFace wizards
functionality is missing the usual graphics. My application seems to
work otherwise, but there are exceptions generated within JFace when
it's looking for its own graphics.
Anyone have any ideas what I am doing wrong? I don't need any dll files
now right? Oh... and I'm still compiling to 1.4... maybe that is an issue?
thanks,
Andy
I am seeing a stack trace as follows as soon as I launch the application....
i/o error (java.io.FileNotFoundException:
file:\C:\Documents%20and%20Settings\me\workspace\myproject\lib\org.eclipse.jface_3.4.0.I20080328-1206.jar!\org\eclipse\jface\action\images\stop.gif
(The filename, directory name, or volume label syntax is incorrect))
org.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException:
file:\C:\Documents%20and%20Settings\me\workspace\myproject\lib\org.eclipse.jface_3.4.0.I20080328-1206.jar!\org\eclipse\jface\action\images\stop.gif
(The filename, directory name, or volume label syntax is incorrect))
at org.eclipse.swt.SWT.error(SWT.java:3766)
at org.eclipse.swt.SWT.error(SWT.java:3684)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:156)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:26)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:374)
at org.eclipse.swt.graphics.Image.<init>(Image.java:732)
at
org.eclipse.jface.resource.FileImageDescriptor.createImage(FileImageDescriptor.java:175)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:205)
at org.eclipse.jface.action.StatusLine.<init>(StatusLine.java:286)
at
org.eclipse.jface.action.StatusLineManager.createControl(StatusLineManager.java:99)
at
org.eclipse.jface.window.ApplicationWindow.createStatusLine(ApplicationWindow.java:395)
at
org.eclipse.jface.window.ApplicationWindow.createTrimWidgets(ApplicationWindow.java:365)
at
org.eclipse.jface.window.ApplicationWindow.configureShell(ApplicationWindow.java:343)
at org.eclipse.jface.window.Window.createShell(Window.java:502)
at org.eclipse.jface.window.Window.create(Window.java:430)
at org.eclipse.jface.window.Window.open(Window.java:790)
at uk.co.forms4pda.f4p.Runner.main(Runner.java:896)
Caused by: java.io.FileNotFoundException:
file:\C:\Documents%20and%20Settings\me\workspace\myproject\lib\org.eclipse.jface_3.4.0.I20080328-1206.jar!\org\eclipse\jface\action\images\stop.gif
(The filename, directory name, or volume label syntax is incorrect)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at
org.eclipse.swt.internal.Compatibility.newFileInputStream(Compatibility.java:182)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:153)
... 15 more
new jars...
org.eclipse.core.commands_3.4.0.I20080324-1800.jar
org.eclipse.core.runtime_3.4.0.v20080324-1725.jar
org.eclipse.equinox.app_1.0.100.v20080316.jar
org.eclipse.equinox.common_3.4.0.v20080320.jar
org.eclipse.jface.databinding_1.2.0.I20080325-0100.jar
org.eclipse.jface_3.4.0.I20080328-1206.jar
org.eclipse.osgi_3.4.0.v20080326.jar
org.eclipse.swt.win32.win32.x86_3.4.0.v3436.jar
My old jars (and dlls)...
org.eclipse.core.commands_3.3.0.I20070605-0010.jar
org.eclipse.core.runtime_3.3.100.v20070530.jar
org.eclipse.equinox.app_1.0.0.v20070606.jar
org.eclipse.equinox.common_3.3.0.v20070426.jar
org.eclipse.jface_3.3.0.I20070606-0010.jar
org.eclipse.swt.win32.win32.x86_3.3.0.v3346.jar
swt-awt-win32-3346.dll
swt-gdip-win32-3346.dll
swt-win32-3346.dll