FórumCategoria: Fórum - Perguntas e Respostaserro-ao-recuperar-a-ecd-na-ecf
Alexandre S Paffi perguntou há 8 anos

Bom dia!
Quando tento recuperar a ECD está me dando o erro abaixo. Já reinstalei tres vezes o PVA e não resolveu, já tentei contato com a RFB e n~]ao respondem. Alguém teve o mesmo problema?
Data: 11/07/2017 – 09:48:16  -Sistema: SPED-ECF  -Versão: 3.0.1  -Sistema Operacional: Windows Server 2008 R2  -Arquitetura SO: 64  -Versão Java: 1.8.0_51  -Arquitetura JVM: 32
 
br.gov.serpro.vepxml.nucleo.excecao.ExcecaoRegistroCorrompido: Operation not allowed after ResultSet closed
                at br.gov.serpro.vepxml.persistenciabd.util.Util.converterResultSetEmRegistro(Util.java:121)
                at br.gov.serpro.vepxml.persistenciabd.iterador.IteradorRegistroScrollablePaginado.getRegistroPosicaoRelativaPagina(IteradorRegistroScrollablePaginado.java:124)
                at br.gov.serpro.vepxml.persistenciabd.iterador.IteradorRegistroScrollablePaginado.primeiro(IteradorRegistroScrollablePaginado.java:189)
                at br.gov.serpro.vepxml.persistenciabd.dao.registro.RegistroDAO.selecionarPrimeiroRegistro(RegistroDAO.java:257)
                at br.gov.serpro.vepxml.persistencia.datasource.DataSourcePersistenciaVep.getItem(DataSourcePersistenciaVep.java:110)
                at br.gov.serpro.vepxml.edicao.view.tabela.TableModelRegistro.getValueAt(TableModelRegistro.java:229)
                at javax.swing.JTable.getValueAt(Unknown Source)
                at javax.swing.JTable.prepareRenderer(Unknown Source)
                at br.gov.serpro.vepxml.edicao.view.tabela.JTabelaRegistro.prepareRenderer(JTabelaRegistro.java:153)
                at javax.swing.plaf.synth.SynthTableUI.paintCell(Unknown Source)
                at javax.swing.plaf.synth.SynthTableUI.paintCells(Unknown Source)
                at javax.swing.plaf.synth.SynthTableUI.paint(Unknown Source)
                at javax.swing.plaf.synth.SynthTableUI.update(Unknown Source)
                at javax.swing.JComponent.paintComponent(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at br.gov.serpro.vepxml.edicao.view.tabela.JTabelaRegistro.paint(JTabelaRegistro.java:291)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JViewport.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JSplitPane.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at br.gov.serpro.comum.swing.tabbedpane.TabbedPaneComBotaoFechar.paint(TabbedPaneComBotaoFechar.java:136)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JViewport.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JLayeredPane.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JSplitPane.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JSplitPane.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at javax.swing.JLayeredPane.paint(Unknown Source)
                at javax.swing.JComponent.paintChildren(Unknown Source)
                at javax.swing.JComponent.paintToOffscreen(Unknown Source)
                at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
                at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
                at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
                at javax.swing.RepaintManager.paint(Unknown Source)
                at javax.swing.JComponent.paint(Unknown Source)
                at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
                at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
                at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
                at java.awt.Container.paint(Unknown Source)
                at java.awt.Window.paint(Unknown Source)
                at javax.swing.RepaintManager$4.run(Unknown Source)
                at javax.swing.RepaintManager$4.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
                at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
                at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
                at javax.swing.RepaintManager.access$1300(Unknown Source)
                at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
                at java.awt.event.InvocationEvent.dispatch(Unknown Source)
                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                at java.awt.EventQueue.access$500(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue.dispatchEvent(Unknown Source)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                at java.awt.WaitDispatchSupport$2.run(Unknown Source)
                at java.awt.WaitDispatchSupport$4.run(Unknown Source)
                at java.awt.WaitDispatchSupport$4.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.awt.WaitDispatchSupport.enter(Unknown Source)
                at java.awt.Dialog.show(Unknown Source)
                at java.awt.Component.show(Unknown Source)
                at java.awt.Component.setVisible(Unknown Source)
                at java.awt.Window.setVisible(Unknown Source)
                at java.awt.Dialog.setVisible(Unknown Source)
                at br.gov.serpro.comum.swing.progresso.DialogAguarde.iniciar(DialogAguarde.java:172)
                at br.gov.serpro.comum.swing.util.UtilAguardeSwing.executarMetodoComAnotacaoAguarde(UtilAguardeSwing.java:60)
                at br.gov.serpro.sped.irpjpva.fronteira.recuperardadosecd.DialogRecuperarDadosEcd.btnOkClick(DialogRecuperarDadosEcd.java:906)
                at br.gov.serpro.comum.swing.dialogs.padrao.synth.JDialogPadrao$3.actionPerformed(JDialogPadrao.java:141)
                at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
                at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
                at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
                at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
                at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
                at java.awt.Component.processMouseEvent(Unknown Source)
                at javax.swing.JComponent.processMouseEvent(Unknown Source)
                at java.awt.Component.processEvent(Unknown Source)
                at java.awt.Container.processEvent(Unknown Source)
                at java.awt.Component.dispatchEventImpl(Unknown Source)
                at java.awt.Container.dispatchEventImpl(Unknown Source)
                at java.awt.Component.dispatchEvent(Unknown Source)
                at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
                at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
                at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
                at java.awt.Container.dispatchEventImpl(Unknown Source)
                at java.awt.Window.dispatchEventImpl(Unknown Source)
                at java.awt.Component.dispatchEvent(Unknown Source)
                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                at java.awt.EventQueue.access$500(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue$4.run(Unknown Source)
                at java.awt.EventQueue$4.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue.dispatchEvent(Unknown Source)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                at java.awt.WaitDispatchSupport$2.run(Unknown Source)
                at java.awt.WaitDispatchSupport$4.run(Unknown Source)
                at java.awt.WaitDispatchSupport$4.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.awt.WaitDispatchSupport.enter(Unknown Source)
                at java.awt.Dialog.show(Unknown Source)
                at java.awt.Component.show(Unknown Source)
                at java.awt.Component.setVisible(Unknown Source)
                at java.awt.Window.setVisible(Unknown Source)
                at java.awt.Dialog.setVisible(Unknown Source)
                at br.gov.serpro.sped.irpjpva.fronteira.menu.editorescrituracao.acoes.ActionRecuperarDadosEcd.actionPerformed(ActionRecuperarDadosEcd.java:126)
                at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
                at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
                at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
                at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
                at javax.swing.AbstractButton.doClick(Unknown Source)
                at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
                at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
                at java.awt.Component.processMouseEvent(Unknown Source)
                at javax.swing.JComponent.processMouseEvent(Unknown Source)
                at java.awt.Component.processEvent(Unknown Source)
                at java.awt.Container.processEvent(Unknown Source)
                at java.awt.Component.dispatchEventImpl(Unknown Source)
                at java.awt.Container.dispatchEventImpl(Unknown Source)
                at java.awt.Component.dispatchEvent(Unknown Source)
                at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
                at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
                at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
                at java.awt.Container.dispatchEventImpl(Unknown Source)
                at java.awt.Window.dispatchEventImpl(Unknown Source)
                at java.awt.Component.dispatchEvent(Unknown Source)
                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                at java.awt.EventQueue.access$500(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue$4.run(Unknown Source)
                at java.awt.EventQueue$4.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue.dispatchEvent(Unknown Source)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.sql.SQLException: Operation not allowed after ResultSet closed
                at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
                at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:937)
                at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
                at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:872)
                at com.mysql.jdbc.ResultSetImpl.checkClosed(ResultSetImpl.java:740)
                at com.mysql.jdbc.ResultSetImpl.checkRowPos(ResultSetImpl.java:784)
                at com.mysql.jdbc.ResultSetImpl.getNativeString(ResultSetImpl.java:4213)
                at com.mysql.jdbc.ResultSetImpl.getStringInternal(ResultSetImpl.java:5357)
                at com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5167)
                at org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213)
                at org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213)
                at org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213)
                at br.gov.serpro.vepxml.persistenciabd.util.Util.converterResultSetEmRegistro(Util.java:48)
                … 193 more
 

2 Respostas
Eliza Andrade respondeu há 8 anos

Boa tarde,
Não estou conseguindo recuperar a ECD na ECF, está dando erro de:” a ECD não pode ser recuperada por não estar assinada”.
Porém, só está dando esse erro nas ECD que foram assinadas apenas com o certificado do contador, já as ECD que foram assinadas com o do contador e da empresa, eu consegui recuperar.
Teria como retificar, substituir essas ECD que não consigo recuperar? Gera multa?
O que devo fazer?
Estou preocupada com o prazo!

Guilherme Oliveira de Almeida respondeu há 8 anos

Bom dia!
 
Alexandre, verifique se todas as tabelas do PVA estão atualizadas.
Sempre execute o PVA como adm da Maquina ou PC que você está trabalhando.
Este erro é de permissão em portas do JAVA e ou tabelas desatualizadas!
 
Eliza,
 
Para que você consiga exportar o ECD para a ECF é obrigatório que o ECD esteja assinada pelo contador e pela empresa ou representante legal.
 
Att,