Here my stack trace:

org.apache.ibatis.exceptions.IbatisException: ### Error updating database.  
Cause: org.apache.ibatis.executor.ExecutorException: Executor was closed.### 
The error may exist in org/acl/dbmapping/User.xml### The error may involve 
org.acl.base.user.insert### The error occurred while executing an update### 
SQL: select count(1) as num     from role     where           role=?### Cause: 
org.apache.ibatis.executor.ExecutorException: Executor was closed.        at 
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:95)
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:82)
        at org.common.lib.Manager.insert(Manager.java:84)        at 
provagui.UserDetailFrameController.insertRecord(UserDetailFrameController.java:66)
        at org.openswing.swing.form.client.Form.save(Form.java:1670)        at 
org.openswing.swing.client.SaveButton.executeOperation(SaveButton.java:50)      
  at org.openswing.swing.client.GenericButton.execute(GenericButton.java:143)   
     at 
org.openswing.swing.client.GenericButton$1.actionPerformed(GenericButton.java:63)
        at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)        
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) 
       at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) 
       at 
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)        
at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at 
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)        
at java.awt.Component.processMouseEvent(Component.java:6263)        at 
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)        at 
java.awt.Component.processEvent(Component.java:6028)        at 
java.awt.Container.processEvent(Container.java:2041)        at 
java.awt.Component.dispatchEventImpl(Component.java:4630)        at 
java.awt.Container.dispatchEventImpl(Container.java:2099)        at 
java.awt.Component.dispatchEvent(Component.java:4460)        at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)        
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)        
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)        at 
java.awt.Container.dispatchEventImpl(Container.java:2085)        at 
java.awt.Window.dispatchEventImpl(Window.java:2475)        at 
java.awt.Component.dispatchEvent(Component.java:4460)        at 
java.awt.EventQueue.dispatchEvent(EventQueue.java:599)        at 
org.openswing.swing.util.client.ApplicationEventQueue$InternalEventQueue.dispatchEvent(ApplicationEventQueue.java:130)
        at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)  
      at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)        at 
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Caused by: 
org.apache.ibatis.executor.ExecutorException: Executor was closed.        at 
org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:63)        at 
org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:39)      
  at 
org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:93)
        ... 34 more
----Messaggio originale---- Da: clinton.be...@gmail.com Data: 25/11/2009 4.44 
A: <user-java@ibatis.apache.org>, "masonka...@libero.it"<masonka...@libero.it> 
Ogg: Re: Error updating database. Cause: 
org.apache.ibatis.executor.ExecutorException:     Executor was closed.  Stack 
trace?
On Tue, Nov 24, 2009 at 4:11 PM, masonka...@libero.it <masonka...@libero.it> 
wrote:
Hi,  I have a problem when I try to insert into table e new line. Ibatis 
(version 3, beta 5)  report the error message:  Error updating database. Cause: 
org.apache.ibatis.executor.ExecutorException: Executor was closed.  the insert 
clause used is:        insert into user (usr,pwd,role,dsc,sts)  values 
(#{username},#{password},#{role},#{description},#{status})  What's strange is 
that the delete function and the update one work fine.  Could you give me some 
advice about the origin of the problem?  Thanks.  
--------------------------------------------------------------------- To 
unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional 
commands, e-mail: user-java-h...@ibatis.apache.org 

 

Reply via email to