[InterMine Dev] errors in build a new mine

wang su wangsu0623 at gmail.com
Mon Oct 3 09:15:04 BST 2011


hi ,
I am loading data into my database 
# in MINE_NAME/integrate
ant -v -Dsource=all
then, there are some errors happened ,before building  this mine, I had  built the malariamine following the start steps. The error is like:



BUILD FAILED
/mnt/Storage/home/wangs/intermine_0_97/imbuild/integrate.xml:54: The following error occurred while executing this line:
/mnt/Storage/home/wangs/intermine_0_97/imbuild/source.xml:330: java.lang.RuntimeException: Exception while dataloading - to allow multiple errors, set the property "dataLoader.allowMultipleErrors" to true
Problem while loading item identifier 1_1 because
There is already an equivalent in the database from this source (<Source: name="uniprot-path", type="uniprot", skeleton=false>) from a *previous* run; object from source in this run: "DataSource [description="null", id="4", name="UniProt", url="null"]", object from database: "DataSource [description="null", id="1000001", name="UniProt", url="null"]"; noticed problem while merging field "name" originally read from source: <Source: name="uniprot-path", type="uniprot", skeleton=false>
	at org.intermine.dataloader.ObjectStoreDataLoader.process(ObjectStoreDataLoader.java:164)
	at org.intermine.dataloader.ObjectStoreDataLoader.process(ObjectStoreDataLoader.java:60)
	at org.intermine.dataloader.ObjectStoreDataLoaderTask.execute(ObjectStoreDataLoaderTask.java:128)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
	at org.intermine.task.Integrate.performAction(Integrate.java:223)
	at org.intermine.task.Integrate.performAction(Integrate.java:136)
	at org.intermine.task.Integrate.execute(Integrate.java:127)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
	at org.apache.tools.ant.Main.runBuild(Main.java:801)
	at org.apache.tools.ant.Main.startAnt(Main.java:218)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.IllegalArgumentException: There is already an equivalent in the database from this source (<Source: name="uniprot-path", type="uniprot", skeleton=false>) from a *previous* run; object from source in this run: "DataSource [description="null", id="4", name="UniProt", url="null"]", object from database: "DataSource [description="null", id="1000001", name="UniProt", url="null"]"; noticed problem while merging field "name" originally read from source: <Source: name="uniprot-path", type="uniprot", skeleton=false>
	at org.intermine.dataloader.IntegrationWriterDataTrackingImpl.store(IntegrationWriterDataTrackingImpl.java:372)
	at org.intermine.dataloader.IntegrationWriterAbstractImpl.store(IntegrationWriterAbstractImpl.java:171)
	at org.intermine.dataloader.ObjectStoreDataLoader.process(ObjectStoreDataLoader.java:146)
	... 33 more

Total time: 1 minute 4 seconds
 


Thanks
Su 
Tongji University , Shanghai China

 


More information about the dev mailing list