Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326194 - Compare completely broken
Summary: Compare completely broken
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major with 20 votes (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 327303 327415 327528 327548 327754 329166 329232 329778 330209 330705 331186 331297 332294 332594 332927 333917 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-24 15:40 EDT by Jacob Weber CLA
Modified: 2020-05-14 11:18 EDT (History)
57 users (show)

See Also:


Attachments
Available Software Sites (145.93 KB, image/jpeg)
2010-11-30 21:24 EST, Mike Blank CLA
no flags Details
No Updates were found (11.62 KB, image/jpeg)
2010-11-30 21:25 EST, Mike Blank CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Weber CLA 2010-09-24 15:40:51 EDT
Build Identifier: 20100917-0705

If I try to compare any two PHP files using Compare With > Each Other, I get an empty Compare view, and the following exception in the log:

!ENTRY org.eclipse.ui 4 0 2010-09-24 12:29:53.035
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
	at org.eclipse.swt.SWT.error(SWT.java:4083)
	at org.eclipse.swt.SWT.error(SWT.java:3998)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3586)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: java.lang.NullPointerException
	at org.eclipse.php.internal.core.format.FormatPreferencesSupport.verifyValidity(FormatPreferencesSupport.java:100)
	at org.eclipse.php.internal.core.format.FormatPreferencesSupport.getIndentationChar(FormatPreferencesSupport.java:89)
	at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getIndentPrefixes(PHPStructuredTextViewerConfiguration.java:448)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.configure(StructuredTextViewer.java:311)
	at org.eclipse.php.internal.ui.compare.MergeSourceViewer.configure(MergeSourceViewer.java:542)
	at org.eclipse.php.internal.ui.compare.TextMergeViewer$ContributorInfo.internalSetDocument(TextMergeViewer.java:546)
	at org.eclipse.php.internal.ui.compare.TextMergeViewer$ContributorInfo.setDocument(TextMergeViewer.java:434)
	at org.eclipse.php.internal.ui.compare.TextMergeViewer.updateContent(TextMergeViewer.java:2569)
	at org.eclipse.php.internal.ui.compare.ContentMergeViewer.internalRefresh(ContentMergeViewer.java:814)
	at org.eclipse.php.internal.ui.compare.ContentMergeViewer.inputChanged(ContentMergeViewer.java:704)
	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
	at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:276)
	at org.eclipse.compare.internal.CompareContentViewerSwitchingPane.setInput(CompareContentViewerSwitchingPane.java:158)
	at org.eclipse.compare.CompareEditorInput.internalSetContentPaneInput(CompareEditorInput.java:844)
	at org.eclipse.compare.CompareEditorInput.access$8(CompareEditorInput.java:842)
	at org.eclipse.compare.CompareEditorInput$11.run(CompareEditorInput.java:778)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.compare.CompareEditorInput.feed1(CompareEditorInput.java:772)
	at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:750)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:554)
	at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:456)
	at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422)
	at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	... 22 more

This started today, after I used the auto-update feature to update to Helios SR1 and PDT 2.2.1 v20100826.

It only happens when the files are assigned to the PHP editor or content type; I can compare non-PHP files successfully. The bug also happens in the Compare views launched by CVS and Subclipse. It doesn't seem to matter whether the files are in a PDT project or not.

This is a huge problem -- please take a look.

Reproducible: Always

