Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Can't compare CVS files in PDT
Can't compare CVS files in PDT [message #644466] Sat, 11 December 2010 13:02 Go to next message
Paul DeWolf is currently offline Paul DeWolf
Messages: 1
Registered: December 2010
Junior Member
Whenever I try to compare files (e.g. compare with latest from head) in the PDT environment I get an Unhandled event loop exception. I'm also getting handler conflict warnings that seem to be related, but I don't know how to resolve them. I have to go back and forth between PDT and standard Eclipse to do development and then comparisons before check-in.

This is the same running Eclipse/PDT on two different Windows machines using Helios Service Release 1
Build id: 20100917-0705.
Re: Can't compare CVS files in PDT [message #644654 is a reply to message #644466] Mon, 13 December 2010 11:29 Go to previous messageGo to next message
apassiou  is currently offline apassiou
Messages: 2
Registered: December 2010
Junior Member
I have a similar problem with the Subversive plugin:
when I try to compare local copy to the repository from the team synchronization perspective the comparison view is empty (just grey) and when I use the "Compare with => latest from Repository" menu from the PHP perspective I get the following exception:

Quote:
java.lang.NullPointerException
at org.eclipse.php.internal.core.format.FormatPreferencesSuppor t.verifyValidity(FormatPreferencesSupport.java:100)
at org.eclipse.php.internal.core.format.FormatPreferencesSuppor t.getIndentationChar(FormatPreferencesSupport.java:89)
at org.eclipse.php.internal.ui.editor.configuration.PHPStructur edTextViewerConfiguration.getIndentPrefixes(PHPStructuredTex tViewerConfiguration.java:448)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.configu re(StructuredTextViewer.java:311)
at org.eclipse.php.internal.ui.compare.MergeSourceViewer.config ure(MergeSourceViewer.java:542)
at org.eclipse.php.internal.ui.compare.TextMergeViewer$Contribu torInfo.internalSetDocument(TextMergeViewer.java:546)
at org.eclipse.php.internal.ui.compare.TextMergeViewer$Contribu torInfo.setDocument(TextMergeViewer.java:434)
at org.eclipse.php.internal.ui.compare.TextMergeViewer.updateCo ntent(TextMergeViewer.java:2569)
at org.eclipse.php.internal.ui.compare.ContentMergeViewer.inter nalRefresh(ContentMergeViewer.java:814)
at org.eclipse.php.internal.ui.compare.ContentMergeViewer.input Changed(ContentMergeViewer.java:704)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274)
at org.eclipse.compare.CompareViewerSwitchingPane.setInput(Comp areViewerSwitchingPane.java:276)
at org.eclipse.compare.internal.CompareContentViewerSwitchingPa ne.setInput(CompareContentViewerSwitchingPane.java:158)
at org.eclipse.compare.CompareEditorInput.internalSetContentPan eInput(CompareEditorInput.java:844)
at org.eclipse.compare.CompareEditorInput.access$8(CompareEdito rInput.java:842)
at org.eclipse.compare.CompareEditorInput$11.run(CompareEditorI nput.java:778)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.compare.CompareEditorInput.feed1(CompareEditorIn put.java:772)
at org.eclipse.compare.CompareEditorInput.feedInput(CompareEdit orInput.java:750)
at org.eclipse.compare.CompareEditorInput.createContents(Compar eEditorInput.java:554)
at org.eclipse.compare.internal.CompareEditor.createCompareCont rol(CompareEditor.java:456)
at org.eclipse.compare.internal.CompareEditor.createPartControl (CompareEditor.java:414)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:289)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2863)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2691)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2682)
at org.eclipse.compare.internal.CompareUIPlugin$1.run(CompareUI Plugin.java:518)
at org.eclipse.compare.internal.CompareUIPlugin.syncExec(Compar eUIPlugin.java:1258)
at org.eclipse.compare.internal.CompareUIPlugin.internalOpenEdi tor(CompareUIPlugin.java:529)
at org.eclipse.compare.internal.CompareUIPlugin.openCompareEdit or(CompareUIPlugin.java:491)
at org.eclipse.compare.CompareUI.openCompareEditorOnPage(Compar eUI.java:168)
at org.eclipse.compare.CompareUI.openCompareEditor(CompareUI.ja va:137)
at org.eclipse.compare.CompareUI.openCompareEditor(CompareUI.ja va:121)
at org.eclipse.team.svn.ui.compare.ResourceCompareInput.openCom pareEditor(ResourceCompareInput.java:117)
at org.eclipse.team.svn.ui.operation.CompareResourcesInternalOp eration$4$1.run(CompareResourcesInternalOperation.java:175)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockL istener.java:164)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer. java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)
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(Work bench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)



For information, it works without a problem on java sources from a java perspective

I am using Eclipse Helios SR1 (build ID 20100917-0705),
PDT 2.2.1.v20100826-1100 and Subversive SVN Team Provider (Incubation) 0.7.9.I20100512-1900

[Updated on: Mon, 13 December 2010 11:31]

Report message to a moderator

Re: Can't compare CVS files in PDT [message #645535 is a reply to message #644654] Fri, 17 December 2010 11:51 Go to previous messageGo to next message
Mauro Molinari is currently offline Mauro Molinari
Messages: 277
Registered: July 2009
Senior Member
Maybe you ran into this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=326194

Mauro.
Re: Can't compare CVS files in PDT [message #645591 is a reply to message #645535] Sat, 18 December 2010 07:51 Go to previous message
apassiou  is currently offline apassiou
Messages: 2
Registered: December 2010
Junior Member
Mauro Molinari wrote on Fri, 17 December 2010 11:51
Maybe you ran into this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=326194

Mauro.

Thanks for the tip, I have updated the PDT via tieur own update site (instead of the helios's one) and now it works and I can again use the compare view on PHP files with subversive

[Updated on: Sat, 18 December 2010 07:52]

Report message to a moderator

Previous Topic:Working Sets - directories/files missing
Next Topic:trouble with Zend Debugger
Goto Forum:
  


Current Time: Wed Jul 23 10:08:16 EDT 2014

Powered by FUDForum. Page generated in 0.02188 seconds