Need help with RowOutOfBoundsException

View: New views
2 Messages — Rating Filter:   Alert me  

Need help with RowOutOfBoundsException

by wifo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everybody,

i have a problem in comprehending the exception RowOutOfBoundsException.

This is my code

        QueryDataSet partialDataSet = new QueryDataSet(connection);
        partialDataSet.addTable("employee", "SELECT * FROM employee fetch first 10 rows only");
        partialDataSet.addTable("employee_ext_xref");
        FlatXmlDataSet.write(partialDataSet,
                new FileOutputStream("partial-dataset.xml"));


I get the following error :

18.03.2008 19:02:39 org.dbunit.dataset.DefaultTable addTableRows
SEVERE: addTableRows()
org.dbunit.dataset.RowOutOfBoundsException: 389 > 389

why ? i only want to export the table to an xml-file

please help me

with kind regards

ferdinand


Re: Need help with RowOutOfBoundsException

by Roberto Lo Giacco-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ferdinand,
first of all I wish to thank you for reporting this issue.

Sebastien has suddenly started to investigate the problem and we end
up this is not a *real* problem: this is just a misleading logging
statement I introduced when I added logging  support to dbunit.

I wish to clarify you all that you can simply ignore this message,
which by the way we have already removed from trunk, as it doesn't
change the operational activity of the library.

We understand this log statement could mess up your console and we are
working on a 2.2.2 release to clean it up.

Thanks again for your report,
   Roberto lo Giacco

2008/3/19, wifo <fprahst@...>:

>
>  Hi everybody,
>
>  i have a problem in comprehending the exception RowOutOfBoundsException.
>
>  This is my code
>
>         QueryDataSet partialDataSet = new QueryDataSet(connection);
>         partialDataSet.addTable("employee", "SELECT * FROM employee fetch
>  first 10 rows only");
>         partialDataSet.addTable("employee_ext_xref");
>         FlatXmlDataSet.write(partialDataSet,
>                 new FileOutputStream("partial-dataset.xml"));
>
>
>  I get the following error :
>
>  18.03.2008 19:02:39 org.dbunit.dataset.DefaultTable addTableRows
>  SEVERE: addTableRows()
>  org.dbunit.dataset.RowOutOfBoundsException: 389 > 389
>
>  why ? i only want to export the table to an xml-file
>
>  please help me
>
>  with kind regards
>
>  ferdinand

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
dbunit-user mailing list
dbunit-user@...
https://lists.sourceforge.net/lists/listinfo/dbunit-user
LightInTheBox - Buy quality products at wholesale price!