Steps to Reproduce:
1. Select two PHP files.
2. Choose Compare With > Each Other.
3. Compare window appears, with no content.
Comment 1 Krisztian Kocsis CLA 2010-09-25 05:34:36 EDT
Windows version is also affected!
Comment 2 Krisztian Kocsis CLA 2010-09-26 13:32:51 EDT
It also not works when comparing the local revision and the latest revision from a repository (at least in SVN). It opens the result window but it is gray and empty.
Comment 3 Roy Ganor CLA 2010-09-27 04:33:00 EDT
it was fixed, we will release an update soon.
Comment 4 duncanc CLA 2010-09-28 10:06:26 EDT
(In reply to comment #3)
> it was fixed, we will release an update soon.

Hi, has this fix been released? I'm using this version on OS X 10.6.4

Eclipse for PHP Developers
Version: Helios Service Release 1
Build id: 20100917-0705

Subclipse: 1.6.13

The compare editor will not initialise from the 'Team Synchronizing' view or from the right-click 'Compare With > Latest from Repository'. I've uploaded the stack trace:

http://pastebin.com/u7anqYHJ
Comment 5 François Rey CLA 2010-10-04 06:59:44 EDT
Can the fix be released sooner rather than later? It's rather annoying.
Is there a workaround in the meantime?
Thanks
Comment 6 Petyo Tanchev CLA 2010-10-04 08:25:04 EDT
Verified by QA.
Fix should be present in next release.
Comment 7 François Rey CLA 2010-10-04 10:30:10 EDT
Thanks. When will that be?
It's a very annoying issue which would justify some some bug fix release.
Any way to get a build somewhere?
Comment 8 Jacob Weber CLA 2010-10-05 14:43:05 EDT
Hate to bug you, but any idea when you'll be releasing an update?
Comment 9 duncanc CLA 2010-10-06 04:22:43 EDT
If this has been fixed can you not release a stable patched version prior to the next release?

Most developers will find that not having access to the compare editor slows productivity to a crawl. I had to re-install the older Helios (not the SR1 release) and chose not to install the updates to get the compare editor working again.
Comment 10 bac0n Mising name CLA 2010-10-06 06:16:31 EDT
Yes a release now would be nice really dependent of this function :)=
Comment 11 Jeff Fillmore CLA 2010-10-06 13:35:40 EDT
Please release fix.  This is really affecting development.
Comment 12 Alan Hartless CLA 2010-10-06 16:12:45 EDT
Yes Please!  Had a semi-emergency last night where I realized a team member overwrote a ton of changes in SVN with an older revision.  Had to reconcile but couldn't with current release because of this bug.  Had to install older version as well.

