In JIRA AMPS Version 6.2.11, I am getting classcastexception when I try to assign ProjectComponent object to GenericValue. It was working before but giving issues with JIRA 7.5. Any suggestions please?
Here is the code and error
for (Iterator<ProjectComponent> compIterator = compCollection.iterator(); compIterator.hasNext();){
GenericValue component = (GenericValue) compIterator.next();
}
java.lang.ClassCastException: com.atlassian.jira.bc.project.component.ProjectComponentImpl cannot be cast to org.ofbiz.core.entity.GenericValue