Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359007 - update of plugins in c:\program files in windows with uac causes equinox to not load plugins
Summary: update of plugins in c:\program files in windows with uac causes equinox to n...
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 02:47 EDT by sudhan CLA
Modified: 2019-10-08 10:45 EDT (History)
1 user (show)

See Also:


Attachments
log file containing stack trace (22.30 KB, text/plain)
2011-09-27 02:49 EDT, sudhan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description sudhan CLA 2011-09-27 02:47:35 EDT
Build Identifier: I20090611-1540

Please see steps to reproduce

Reproducible: Always

Steps to Reproduce:
1. install an eclipse plugin into an eclipse environment which is in c:\program files or c:\program files(x86) in win 7. after installing the plugin, you should have a directory structure like: c:\program files\Test\studio\eclipse\plugins\com.test.tools.branding_1.0.1 
2. This plugin writes a file on startup to its own location (splash.bmp in location: c:\program files\Test\studio\eclipse\plugins\com.test.tools.branding_1.0.1\splash.bmp)
2. Ensure UAC is turned on
3. Ensure that the above plugin is started (you could make it implement early startup to do this)
4. obviously, the above installation must be performed with admininstrator privileges
4. log in as a normal user and start eclipse. when the plugin com.test.tools.branding_1.0.1 is loaded, it will try to write to c:\program files\Test\studio\eclipse\plugins\com.test.tools.branding_1.0.1\splash.bmp . Because of UAC, Win 7 will redirect this to the virtual store. 
5. uninstall this plugin and then update to com.test.tools.branding_1.0.1.1 . now on restarting eclipse, this plugin and all its dependent features/plugins fail to load. You can see the attached stack trace in the console.
6. Everythign is fine if you use the -clean option to start eclipse
Comment 1 sudhan CLA 2011-09-27 02:49:00 EDT
Created attachment 204050 [details]
log file containing stack trace
Comment 2 Eclipse Genie CLA 2019-03-20 14:49:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Lars Vogel CLA 2019-10-08 10:45:41 EDT
This bug was marked as stalebug a while ago. Marking as wontfix.

If this report is still relevant for the current release, please
reopen and remove the stalebug whiteboard tag.