Thanks.
Comment 13 Chris Abernethy CLA 2010-10-07 10:44:21 EDT
Definitely agree with previous comments. Not being able to use the compare editor for PHP makes PDT (for me) pretty much useless. Any update on when the next release will be available to fix this issue would be *much* appreciated.
Comment 14 MarkusSchulte CLA 2010-10-11 02:50:13 EDT
Hi, I also would appreciate the bugfix soon.
Comment 15 Alexey Furmanov CLA 2010-10-11 10:47:12 EDT
I have this one under WinXP, under subversive, the same stack trace, please give us update, we can't work on Helios PDT :(
Comment 16 Tomasz Zarna CLA 2010-10-11 12:52:15 EDT
*** Bug 327303 has been marked as a duplicate of this bug. ***
Comment 17 Roy Ganor CLA 2010-10-11 17:25:06 EDT
Sure, you can use this update site that includes the fix: 
http://download.eclipse.org/tools/pdt/updates/2.2/milestones
Comment 18 Jacob Weber CLA 2010-10-11 19:34:58 EDT
Thanks. The version on that server doesn't have this problem. But do you know when this fix will be released to the main Helios update site (http://download.eclipse.org/releases/helios/)? I'd prefer not to have everyone in my company switch to a milestone update site.
Comment 19 MarkusSchulte CLA 2010-10-12 02:44:36 EDT
Thanks for comment17, life is a lot easier again.
Comment 20 erwin.poeze CLA 2010-10-12 02:46:58 EDT
Milestone update works fine on debian as well. Thanks!
Comment 21 Johannes Weberhofer CLA 2010-10-12 03:10:18 EDT
(In reply to comment #20)
> Milestone update works fine on debian as well. Thanks!

It also works fine with Windows/SVN. 

May a suggest to offer that patch via the regular Helios updates, as PDT can hardly be used within a team without a working compare function?
Comment 22 Christ van Willegen CLA 2010-10-12 05:05:47 EDT
*** Bug 327528 has been marked as a duplicate of this bug. ***
Comment 23 Roy Ganor CLA 2010-10-12 10:16:05 EDT
*** Bug 327548 has been marked as a duplicate of this bug. ***
Comment 24 Tomasz Zarna CLA 2010-10-12 12:02:37 EDT
*** Bug 327415 has been marked as a duplicate of this bug. ***
Comment 25 Ingo Renner CLA 2010-10-12 15:44:55 EDT
confirming
Comment 26 doun CLA 2010-10-13 05:38:43 EDT
UNDER WINDOWS (W7 professional): I updated my Eclipse (Help > Check for updates ...) and compare Still does not work.
Help !
Comment 27 Zeke Fast CLA 2010-10-13 06:06:03 EDT
(In reply to comment #26)
> UNDER WINDOWS (W7 professional): I updated my Eclipse (Help > Check for updates
> ...) and compare Still does not work.
> Help !

Have you added the update site http://download.eclipse.org/tools/pdt/updates/2.2/milestones for PDT which was mentioned by Roy Ganor few comments earlier?

If no, go to Help->Install New Software->Available Software Sites(link in right top part of the opened window) then add and enable the link to pdt milestone.

At the end do Check for updates.

I suppose it will be useful to disable this update site after PDT update to prevent milestone releases updates in future. Sure I you do not want to get them.
Comment 28 Yasen Zhelev CLA 2010-10-21 09:30:56 EDT
(In reply to comment #27)
> (In reply to comment #26)
> > UNDER WINDOWS (W7 professional): I updated my Eclipse (Help > Check for updates
> > ...) and compare Still does not work.
> > Help !
> 
> Have you added the update site
> http://download.eclipse.org/tools/pdt/updates/2.2/milestones for PDT which was
> mentioned by Roy Ganor few comments earlier?
> 
> If no, go to Help->Install New Software->Available Software Sites(link in right
> top part of the opened window) then add and enable the link to pdt milestone.
> 
> At the end do Check for updates.

I am doing everything the way you describe it, but I am not getting the updates or at least the problem does not seems to be fixed :(
Comment 29 Yasen Zhelev CLA 2010-10-21 10:17:30 EDT
I manage to install it from Help->Install New Software and manually selecting the package. Bug was fixed after that.
Comment 30 Alexandru Andrascu CLA 2010-11-01 18:26:23 EDT
I can confirm (In reply to comment #29)
> I manage to install it from Help->Install New Software and manually selecting
> the package. Bug was fixed after that.

I can confirm that also.
Thanks
Comment 31 Jeremy Booker CLA 2010-11-10 11:35:42 EST
This bug makes it impossible to use Eclipse for merging changes (using any of the various Source Code Management plugins, e.g. svn, hg) where there are merge conflicts that must be compared and resolved.

It's a really important feature that's been broken for at least a month and a half now... see the three new duplicates that have popped up in just the last two days (bug 327754, bug 329232, bug 329778).

It's great that it's fixed. Any word on when we can have that fix released?
Comment 32 Ivan Kravets CLA 2010-11-10 11:48:20 EST
*** Bug 329778 has been marked as a duplicate of this bug. ***
Comment 35 Steffen Pingel CLA 2010-11-22 11:27:57 EST
*** Bug 330209 has been marked as a duplicate of this bug. ***
Comment 36 anatoly techtonik CLA 2010-11-23 13:57:27 EST
Nice to know it's fixed, but why this update site is absent from http://www.eclipse.org/pdt/downloads/ ?
Comment 37 Mike Blank CLA 2010-11-29 21:04:48 EST
I can't get the update and any help is appreciated.

Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822

I went to Install New Software and added the site http://download.eclipse.org/tools/pdt/updates/2.2/milestones

It did not get picked up by Check For Updates.

Went back to Install New Software, selected the PDT Milestone link option in Work With.

It shows pdt 2.2.1 M201010110334 (with 5 subfolders)

I ticked it, clicked Next and got the error: "The operation cannot be completed". Details are:
Your original request has been modified.
  "PHP Development Tools (PDT) Runtime Feature" is already installed, so an update will be performed instead.


What can I do to install this update ?
Comment 38 Leo Ju CLA 2010-11-30 21:06:52 EST
1. Preferences > Install/Update > Available Software Sites
    Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
2. Help > Check for Updates
    Perform update


(In reply to comment #37)
> I can't get the update and any help is appreciated.
> 
> Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822
> 
> I went to Install New Software and added the site
> http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> 
> It did not get picked up by Check For Updates.
> 
> Went back to Install New Software, selected the PDT Milestone link option in
> Work With.
> 
> It shows pdt 2.2.1 M201010110334 (with 5 subfolders)
> 
> I ticked it, clicked Next and got the error: "The operation cannot be
> completed". Details are:
> Your original request has been modified.
>   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> update will be performed instead.
> 
> 
> What can I do to install this update ?
Comment 39 Mike Blank CLA 2010-11-30 21:24:36 EST
Created attachment 184209 [details]
Available Software Sites
Comment 40 Mike Blank CLA 2010-11-30 21:25:44 EST
Created attachment 184210 [details]
No Updates were found
Comment 41 Mike Blank CLA 2010-11-30 21:28:54 EST
(In reply to comment #38)

I did this already and it doesn't work (see attachments)



> 1. Preferences > Install/Update > Available Software Sites
>     Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> 2. Help > Check for Updates
>     Perform update
> 
> 
> (In reply to comment #37)
> > I can't get the update and any help is appreciated.
> > 
> > Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822
> > 
> > I went to Install New Software and added the site
> > http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > 
> > It did not get picked up by Check For Updates.
> > 
> > Went back to Install New Software, selected the PDT Milestone link option in
> > Work With.
> > 
> > It shows pdt 2.2.1 M201010110334 (with 5 subfolders)
> > 
> > I ticked it, clicked Next and got the error: "The operation cannot be
> > completed". Details are:
> > Your original request has been modified.
> >   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> > update will be performed instead.
> > 
> > 
> > What can I do to install this update ?

(In reply to comment #38)
> 1. Preferences > Install/Update > Available Software Sites
>     Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> 2. Help > Check for Updates
>     Perform update
> 
> 
> (In reply to comment #37)
> > I can't get the update and any help is appreciated.
> > 
> > Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822
> > 
> > I went to Install New Software and added the site
> > http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > 
> > It did not get picked up by Check For Updates.
> > 
> > Went back to Install New Software, selected the PDT Milestone link option in
> > Work With.
> > 
> > It shows pdt 2.2.1 M201010110334 (with 5 subfolders)
> > 
> > I ticked it, clicked Next and got the error: "The operation cannot be
> > completed". Details are:
> > Your original request has been modified.
> >   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> > update will be performed instead.
> > 
> > 
> > What can I do to install this update ?
Comment 42 Tomasz Zarna CLA 2010-12-03 05:03:48 EST
*** Bug 331297 has been marked as a duplicate of this bug. ***
Comment 43 EV CLA 2010-12-08 04:27:46 EST
Why not push this fix to the helios update site immediately? By not doing so you're forcing people who relies on this feature over to the milestones update site. It's been like this for more than 2 months now.
Comment 44 Andero CLA 2010-12-10 06:43:37 EST
*** Bug 332294 has been marked as a duplicate of this bug. ***
Comment 45 Michael Kopinsky CLA 2010-12-14 19:40:55 EST
*** Bug 332594 has been marked as a duplicate of this bug. ***
Comment 46 hengeloer CLA 2010-12-17 03:54:04 EST
I do have the same problem. Only the mylyn feature could be installed. Check for new updates did changes something, but it did not solve the problem. Is there another way to install?



Your original request has been modified.
  "PHP Development Tools (PDT) SDK Feature" is already installed, so an update will be performed instead.
  "PHP Development Tools (PDT) Source Feature" is already installed, so an update will be performed instead.
  "PHP Development Tools (PDT) Runtime Feature" is already installed, so an update will be performed instead.
Cannot complete the install because one or more required items could not be found.
  Software being installed: PHP Development Tools (PDT) All-In-One SDK 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O (org.eclipse.php.all.feature.group 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O)
  Missing requirement: PDT Mylyn Feature 2.2.0.v20100519-1400-2--7w3121152101411 (org.eclipse.php.mylyn.feature.group 2.2.0.v20100519-1400-2--7w3121152101411) requires 'org.eclipse.dltk.mylyn.feature.group [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: PHP Development Tools (PDT) All-In-One SDK 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O (org.eclipse.php.all.feature.group 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O)
    To: org.eclipse.php.mylyn.feature.group [2.2.0.v20100519-1400-2--7w3121152101411]


(In reply to comment #41)
> (In reply to comment #38)
> 
> I did this already and it doesn't work (see attachments)
> 
> 
> 
> > 1. Preferences > Install/Update > Available Software Sites
> >     Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > 2. Help > Check for Updates
> >     Perform update
> > 
> > 
> > (In reply to comment #37)
> > > I can't get the update and any help is appreciated.
> > > 
> > > Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822
> > > 
> > > I went to Install New Software and added the site
> > > http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > > 
> > > It did not get picked up by Check For Updates.
> > > 
> > > Went back to Install New Software, selected the PDT Milestone link option in
> > > Work With.
> > > 
> > > It shows pdt 2.2.1 M201010110334 (with 5 subfolders)
> > > 
> > > I ticked it, clicked Next and got the error: "The operation cannot be
> > > completed". Details are:
> > > Your original request has been modified.
> > >   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> > > update will be performed instead.
> > > 
> > > 
> > > What can I do to install this update ?
> 
> (In reply to comment #38)
> > 1. Preferences > Install/Update > Available Software Sites
> >     Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > 2. Help > Check for Updates
> >     Perform update
> > 
> > 
> > (In reply to comment #37)
> > > I can't get the update and any help is appreciated.
> > > 
> > > Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822
> > > 
> > > I went to Install New Software and added the site
> > > http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > > 
> > > It did not get picked up by Check For Updates.
> > > 
> > > Went back to Install New Software, selected the PDT Milestone link option in
> > > Work With.
> > > 
> > > It shows pdt 2.2.1 M201010110334 (with 5 subfolders)
> > > 
> > > I ticked it, clicked Next and got the error: "The operation cannot be
> > > completed". Details are:
> > > Your original request has been modified.
> > >   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> > > update will be performed instead.
> > > 
> > > 
> > > What can I do to install this update ?
Comment 47 Missing name CLA 2010-12-19 12:06:07 EST
(In reply to comment #46)
> I do have the same problem. Only the mylyn feature could be installed. Check
> for new updates did changes something, but it did not solve the problem. Is
> there another way to install?
> 
> 
> 
> Your original request has been modified.
>   "PHP Development Tools (PDT) SDK Feature" is already installed, so an update
> will be performed instead.
>   "PHP Development Tools (PDT) Source Feature" is already installed, so an
> update will be performed instead.
>   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> update will be performed instead.
> Cannot complete the install because one or more required items could not be
> found.
>   Software being installed: PHP Development Tools (PDT) All-In-One SDK
> 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O
> (org.eclipse.php.all.feature.group
> 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O)
>   Missing requirement: PDT Mylyn Feature
> 2.2.0.v20100519-1400-2--7w3121152101411 (org.eclipse.php.mylyn.feature.group
> 2.2.0.v20100519-1400-2--7w3121152101411) requires
> 'org.eclipse.dltk.mylyn.feature.group [1.0.0,2.0.0)' but it could not be found
>   Cannot satisfy dependency:
>     From: PHP Development Tools (PDT) All-In-One SDK
> 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O
> (org.eclipse.php.all.feature.group
> 2.2.1.v20101001-2300-5307A53J1WES8NJVkObW_QMdYo7O)
>     To: org.eclipse.php.mylyn.feature.group
> [2.2.0.v20100519-1400-2--7w3121152101411]
> 
> 
> (In reply to comment #41)
> > (In reply to comment #38)
> > 
> > I did this already and it doesn't work (see attachments)
> > 
> > 
> > 
> > > 1. Preferences > Install/Update > Available Software Sites
> > >     Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > > 2. Help > Check for Updates
> > >     Perform update
> > > 
> > > 
> > > (In reply to comment #37)
> > > > I can't get the update and any help is appreciated.
> > > > 
> > > > Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822
> > > > 
> > > > I went to Install New Software and added the site
> > > > http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > > > 
> > > > It did not get picked up by Check For Updates.
> > > > 
> > > > Went back to Install New Software, selected the PDT Milestone link option in
> > > > Work With.
> > > > 
> > > > It shows pdt 2.2.1 M201010110334 (with 5 subfolders)
> > > > 
> > > > I ticked it, clicked Next and got the error: "The operation cannot be
> > > > completed". Details are:
> > > > Your original request has been modified.
> > > >   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> > > > update will be performed instead.
> > > > 
> > > > 
> > > > What can I do to install this update ?
> > 
> > (In reply to comment #38)
> > > 1. Preferences > Install/Update > Available Software Sites
> > >     Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > > 2. Help > Check for Updates
> > >     Perform update
> > > 
> > > 
> > > (In reply to comment #37)
> > > > I can't get the update and any help is appreciated.
> > > > 
> > > > Eclipse Installation Details / Features shows: PDT Plug-in 2.2.1.v20100822
> > > > 
> > > > I went to Install New Software and added the site
> > > > http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> > > > 
> > > > It did not get picked up by Check For Updates.
> > > > 
> > > > Went back to Install New Software, selected the PDT Milestone link option in
> > > > Work With.
> > > > 
> > > > It shows pdt 2.2.1 M201010110334 (with 5 subfolders)
> > > > 
> > > > I ticked it, clicked Next and got the error: "The operation cannot be
> > > > completed". Details are:
> > > > Your original request has been modified.
> > > >   "PHP Development Tools (PDT) Runtime Feature" is already installed, so an
> > > > update will be performed instead.
> > > > 
> > > > 
> > > > What can I do to install this update ?

I had the same problem with my installation (Ubuntu 10.10). I've found out, that Eclipse cannot be updated when it was installed in a folder with restricted access rights (e.g. if it was installed as root in /opt/eclipse), so the update/install process cannot overwrite the previously installed version.
I've re-installed Eclipse in a folder where I'm the owner (my normal user account has the ownership). Now the update works for me. It should also work if you change the owner of the install folder or modify its access rights (allow write access to it and all sub-folders), but that is not tested.
Comment 48 Tomasz Zarna CLA 2010-12-20 04:42:23 EST
*** Bug 332927 has been marked as a duplicate of this bug. ***
Comment 49 Heike Limbach CLA 2011-01-05 11:26:43 EST
I can confirm that the workaround fix the problem. Thanks for the bugfix!
Comment 50 nAv Mising name CLA 2011-01-10 16:32:02 EST
*** Bug 333917 has been marked as a duplicate of this bug. ***
Comment 51 Endre Stølsvik CLA 2011-01-12 06:45:06 EST
Why is this *BUG*-fix not made available on the current version, Helios???
Comment 52 Ivan Habunek CLA 2011-01-16 06:33:25 EST
Please include this fix in a stable build. It's a major feature and it's been broken for more than a quarter of a year. The milestone builds tend to have other issues...
Comment 53 ollie CLA 2011-01-21 07:49:44 EST
(In reply to comment #41)
I had the problem of "No updates found" when adding the url to the available sites on Windows 7 so I followed these instructions instead

"I manage to install it from Help->Install New Software and manually selecting
the package. Bug was fixed after that."

Which worked. It took a few hours and a reinstall before I found this page.
Comment 54 jambooda CLA 2011-01-21 11:21:29 EST
Which package did you select?

I'm having the same problem.  I added the milestone site and performed a Check For Updates and received "No Updates Found".  I'm also running Windows 7.
(In reply to comment #53)
> (In reply to comment #41)
> I had the problem of "No updates found" when adding the url to the available
> sites on Windows 7 so I followed these instructions instead
> 
> "I manage to install it from Help->Install New Software and manually selecting
> the package. Bug was fixed after that."
> 
> Which worked. It took a few hours and a reinstall before I found this page.
Comment 55 jambooda CLA 2011-01-21 11:30:02 EST
Update:

Its working for me now.  I just manually installed all the PDT packages under the milestone site and it works.  

(In reply to comment #54)
> Which package did you select?
> 
> I'm having the same problem.  I added the milestone site and performed a Check
> For Updates and received "No Updates Found".  I'm also running Windows 7.
> (In reply to comment #53)
> > (In reply to comment #41)
> > I had the problem of "No updates found" when adding the url to the available
> > sites on Windows 7 so I followed these instructions instead
> > 
> > "I manage to install it from Help->Install New Software and manually selecting
> > the package. Bug was fixed after that."
> > 
> > Which worked. It took a few hours and a reinstall before I found this page.
Comment 56 François Mommens CLA 2011-01-21 11:38:32 EST
"No updates found" when adding the milestones to the available sites.
Comment 57 Nitin Dahyabhai CLA 2011-02-09 17:13:48 EST
Will this fix make its way into Helios SR2?  It would seem to have been reported as bug 334251, bug 334251, bug 334680, bug 331186, bug 329232, and bug 330705 as well.
Comment 58 matt CLA 2011-02-19 00:04:01 EST
Hello, 
please reopen this bug, it is not fixed. I experience the same issue, which makes eclipse unusable for synching your dev with SVN, a major IDE feature!

I use 
Eclipse for PHP Developers
Version: Helios Service Release 1
Build id: 20100917-0705

Please, reopen and fix in the next update so we can enjoy the full experience again
Comment 59 matt CLA 2011-02-19 00:05:16 EST
Alternatively, can someone explain the steps to use the 'bug free' version? Thanks
Comment 60 Mr. Bill CLA 2011-02-22 13:06:52 EST
I agree... this should not be closed/fixed.  I work in a lab without internet connectivity and cannot use the milestone workaround mentioned above (and according to another poster, these have their own issues).  I've accidentally clobbered other developers' changes several times, and they've clobbered mine.  It's untenable.

Being able to compare changes against another version is one of the key features of the IDE that developers need.  The inability of a product called "PHP Development Tools" to do something as basic as diff on PHP files for almost 5 months is a major problem.    Please re-open this bug and get the milestone fix into the main release.  The sooner the better!

In the meantime, if anyone has a solution that doesn't require connectivity (e.g. a downloadable patch), we'd be VERY grateful!

Thank you...


(In reply to comment #58)
> Hello, 
> please reopen this bug, it is not fixed. I experience the same issue, which
> makes eclipse unusable for synching your dev with SVN, a major IDE feature!
> 
> I use 
> Eclipse for PHP Developers
> Version: Helios Service Release 1
> Build id: 20100917-0705
> 
> Please, reopen and fix in the next update so we can enjoy the full experience
> again
Comment 61 anatoly techtonik CLA 2011-02-22 13:17:52 EST
What platform do you need a patch for? I.e. to upgrade from what to what?
Comment 62 Mr. Bill CLA 2011-02-22 13:56:13 EST
(In reply to comment #61)
> What platform do you need a patch for? I.e. to upgrade from what to what?

I am running the same as matt above:

Eclipse for PHP Developers
Version: Helios Service Release 1
Build id: 20100917-0705

According to some posters above (see comment #38 and others), they can (from within Eclipse) connect to a site and download an update, but I cannot do this from my development workstation.  Is there a way to manually download this update?

Thanks...
Comment 63 matt CLA 2011-02-23 05:32:35 EST
The correct steps to fix this issue are as follows:
1. Window menu > Preferences > Install/Update > Available Software Sites
    Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
2. Help > Install new softwares
    Work with: [ select the new software site from the list ]
     Check the box to download PDT
3. Wait for download & restart, compare & SVN compare in subclipse now work!

but it is strange that such critical bug is NOT ported to the advertised as STABLE download!!
Comment 64 Mr. Bill CLA 2011-02-23 15:02:50 EST
(In reply to comment #63)

matt, as I mentioned above, my development workstation is not connected to the internet.  It is on a physically separate network.  I can't follow those directions because Eclipse can't connect to that site.  I need a single, downloadable patch that I can then sneaker-net over to my environment and *then* point Eclipse to.

I just tried to mirror this:
http://download.eclipse.org/tools/pdt/updates/2.2/milestones/

... on my local hard drive.  I downloaded everything from a mirror site--this includes the plugins and features directories and their contents.  I unchecked the box "Contact all update sites during install to find required software" since I won't be able to do this on my dev network.  The result?  I get the same error messages seen by hengeloer in Comment 46.


> but it is strange that such critical bug is NOT ported to the advertised as
> STABLE download!!

Agreed--the fact that this bug is marked "FIXED" when the bug still exists in the main release is confusing.  I'm wondering if it hasn't made its way there because the development team thinks it's actually fixed in the stable release?  Or will it be included in 3.7 (which doesn't appear to be due for another 4 months)?
Comment 65 Jeremy Booker CLA 2011-02-23 16:51:47 EST
(In reply to comment #64)
> Agreed--the fact that this bug is marked "FIXED" when the bug still exists in
> the main release is confusing.  I'm wondering if it hasn't made its way there
> because the development team thinks it's actually fixed in the stable release? 
> Or will it be included in 3.7 (which doesn't appear to be due for another 4
> months)?

My guess is that it will be included with the next major release, since the fix exists in the latest 'milestone' release.

It seems the developers are OK with leaving such a critical bug in the "stable" release so as not to vary from the planned release cycle.
Comment 66 Mike Blank CLA 2011-02-23 18:57:36 EST
(In reply to comment #63)
> The correct steps to fix this issue are as follows:
> 1. Window menu > Preferences > Install/Update > Available Software Sites
>     Add http://download.eclipse.org/tools/pdt/updates/2.2/milestones
> 2. Help > Install new softwares
>     Work with: [ select the new software site from the list ]
>      Check the box to download PDT
> 3. Wait for download & restart, compare & SVN compare in subclipse now work!
> 
> but it is strange that such critical bug is NOT ported to the advertised as
> STABLE download!!

I am on Windows 7 and it doesn't work.

when I am at step 2, check the the box to download PDT, and Press Next, I get the following error Message: 

"The Operation cannot be completed. See the details:"

Details:

Your original request has been modified.
  "PHP Development Tools (PDT) SDK Feature" is already installed, so an update will be performed instead.
  "PHP Development Tools (PDT) Source Feature" is already installed, so an update will be performed instead.
  "PHP Development Tools (PDT) Runtime Feature" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: PHP Development Tools (PDT) SDK Feature 2.2.1.v20101001-2300-53184QAN4JBQgLYPWMLcXn6Na9Od (org.eclipse.php.sdk.feature.group 2.2.1.v20101001-2300-53184QAN4JBQgLYPWMLcXn6Na9Od)
  Software currently installed: Shared profile 1.0.0.1284715942216 (SharedProfile_epp.package.php 1.0.0.1284715942216)
  Only one of the following can be installed at once: 
    PDT UI Plug-in 2.2.0.v20100616-1900 (org.eclipse.php.ui 2.2.0.v20100616-1900)
    PDT UI Plug-in 2.2.1.v20100822-1200 (org.eclipse.php.ui 2.2.1.v20100822-1200)
    PDT UI Plug-in 2.2.1.v20101001-2300 (org.eclipse.php.ui 2.2.1.v20101001-2300)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1284715942216 (SharedProfile_epp.package.php 1.0.0.1284715942216)
    To: org.eclipse.php.ui [2.2.1.v20100822-1200]
  Cannot satisfy dependency:
    From: PHP Development Tools (PDT) Runtime Feature 2.2.1.v20101001-2300-7L7J1F8NcJTJTJJT9cmJJ (org.eclipse.php.feature.group 2.2.1.v20101001-2300-7L7J1F8NcJTJTJJT9cmJJ)
    To: org.eclipse.php.ui [2.2.1.v20101001-2300]
  Cannot satisfy dependency:
    From: PHP Development Tools (PDT) SDK Feature 2.2.1.v20101001-2300-53184QAN4JBQgLYPWMLcXn6Na9Od (org.eclipse.php.sdk.feature.group 2.2.1.v20101001-2300-53184QAN4JBQgLYPWMLcXn6Na9Od)
    To: org.eclipse.php.feature.group [2.2.1.v20101001-2300-7L7J1F8NcJTJTJJT9cmJJ]


Does anybody know what I am supposed to do to fix the dependency errors ?

Thanks,
Mike
Comment 67 Björn Bartels CLA 2011-02-24 03:02:03 EST
Hello,

following the steps mentioned above I am having trouble installing from the milestone site:
(Helios Service Release 1, build id: 20100917-0705, OSX 10.5)

An error occurred while uninstalling
session context was:(profile=epp.package.php, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.php 2.2.0.v20100410-0300 --> [R]org.eclipse.php 2.2.0.v20101001-2300, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
Error while loading manipulator.
Error while loading manipulator.


please, please fix this as soon as possible, this is really annoying...

thx a lot

YT
BB
Comment 68 Jacob Weber CLA 2011-02-26 17:22:38 EST
It looks like this fix has finally been released to the Helios update site (http://download.eclipse.org/releases/helios). I now see three versions of PDT there:

    PHP Development Tools (PDT) SDK Feature	2.2.1.v20101001-2300-53184QAN4JBQgLYPWMLcXn6Na9Od
    PHP Development Tools (PDT) SDK Feature	2.2.1.v20100826-1100-53184QAN4IJShLXONIZhXX4Na9Od
    PHP Development Tools (PDT) SDK Feature	2.2.0.v20100519-1400-53-84QAN2IGRoLXQNHWOXe1La9Od

Not sure why there are three, but the first one looks like the version with the fix.
Comment 69 Alex G. CLA 2011-04-13 04:09:44 EDT
Got the same problem here, cannot update Eclipse PDT release, but found a workaround :

- Download latest eclipse classic release : http://www.eclipse.org/downloads/packages/eclipse-classic-362/heliossr2
- Install PDT addon v2.2.1 using "Install New Software" - Select Helios update site (http://download.eclipse.org/releases/helios) then use filter "PDT" to display only PDT, and select "PHP Development Tools (PDT) SDK Feature" then install

Working on Windows 7 x64
Comment 70 Zhongwei Zhao CLA 2011-04-14 02:58:24 EDT
*** Bug 331186 has been marked as a duplicate of this bug. ***
Comment 71 Zhongwei Zhao CLA 2011-04-14 03:23:15 EDT
*** Bug 330705 has been marked as a duplicate of this bug. ***
Comment 72 Zhongwei Zhao CLA 2011-04-15 02:47:57 EDT
*** Bug 329232 has been marked as a duplicate of this bug. ***
Comment 73 Zhongwei Zhao CLA 2011-04-15 02:48:59 EDT
*** Bug 329166 has been marked as a duplicate of this bug. ***
Comment 74 Zhongwei Zhao CLA 2011-05-11 23:58:26 EDT
*** Bug 327754 has been marked as a duplicate of this bug. ***