[GeoNetwork-devel] Exception during gast setup with trunk

Hi list,

Performing gast setup I’m facing an Exception filling IsoLanguagesDes table.

I’m up to date with trunk (At revision 3177.)
The exception occurs when executing gast both, in command line and in graphical way.

Is anybody experiencing the same or should I try to look forward into my project to find what’s going wrong ?

Thanks,

Regards,
Mathieu

See the exception below :

2009-04-23 16:51:33,330 INFO [gast] - Removing database objects
2009-04-23 16:51:33,940 INFO [gast] - Creating database schema
2009-04-23 16:51:34,192 INFO [gast] - Filling database tables
2009-04-23 16:51:34,193 DEBUG [gast] - - Filling table : Categories
2009-04-23 16:51:34,228 DEBUG [gast] - - Filling table : Settings
2009-04-23 16:51:34,372 DEBUG [gast] - - Filling table : Languages
2009-04-23 16:42:10,368 DEBUG [gast] - - Filling table : IsoLanguages
2009-04-23 16:42:10,967 DEBUG [gast] - - Filling table : IsoLanguagesDes
java.lang.StringIndexOutOfBoundsException: String index out of range: 41
at java.lang.String.substring(String.java:1765)
at org.fao.gast.lib.druid.Codec.decodeString(Codec.java:44)
at org.fao.gast.lib.druid.ImportHandler.handleRow(Import.java:118)
at org.fao.gast.lib.druid.DdfLoader.handleRow(DdfLoader.java:117)
at org.fao.gast.lib.druid.DdfLoader.load(DdfLoader.java:80)
at org.fao.gast.lib.druid.Import.load(Import.java:34)
at org.fao.gast.lib.DatabaseLib.fillTables(DatabaseLib.java:456)
at org.fao.gast.lib.DatabaseLib.fillTables(DatabaseLib.java:428)
at org.fao.gast.lib.DatabaseLib.setup(DatabaseLib.java:109)
(…)

Hi Mathieu,

-----Original Message-----
From: Mathieu Coudert [mailto:mathieu.coudert@anonymised.com]

Performing gast setup I'm facing an Exception filling
IsoLanguagesDes table.

I'm up to date with trunk (At revision 3177.)
The exception occurs when executing gast both, in command
line and in graphical way.

Is anybody experiencing the same or should I try to look
forward into my project to find what's going wrong ?

My team members and me experienced the same issue when trying to install the RC1 or running gast from the trunk version of GeoNetwork.

Did you investigate further into that or is there a trac ticket accociated with this problem?

Also is there another way to get going like for example copy the McKoi database of a previous version or did the database versions change?

Thanks in advance!

    Michael