I'm afraid we need more information:
- which version of the java bindings are you using
- when you run example 10 outside of your application, does it have the same behavior? (i've just tested the java 64 bit bindings from the last release, and it seemed to be fine for a selection of sbml models)
- example #10 requires an sbml model, could you let us know which one you used?
my guess would be, that you try to address elements past the array boundaries, resulting in an exception. But i'm afraid of that the bits from the exception do not provide enough information.
best
Frank