Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 435083 - File not found with new dark CSS
Summary: File not found with new dark CSS
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 3.4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 430741
Blocks:
  Show dependency tree
 
Reported: 2014-05-16 11:25 EDT by Paul Webster CLA
Modified: 2014-05-18 14:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2014-05-16 11:25:11 EDT
Using org.eclipse.egit.ui_3.4.0.201405122233.jar I get the FNFE.  I checked the jar, and while it has the css folder that folder contains nothing.  I suspect the build.properties in https://git.eclipse.org/c/egit/egit.git/commit/?id=bd2f78535f4a923e79f5e8db898d91f17c1c1a2a needs to have css/ not just css.


java.io.FileNotFoundException: /css/e4-dark_egit_prefstyle.css
	at org.eclipse.osgi.storage.url.bundleentry.Handler.findBundleEntry(Handler.java:37)
	at org.eclipse.osgi.storage.url.BundleResourceHandler.openConnection(BundleResourceHandler.java:169)
	at java.net.URL.openConnection(URL.java:971)
	at org.eclipse.osgi.storage.url.BundleURLConverter.resolve(BundleURLConverter.java:50)
	at org.eclipse.core.runtime.FileLocator.resolve(FileLocator.java:228)
	at org.eclipse.core.internal.runtime.PlatformURLConverter.resolve(PlatformURLConverter.java:54)
	at org.eclipse.core.runtime.FileLocator.resolve(FileLocator.java:228)
	at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:422)
	at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:390)
	at org.eclipse.ui.internal.dialogs.ViewsPreferencePage$2.selectionChanged(ViewsPreferencePage.java:142)
Comment 1 Matthias Sohn CLA 2014-05-16 12:07:17 EDT
fix: https://git.eclipse.org/r/#/c/26749/
Comment 2 Matthias Sohn CLA 2014-05-18 14:49:16 EDT
merged as 3545a102de6e8672fb0798d468b5103c35d3bdac