Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 139016 - great bug: File Associations Add button not working
Summary: great bug: File Associations Add button not working
Status: CLOSED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: SQLDevTools (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: John Graham CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 13:37 EDT by Guy Rish CLA
Modified: 2008-07-01 17:35 EDT (History)
0 users

See Also:


Attachments
Eclipse log of a failed editor selection for a new file extension (4.69 KB, text/plain)
2006-04-27 15:05 EDT, Guy Rish CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Rish CLA 2006-04-27 13:37:50 EDT
In the process of installing and setting up 3.2RC1 I created a new file association; *.pro for ProGuard configuration files.
It accepts this new file extension but when I attempt to add a default editor for these files I cannot.  Pressing the Add button produces no effect.
Selecting another extension (which populates the list of Assocated editors) and pressing the Add button also produces no effect.
Comment 1 Karice McIntyre CLA 2006-04-27 14:41:07 EDT
I assume you are using the File Associations preference page to do this, correct?  I tried adding a file association there and it works for me in RC1.  Is there a stack trace in the .log file (see Error Log view, also) that appears to be related?  
Comment 2 Guy Rish CLA 2006-04-27 15:05:22 EDT
Created attachment 39707 [details]
Eclipse log of a failed editor selection for a new file extension
Comment 3 Guy Rish CLA 2006-04-27 15:12:31 EDT
(Yes, I am using the File Association preference page)
I've attached the log file.  It gets created specifically as a direct result of my clicking the Add button, I watched the file system from start up through the addition of the new file association through pressing the Add button.

This is a fresh install of 3.2RC1 with Callisto RC1a.  There are only three other plugins loaded to this installation (Mylar 0.5.0), jpedal's PDF viewer and yWork's ant visualizer.  None of these three plugins have caused any such problems on my previous 3.1.2 installation of Eclipse.  
So I am presuming that it's in the beta software.

I'm happy to investigate further, just let me know.

Comment 4 Karice McIntyre CLA 2006-04-27 17:42:53 EDT
From the stack trace it looks like JFace is trying to load the image (of one of the associated editors) and is failing because the format of the image for one of the associated editors is not supported or recognized.  The org.eclipse.ui.workbench.prefs file (in .metadata\.plugins\org.eclipse.core.runtime\.settings) should have all your file associations and associated editors in it. There's an image in your list (either internal or external) of associated editors that uses the incorrect format.  
Comment 5 Guy Rish CLA 2006-04-28 10:40:41 EDT
So I ran through and disabled all the features/plugins via the Product Configuration configuration screen (Help > Software Updates > Manage Configuration).
Then, arduously, one by one, I re-eanbled each and checked the File Associations Add button (for the Associated editor).  It turns out that I can reproduce this problem by enabling and disabling:
Data Tools Platform SQL Development Tools 0.9.0.200604141

So how would you like to see this bug dispositioned?
Comment 6 Karice McIntyre CLA 2006-04-28 18:00:23 EDT
Directing to Data Tools Product - looks like there is a bad icon somewhere in the DTP stuff.
Comment 7 John Graham CLA 2006-05-04 11:30:14 EDT
I believe this has already been fixed in the RC2 stream. Will verify and update this entry.
Comment 8 John Graham CLA 2006-05-04 17:33:53 EDT
This is fixed in DTP 0.9RC2 (Callisto RC2).
Comment 9 John Graham CLA 2006-05-04 17:41:56 EDT
See also BZ#136482
Comment 10 Brian Fitzpatrick CLA 2008-07-01 17:35:16 EDT
Closing bugs