Buggy code:
public class DiscoveryView extends ViewPart { protected static final int TREE_EXPANSION_LEVELS = 3 ; private TreeViewer viewer ; private Action requestServiceInfoAction ; private Action registerServiceTypeAction ; private Action connectToAction ; IDiscoveryContainer container = null ; public void setDiscoveryContainer ( IDiscoveryContainer container ) { } class TreeObject implements IAdaptable { private String name ; private DiscoveryView . TreeParent parent ; public TreeObject ( String name ) { } public String getName ( ) { } public void setParent ( DiscoveryView . TreeParent parent ) { } public DiscoveryView . TreeParent getParent ( ) { } public String toString ( ) { } public Object getAdapter ( Class key ) { } } class TreeParent extends DiscoveryView . TreeObject { private ArrayList children ; private ServiceID id ; private URI serviceURI ; public TreeParent ( ServiceID id , String name , URI uri ) { } public URI getServiceURI ( ) { } public ServiceID getID ( ) { } public void addChild ( DiscoveryView . TreeObject child ) { } public void removeChild ( DiscoveryView . TreeObject child ) { } public DiscoveryView . TreeObject [ ] getChildren ( ) { } public boolean hasChildren ( ) { } } class ViewContentProvider implements IStructuredContentProvider , ITreeContentProvider { private DiscoveryView . TreeParent invisibleRoot ; protected DiscoveryView . TreeParent root ; public void inputChanged ( Viewer v , Object oldInput , Object newInput ) { } public void dispose ( ) { } public Object [ ] getElements ( Object parent ) { } public Object getParent ( Object child ) { } public Object [ ] getChildren ( Object parent ) { } public boolean hasChildren ( Object parent ) { } private void initialize ( ) { invisibleRoot = new DiscoveryView . TreeParent ( null , "" , null ) ; <START_BUG> root = new DiscoveryView . TreeParent ( null , "Discovered<seq2seq4repair_space>Service<seq2seq4repair_space>Types" , null ) ; <END_BUG> invisibleRoot . addChild ( root ) ; } void replaceOrAdd ( DiscoveryView . TreeParent top , DiscoveryView . TreeParent newEntry ) { } void addServiceTypeInfo ( String type ) { } DiscoveryView . TreeParent findServiceTypeNode ( String typename ) { } void addServiceInfo ( ServiceID id ) { } void addServiceInfo ( IServiceInfo serviceInfo ) { } void removeServiceInfo ( IServiceInfo serviceInfo ) { } } class ViewLabelProvider extends LabelProvider { public String getText ( Object obj ) { } public Image getImage ( Object obj ) { } } public DiscoveryView ( ) { } IServiceConnectListener serviceConnectListener = null ; public DiscoveryView ( IServiceConnectListener listener ) { } public void addServiceTypeInfo ( final String type ) { } public void addServiceInfo ( final IServiceInfo serviceInfo ) { } public void addServiceInfo ( final ServiceID id ) { } public void removeServiceInfo ( final IServiceInfo serviceInfo ) { } protected void refreshView ( ) { } protected void expandAll ( ) { } private void makeActions ( ) { } private void fillContextMenu ( IMenuManager manager ) { } protected void connectToContainer ( URI svcURI ) { } protected DiscoveryView . TreeObject getSelectedTreeObject ( ) { } public void createPartControl ( Composite parent ) { } private void hookContextMenu ( ) { } private void hookDoubleClickAction ( ) { } public void dispose ( ) { } public void setFocus ( ) { } }

Fix:
root = new DiscoveryView . TreeParent ( null , "Services" , null ) ;