Error when trying to create deployment export of planning application

Symptom
Planningerrorlog.csv shows error message

There was a problem running the Deployment Wizard.~~Caused by:
java.util.NoSuchElementException: null~~~at
java.util.TreeMap.key(TreeMap.java:448)~~~at
java.util.TreeMap.firstKey(TreeMap.java:302)~~~at
com.cognos.ep.dtp.exporting.ExportObjectSelectionPane.populateExportTree(line 263)~~~at
com.cognos.ep.dtp.PlanningTransferWizard.showExportWizardPane(line 1863)~~~at
com.cognos.ep.dtp.PlanningTransferWizard.runPlanningExportWizard(line 1480)~~~at
com.cognos.ep.dtp.PlanningTransferWizard.showWizardPage(line 1340)~~~at
com.cognos.ep.dtp.PlanningTransferWizard.access$900(line 84)~~~at
com.cognos.ep.dtp.PlanningTransferWizard$5.widgetSelected(line 460)~~~at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)~~~at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)~~~at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)~~~at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)~~~at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)~~~at
com.cognos.ep.dtp.PlanningTransferWizard.showGUI(line 293)~~~at
com.cognos.ep.dtp.PlanningTransferWizard.main(line 256)~~

The true problem is in the export screen. You will see Export object select and then what would you like to export. The problem of the export is just underneath it, whether it's the admin link or macro that could be causing the problem.

Problem
When attempting to create a new deployment it fails with the following message:

"There was a problem running the Deployment Wizard null"

Cause
Either there are two applications with the same name or two macros with the same name in the Cognos Administration Console.

Solution
Remove or rename one of the macros/applications or delete the admin link in question.

www.cogknowhow.com