Opened 14 years ago

Last modified 11 years ago

#262 new defect

Tab2Mage exporter exception: Can't use an unsaved item in query: Annotation set[new]

Reported by: Nicklas Nordborg Owned by: Jari Häkkinen
Priority: major Milestone: ZZ Other tickets
Component: not classified Keywords:


I tried to use your plugin that exports an experiment to tab2mage formate, but it gave me the following error in the Stack trace tab:

net.sf.basedb.core.UnsavedItemException: Can't use an unsaved item in query: Annotation set[new]
at net.sf.basedb.core.query.Hql.entity(
at net.sf.basedb.core.AnnotationSet.getAnnotations(
at net.sf.basedb.core.PluginExecutionRequest.invoke(
at net.sf.basedb.core.InternalJobQueue$

So please tell me how to solve it.

my name is Ahmed Ali and I'm a research assistant at the Nile University, Bioinformatics Research Group.

Change History (2)

comment:1 by Nicklas Nordborg, 14 years ago

It seems like the exporter is creating a new annotation on an item that doesn't have one. This is probably a bug in the exporter. To get around it you probably have to create an annotation where it is missing. Try to use the "Overview" and then "Validate" function in BASE for this.

comment:2 by olle, 11 years ago

Note: The stack trace in the Ticket description probably refers to rev. @449 of class/file uk/ac/ebi/nugo/plugins/, where line 486 corresponds to:

ItemQuery<Annotation> query = bioSource.getAnnotationSet().getAnnotations();

in public method void run(Request request, Response response, ProgressReporter progress).

Note: See TracTickets for help on using tickets.