Subject Re: [Firebird-Java] Problem with backup
Author Roman Rokytskyy
> public void backUpBD(String caminhoBD, String caminhoBKP){
> FBBackupManager fbbm = new FBBackupManager("PURE_JAVA");

You did not specify the host name and, optionally, port number.

fbbm.setHost("myfbhost");
fbbm.setPort(3050);


> Exception occurred during event dispatching:
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>
> at java.lang.String.substring(String.java:1938)
>
> at
> org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscServiceAttach(AbstractJavaGDSImpl.java:2573)

However the StringIndexOutOfBoundException should not happen - please
create a bug report in our tracker (http://tracker.firebirdsql.org)

Roman