RE: Loader invocation from Java

"Dittmar, Daniel" <[email protected]> Thu, 27 Mar 2003 15:42:31 +0100
Newsgroups gmane.comp.db.sapdb.sources
Message-ID <B9A2DDA03044D311BBD40008C75D6968147D85EA@dewdfx24>
> --------------------- RESULT ---------------------
> java.lang.StringIndexOutOfBoundsException: String index out 
> of range: -1
>         at java.lang.String.substring(String.java:1476)
>         at 
> com.sap.dbtech.powertoys.LoaderException.create(LoaderExceptio
> n.java:81)

The file com/sap/dbtech/powertoys/LoaderException.java is part
of the JDBC sources.

This exception occurs because the Loader returned an error
and the method 'create' fails to parse that message properly
because the format seems to have changed.

Have a look at the content of the variable rawString to
see what the current format looks like and adapt the method
accordingly. Or just call
return new LoaderException (1, "", rawString);

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[email protected]
http://www.sapdb.org/