Bug 443449 - Getting error "could not find repository associated with this project" when working with team context menu while editing the code
Summary: Getting error "could not find repository associated with this project" when w...
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-06 09:22 EDT by misha medgitov CLA
Modified: 2015-06-30 15:55 EDT (History)
2 users (show)

See Also:


Attachments
editor context menu (281.48 KB, image/png)
2014-09-06 09:22 EDT, misha medgitov CLA
no flags Details
popup with error (218.75 KB, image/png)
2014-09-06 09:23 EDT, misha medgitov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description misha medgitov CLA 2014-09-06 09:22:52 EDT
Created attachment 246794 [details]
editor context menu

happens only in editing window

how to repeat:
1. open some php script
2. on editor click right mouse button (eclipse-egit-bug-1.png)
3. select team > show history 
4. popup with error apears (eclipse-egit-bug-2.png)

at same time all context menu options at php explorer view are working as expected.
Comment 1 misha medgitov CLA 2014-09-06 09:23:14 EDT
Created attachment 246795 [details]
popup with error
Comment 2 Robin Stocker CLA 2014-09-08 05:25:20 EDT
Thanks for reporting this. I couldn't reproduce this locally, so please answer some questions:

1. What version of EGit and Eclipse does this occur with? If it's EGit 3.4 or older, could you try if you have the same problem with EGit nightly (see link below)?
2. Does this occur only with the "Show in History" menu item or also with others?
3. Does it only occur for some file types or for all files of this project?

Update sites: https://www.eclipse.org/egit/download/
Comment 3 misha medgitov CLA 2014-09-09 06:21:42 EDT
thanks for reply

1.Eclipse Version: Luna Release (4.4.0)
Egit Version:   3.6.0.201409051421	

i tried to update EGit by url you gave me, but it fails. 
i am using this url to update egit: 
http://download.eclipse.org/egit/updates-nightly

i updated, and now i version changed to 3.6.0.201409081555

2. looks like all options at team submenu are not working. 

3. i tried to do same action on js and css and other files - they are works as expected, which means there is no problem with them. 

so, looks like it happens only at php files.
Comment 4 Robin Stocker CLA 2014-09-09 10:08:58 EDT
Thanks for checking! I added some trace output to investigate this, could you try the following:

1. Update EGit using this update site:

https://hudson.eclipse.org/egit/job/egit.gerrit/6329/artifact/org.eclipse.egit.repository/target/repository/

2. After restart, go to preferences > General > Tracing. You should see a "Git" option. Set "org.eclipse.egit.ui/debug" and "org.eclipse.egit.ui/debug/ui/seletion" to true. Also note the output file path.

3. Use the context menu on the file where it doesn't work and click the action.

The trace output file should now contain some entries. Please attach that.
Comment 5 Matthias Sohn CLA 2014-10-27 14:22:57 EDT
merged https://git.eclipse.org/r/#/c/33114/
as 0a2bea2b787db3c7b95d2da7fbda830a29ef3821
Comment 6 Mykola Nikishov CLA 2015-06-30 15:55:46 EDT
[Batch change] Remove pre-3.7 Target Milestones

If anyone on CC list is going to fix/implement this, please assign a new 3.7+ target milestone.