This is my third email related to this kind of issues in less than a week... and it is going to be the last one

These day I am experimenting a lot of problems while trying to compile the trunk (install.source)

Since yesterday I have this issue while compiling (which have an ugly workaround)

https://issues.openbravo.com/view.php?id=7476

And now when I have done a svn update and then install.source, the bottom logged error has appeared (I am not going to spend 1 more minute on this things. If I can't compile, I can't fix any bug so I can't commit any fix)

If team is doing major changes on the build tasks and processes, a branch to this purposed should have been created, and after the QA of it, merged to the trunk to avoid the rest of the people lose their time.

Regards.

David.


--------------

PD: All my sources are trunk "retail" sources, I have not done any BBDD or any file change on my own.
 
import.sample.data:
     [echo] Importing sample reference data
[importsampledata] org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update                                                   
[importsampledata]      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)                                                        
[importsampledata]      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)                                                    
[importsampledata]      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)                                                           
[importsampledata]      at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)                                                        
[importsampledata]      at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)                                                        
[importsampledata]      at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:222)                                                  
[importsampledata]      at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2224)                                    
[importsampledata]      at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660)                                    
[importsampledata]      at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)                                                         
[importsampledata]      at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)                                                                      
[importsampledata]      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)                                                               
[importsampledata]      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)                                                               
[importsampledata]      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)                     
[importsampledata]      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)                                        
[importsampledata]      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)                                                                         
[importsampledata]      at org.openbravo.dal.service.OBDal.flush(OBDal.java:91)
[importsampledata]      at org.openbravo.service.db.DataImportService.importDataFromXML(DataImportService.java:224)                                            
[importsampledata]      at org.openbravo.service.db.DataImportService.importClientData(DataImportService.java:138)                                             
[importsampledata]      at org.openbravo.service.db.ImportReferenceDataTask.doExecute(ImportReferenceDataTask.java:52)                                         
[importsampledata]      at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:116)                                                    
[importsampledata]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)                                                                
[importsampledata]      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)                                                                         
[importsampledata]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                               
[importsampledata]      at java.lang.reflect.Method.invoke(Method.java:597)    
[importsampledata]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)                                                         
[importsampledata]      at org.apache.tools.ant.Task.perform(Task.java:348)    
[importsampledata]      at org.apache.tools.ant.Target.execute(Target.java:357)
[importsampledata]      at org.apache.tools.ant.Target.performTasks(Target.java:385)                                                                           
[importsampledata]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)                                                                
[importsampledata]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)                                         
[importsampledata]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)                                                                      
[importsampledata]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)                                                                             
[importsampledata]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)                                                                
[importsampledata]      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)                                                                         
[importsampledata]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                               
[importsampledata]      at java.lang.reflect.Method.invoke(Method.java:597)    
[importsampledata]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)                                                         
[importsampledata]      at org.apache.tools.ant.Task.perform(Task.java:348)    
[importsampledata]      at org.apache.tools.ant.Target.execute(Target.java:357)
[importsampledata]      at org.apache.tools.ant.Target.performTasks(Target.java:385)                                                                           
[importsampledata]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)                                                                
[importsampledata]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)                                         
[importsampledata]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)                                                                      
[importsampledata]      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)                                                                             
[importsampledata]      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)                                                               
[importsampledata]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)                                                                
[importsampledata]      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)                                                                         
[importsampledata]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                               
[importsampledata]      at java.lang.reflect.Method.invoke(Method.java:597)    
[importsampledata]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)                                                         
[importsampledata]      at org.apache.tools.ant.Task.perform(Task.java:348)    
[importsampledata]      at org.apache.tools.ant.Target.execute(Target.java:357)
[importsampledata]      at org.apache.tools.ant.Target.performTasks(Target.java:385)                                                                           
[importsampledata]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)                                                                
[importsampledata]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)                                                                       
[importsampledata]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)                                                 
[importsampledata]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)                                                                      
[importsampledata]      at org.apache.tools.ant.Main.runBuild(Main.java:758)   
[importsampledata]      at org.apache.tools.ant.Main.startAnt(Main.java:217)   
[importsampledata]      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)                                                                         
[importsampledata]      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)                                                                        
[importsampledata] Caused by: java.sql.BatchUpdateException: ORA-00001: restricción única (TAD_TRUNK.AD_CLIENT_NAME) violada                                   
[importsampledata]                                                             
[importsampledata]      at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)                                                  
[importsampledata]      at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10656)                                         
[importsampledata]      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)                                                          
[importsampledata]      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)                                                           
[importsampledata]      ... 58 more                                            

BUILD FAILED
/opt/openbravo/trunk/build.xml:460: The following error occurred while executing this line:                                                                    
/opt/openbravo/trunk/build.xml:363: The following error occurred while executing this line:                                                                    
/opt/openbravo/trunk/src/build.xml:178: org.openbravo.base.exception.OBException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update                                                                    

Total time: 34 minutes 47 seconds

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to