问题如下: 
接口 
public interface FlowService {     // 查询已发布的流程并且已添加了表单模板 
public List findReleaseFlowAndTemp(Map filter); 

--------------------------------------------------------------------------- 
在接口FlowService的同一文件文件夹下增加了FlowService.aegis.xml文件内容如下 
<?xml version="1.0" encoding="UTF-8"?> 
<mappings> 
    <mapping> 
        <method name="findReleaseFlowAndTemp"> 
            <parameter index="0" componentType="java.lang.String" /> 
            <return-type componentType="com.acms.demon.workflow.model.ReleaseFlow" /> 
        </method> 
    </mapping> 
</mappings> 
------------------------------------------------------------------------------ 
该接口有一方法返加一个List集合里面存放ReleaseFlow对像,这个对像中有一个自定义的WorkFlow对像, 
在ReleaseFlow对像的同一文件夹下增加了 
ReleaseFlow.aegis.xml文件内容如下 
<?xml version="1.0" encoding="UTF-8"?>   
<mappings xmlns:my="http://com.acms.demon.workflow">   
  <mapping name="my:ReleaseFlow">   
    <property name="workFlow" ignore="true"/> 
  </mapping>   
</mappings> 
---------------------------------------------------------------------- 
实现类 
public class FlowServiceImpl  implements FlowService{ 
private WorkflowDAO workFlowDAO; public WorkflowDAO getWorkFlowDAO() { 
return workFlowDAO; 

public void setWorkFlowDAO(WorkflowDAO workFlowDAO) { 
this.workFlowDAO = workFlowDAO; 

public List findReleaseFlowAndTemp(Map filter) { return workFlowDAO.findReleaseFlowAndTemp(filter); 

----------------------------------------------------------------------- 
能正常生成wsdl文件 
在客户端测式findReleaseFlowAndTemp方法时能从数据查询到一个结果集返加给我这个方法.但是当从结果集中取出WorkFlow对像的一个属性进报空指针异常 
ReleaseFlow rf=(ReleaseFlow)resultList.get(i); 
rf.getWorkFlow().getProcessDefinitionName()这行是取出releaseFlow对像的属性Workflow对像的一个属性时报空指针异常,取其它值正常。 请各位帮忙看下如何解决谢谢!