AW: Exception on org.netbeans.lib.cvsclient.Client.updateAdminData
"Lippert, Sebastian" <[email protected]> Thu, 12 Jan 2006 09:10:15 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi thx for this advice.
I used the Revison 4.1 fixed but there was no improvement. After some =
tests i fixed the Problem, i commented out one line in the =
org.netbeans.lib.cvsclient.Client.updateAdminData (as noted below) =
perhaps any developer is able to relate this.=20
> public void updateAdminData(String localDirectory, String =
repositoryPath, Entry entry) throws IOException {
> final String absolutePath =3D localPath + '/' + localDirectory;=09
> //repositoryPath =3D repositoryPath.substring(getRepository().length() =
+ 1);
> adminHandler.updateAdminData(absolutePath, repositoryPath, entry, =
globalOptions);
> }
Thanks a lot!
Greetings Sebastian
-----Urspr=FCngliche Nachricht-----
Von: Maros Sandor [mailto:[email protected]]=20
Gesendet: Montag, 9. Januar 2006 12:11
An: [email protected]
Betreff: Re: [javacvs-dev] Exception on =
org.netbeans.lib.cvsclient.Client.updateAdminData
Hi,
this looks like
http://www.netbeans.org/issues/show_bug.cgi?id=3D64773
It has already been fixed so I suggest you checkout latest sources and =
build a new vesion of the library.
Regards,
Maros
Lippert, Sebastian wrote:
> Hi, i have a problem with the CVS API...
>=20
> If i execute the following command with the API, i get the following=20
> exception.
> The CVS Version is 1.12.11 on a Suse Linux 9.3 Server
>=20
> checkout -l -kb -D 2006-01-10
> CRMC-FAQ/Active_Links/CRMC-FAQ-BThemaneu.def /data/cvs/cvsroot/NIM
>=20
> java.lang.StringIndexOutOfBoundsException: String index out of range:=20
> -13 =20
> at java.lang.String.substring(String.java:1768) =20
> at java.lang.String.substring(String.java:1735) =20
> at org.netbeans.lib.cvsclient.Client.updateAdminData(Client.java:598)
> at
> org.netbeans.lib.cvsclient.response.ClearStickyResponse.process(ClearS
> tickyResponse.java:39)
> =20
> at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:493) =
> at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:447)
> at
> org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.postExpans
> ionExecute(CheckoutCommand.java:375)
> =20
> at
> org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.execute(Ch
> eckoutCommand.java:283)
> =20
> at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:541) =
> at
> ACM.CVSConnectionImplementierung.checkoutByDateTimeByFile(CVSConnectio
> nImplementierung.java:490)
> =20
> at
> ACM.AcmCoreImplementierung.checkoutCVSFiles(AcmCoreImplementierung.jav
> a:384)
> =20
> at ACM.CVSToARSPanel.jToolBar_actionPerformed(CVSToARSPanel.java:208)
> at
> ACM.CVSToARSPanel$JToolBar_actionPerformedThread.run(CVSToARSPanel.jav
> a:511)
>=20
>=20
> Thx
> Greetings Sebastian
>=20
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]