Index: src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java =================================================================== --- src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java (revision 41612) +++ src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java (working copy) @@ -66,9 +66,10 @@ String destinationFolder = ExpressServerUtils.getExpressDeployFolder(behaviour.getServer()); IContainer destFolder = "".equals(destinationFolder) ? magicProject : (IContainer)magicProject.findMember(new Path(destinationFolder)); if( destFolder == null || !destFolder.isAccessible()) { + String path = destFolder == null?"[null]":destFolder.getProjectRelativePath().toOSString(); throw new CoreException(new Status(IStatus.ERROR, OpenShiftUIActivator.PLUGIN_ID, - NLS.bind(ExpressMessages.publishFailMissingFolder, behaviour.getServer().getName(), destFolder.getProjectRelativePath()))); + NLS.bind(ExpressMessages.publishFailMissingFolder, behaviour.getServer().getName(), path))); } }