Olá a Todos!,
Recentemente atualizei o FLUIG para a versão 1.7.1-211110, e agora sempre quando vou editar/criar um novo processo, quando eu clico no botão salvar ele retorna um erro:
Ops! Aconteceu um erro inesperado. Entre em contato com o administrador.
Tentei localizar informações no LOG do servidor (server.log) e encontrei alguns erros conforme descritos abaixo, que aparecem sempre que clico no botão "Salvar" dentro do editor.
Segue:
2021-11-23 16:09:35,453 ERROR [org.jboss.as.ejb3.invocation] (default task-6) WFLYEJB0034: EJB Invocation failed on component dao/FDNResourceType for method public abstract com.totvs.technology.foundation.permission.entity.FDNResourceType com.totvs.technology.foundation.permission.dao.FDNResourceTypeDAOLocal.findByCode(java.lang.String): javax.ejb.EJBException: javax.persistence.NonUniqueResultException: query did not return a unique result: 2
2021-11-23 16:16:34,089 ERROR [org.jboss.as.ejb3.invocation] (default task-11) WFLYEJB0034: EJB Invocation failed on component service/Permission for method public abstract com.totvs.technology.foundation.sdk.service.vo.ResourceVO com.totvs.technology.foundation.permission.service.PermissionService.createOrUpdateResource(com.totvs.technology.foundation.sdk.service.vo.ResourceVO,boolean,boolean,boolean) throws com.totvs.technology.foundation.common.exception.FDNException: javax.ejb.EJBTransactionRolledbackException: javax.persistence.NonUniqueResultException: query did not return a unique result: 2
2021-11-23 16:09:35,623 ERROR [org.jboss.as.ejb3.invocation] (default task-6) WFLYEJB0034: EJB Invocation failed on component wdk/WorkflowImport for method public abstract boolean com.datasul.technology.webdesk.workflow.business.WorkflowImportBI.importProcess(java.lang.Long,java.lang.String,java.lang.String,java.lang.String,boolean,boolean,java.lang.String,boolean,boolean,int) throws java.lang.Exception: javax.ejb.EJBTransactionRolledbackException: javax.persistence.NonUniqueResultException: query did not return a unique result: 2
2021-11-23 16:09:35,662 ERROR [com.datasul.technology.webdesk.workflow.service.WorkflowEngineServiceDelegate] (default task-6) Failed to import process to WorkflowBO.
2021-11-23 16:09:35,677 ERROR [org.jboss.as.ejb3.invocation] (default task-6) WFLYEJB0034: EJB Invocation failed on component wdk/WorkflowEngineServiceDelegate for method public abstract java.lang.String com.datasul.technology.webdesk.workflow.service.WorkflowEngineServiceDelegateBI.importProcess(java.lang.Long,java.lang.String,com.datasul.technology.webdesk.dm.model.Attachment[],java.lang.String,boolean,boolean,boolean) throws java.lang.Exception: javax.ejb.EJBTransactionRolledbackException: javax.persistence.NonUniqueResultException: query did not return a unique result: 2
2021-11-23 16:09:35,715 ERROR [com.totvs.technology.ecm.services.workflow.ModelingRest] (default task-6) Falha ao importar o processo: javax.ejb.EJBTransactionRolledbackException: javax.persistence.NonUniqueResultException: query did not return a unique result: 2
Estou encaminhando o log para que possa ser melhor avaliado.
Caso alguém puder me ajudar ficarei muito grato.
Obrigado.
Att. David Junior