Nicklas Nordborg wrote:
Dominic Oyeniran wrote:
I am experiencing the problem with deletion of items. See the exception
below.
Description: When you start deleting from the trash can either with
delete permanently or empty trash, the process dialog comes up but never
finishes and throws the exception below
The db control is also not closed once an excpetion occurs
I have noticed that it only occurs with raw bio assay.
Any clue on how to solve this. It stops me from re-using a file for
example since I could delete an already linked file, ad same with other
items.
I think this problem only happens for Affymetrix data. I am not able to
reproduce it for any other raw data types. I think the source of the
problem is that when deleting a raw bioassay, BASE also tries to delete
the raw data associated with it. Since Affymetrix data isn't stored in
the database this will of course fail. After that I really don't know
what is happening. The NullPointerException is coming from the cleanup
code that is cleaning up after the first error, thus the DbControl fails
to be closed and the Found unclosed DbControl is warning is logged. I
will have to investigate more before I know why the error in the cleanup
code happens.
In any case, there is an easy workaround. Edit the raw bioassay and
select 'none' as the CEL file. Save the changes and then retry deleting
it from the trashcan again.
/Nicklas
The workaround works.
But thats after I removed each raw bioassay and its associated
experiment first and thereafter remove all the other items by emptying
the trash.
Note I have multiple experiments loaded :affy, genepix and agilent from
Biosource to Experiment items.
I will try deleting all at one go again and let you know
Cheers,
¬Dominic
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]