Hi i try to run the following code..But it shows the error.. Please guide what is the actual error how to resolve it??
ComponentManager cm=ComponentManager.getInstance();
ProjectManager pm = cm.getProjectManager();
List pro=new ArrayList<Project>();
pro.add(pm.getProjectObjects());
Iterator it=pro.iterator();
while(it.hasNext())
{
Project proj=it.next();
//id[i]=proj.getId();
//System.out.println(id[i]);
}