Hello,

Am 13.09.2007 um 17:46 schrieb Manuel Echeverry:
> Exception:
>
> java.lang.IllegalArgumentException: Value is not an long
>
>        at org.dspace.storage.rdbms.TableRow.getLongColumn 
> (TableRow.java:203)
For me, it looks a bit as if you have wrong data in your DB.
I dont know how it can come there, but if the query gets
data back which is not of the type expected, the assumption
is logical, that the data came there during an insert or
update.

There are several thing you can do:

Turn on log level debug and check thoroughly for warnings
of this kind: Got SQL Warning:

Second, think about the expected result set in your searches.
When did the problems start? Which items were added to the
repositories at that time? Do searches that will yield only
older items in their result set also fail? If not, then this
would foster my assumption.

Modify the /src/org/dspace/storage/rdbms/TableRow.java to
log the content of "value" around line 194. I admit, this
is a bit much work. As this class does not log anything
so far, you would have to import appropriate interfaces
such as org.apache.log4j.Logger and so on. This will take
time.

I expect, you use postgres and that is also set in your
dspace.cfg as your db.name. If this does not mach, I dont
whether you would ever have come as far, but it would be
calling for trouble. The Exception should not happen with
Oracle, because different implementations are in place for
that.

Bye, Christian


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to