Buggy code:
public class DataClusterDialog extends Dialog { private static final Log log = LogFactory . getLog ( DataClusterDialog . class ) ; private TreeObject model ; private MDMServerDef oldServerDef = null ; private Text textViewer ; private ComboViewer serverComboViewer ; private ComboViewer containerComboViewer ; private DataClusterComposite clusterComposite ; private String recordContent ; private LineItem selected ; private IWorkbenchPartSite site ; private Color defaultColor ; private Color greyColor = Display . getCurrent ( ) . getSystemColor ( COLOR_GRAY ) ; private List < TreeObject > dataContainers ; private List < MDMServerDef > allServerDefs ; private boolean hasdefaultServer = false ; private String okLabel ; private String cancelLabel ; private SelectionListener additionSelectionListener ; public DataClusterDialog ( Shell parentShell , TreeObject treeObject , IWorkbenchPartSite site ) { } @ Override protected void configureShell ( Shell newShell ) { } @ Override protected Control createDialogArea ( Composite parent ) { } @ Override protected void initializeBounds ( ) { } private Composite createFirstLine ( Composite parent ) { } private List < MDMServerDef > getAllServerDefs ( ) { } private Composite createLastPortion ( Composite parent ) { } private void hookService ( ) { } private void hookContextMenu ( ) { } private void init ( ) { } private void selectDefaultServer ( ) { } private void selectDefaultContainer ( ) { } private void changeWidgetColor ( Color color ) { } private void showInTextWidget ( LineItem lineItem ) { } private boolean refreshDataContainerCombo ( ) { } private boolean getAllDataContainers ( List < TreeObject > dataContainers ) { MDMServerDef serverDef = getSelectedMdmServerDef ( ) ; String universe = serverDef . getUniverse ( ) ; String username = serverDef . getUser ( ) ; String password = serverDef . getPasswd ( ) ; String serverName = serverDef . getName ( ) ; String endpointaddress = serverDef . getUrl ( ) ; boolean canConnect = checkConnection ( endpointaddress , username , password , universe ) ; if ( ! canConnect ) { MessageDialog . openError ( site . getShell ( ) , DataClusterDialog_7 , DataClusterDialog_8 ) ; return false ; } List < WsDataClusterPK > xdcPKs = null ; try { TMDMService service = Util . getMDMService ( new URL ( endpointaddress ) , universe , username , password ) ; TreeParent serverRoot = new TreeParent ( serverName , null , TreeObject . _SERVER_ , endpointaddress , ( ( ( ( "" . equals ( universe ) ? "" : universe + "//" ) + username ) + ":" ) + ( password == null ? "" : password ) ) ) ; <START_BUG> xdcPKs = service . getDataClusterPKs ( new WsRegexDataClusterPKs ( "" ) ) . getWsDataClusterPKs ( ) ; <END_BUG> for ( WsDataClusterPK pk : xdcPKs ) { String name = pk . getPk ( ) ; if ( ! ( "CACHE" . equals ( name ) ) ) { WsDataCluster wsObject = null ; boolean retriveWSObject = false ; try { if ( retriveWSObject ) { wsObject = service . getDataCluster ( new com . amalto . workbench . webservices . WsGetDataCluster ( pk ) ) ; } TreeObject obj = new TreeObject ( name , serverRoot , TreeObject . DATA_CLUSTER , pk , wsObject ) ; dataContainers . add ( obj ) ; } catch ( Exception e ) { DataClusterDialog . log . error ( e . getMessage ( ) , e ) ; } } } } catch ( Exception e ) { DataClusterDialog . log . error ( e . getMessage ( ) , e ) ; return false ; } return true ; } private boolean checkConnection ( String endpointaddress , String username , String password , String universe ) { } private MDMServerDef getSelectedMdmServerDef ( ) { } public void setDefaultServerDef ( MDMServerDef defaultServerDef ) { } @ Override protected void createButtonsForButtonBar ( Composite parent ) { } @ Override protected void okPressed ( ) { } public void setOkLabel ( String okLabel ) { } public void setCancelLabel ( String cancelLabel ) { } public void setSelectionListener ( SelectionListener listener ) { } public Text getText ( ) { } public MDMServerDef getServerDef ( ) { } public String getDataContainer ( ) { } public String getConcept ( ) { } public String getRecordContent ( ) { } public String [ ] getRecordIds ( ) { } class NewItemAction extends Action { private Shell shell ; public NewItemAction ( Shell shell ) { } @ Override public void run ( ) { } } }

Fix:
xdcPKs = service . getDataClusterPKs ( new WsRegexDataClusterPKs ( "*" ) ) . getWsDataClusterPKs ( ) ;