Community
Participate
Working Groups
Created attachment 202424 [details] screen shot showing the error. Remote machine may need to be configured with git. Steps to reproduce this: 1> Click on New->Project->Sync C/C++ Project. Enter project name. 2> Choose empty makefile project with remote XL C/C++ tool chain. 3> Give a remote location for the project instead of default location. 4> Click on Next twice and click on finish. Stack trace: An internal error occurred during: "Remote Synchronization". java.lang.NullPointerException at org.eclipse.ptp.rdt.sync.git.core.GitServiceProvider.synchronize(GitServiceProvider.java:282) at org.eclipse.ptp.internal.rdt.sync.core.ResourceChangeListener$SynchronizeJob.run(ResourceChangeListener.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Also got this error: Unhandled event loop exception java.lang.NullPointerException at org.eclipse.ptp.rdt.sync.core.BuildConfigurationManager.createLocalConfiguration(BuildConfigurationManager.java:667) at org.eclipse.ptp.rdt.sync.ui.wizards.NewRemoteSyncProjectWizard.performFinish(NewRemoteSyncProjectWizard.java:88) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) ...... Attached a screenshot of the error.
Note that accepting the default location for the project location on the first wizard page works fine and does not result in this NPE. It seems that only if we enter a remote location for the project in step 3 described earlier we get this error.
Yes, sync does not support having a remote project directory. I've added this as a known issue on the wiki.
Closing this as fixed. I've opened bug 360997 to address problems with the new synchronized project wizard.