[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Subclipse crash when sharing project to invalid repository location with JavaHL SVN interface

From: Albert Strasheim <albert_at_dsp.sun.ac.za>
Date: 2006-02-19 14:37:41 CET

Hello all

I am getting a crash with Subclipse 0.9.106 when using JavaHL.

Steps to reproduce (in Eclipse):

1. Window | Preferences | Team | SVN | SVN interface: JavaHL (JNI)
2. Right click a project.
3. Team | Share Project...
4. Select SVN in the wizard. Next.
5. Create a new repository location. file://C:\home\albert
6. Use specified folder name: invalidDirNameXyz. Next. Finish.

The following dialog pops up:

Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: C:\WINDOWS\system32\javaw.exe
File: E:\svn\src-1.3.0\subversion\libsvn_subr\path.c
Line: 114

Expression: is_canonical (base, blen)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort Retry Ignore
---------------------------

If I start up the Visual Studio debugger and continue execution, Eclipse
displays a dialog box containing the following:

Error while creating module: org.tigris.subversion.javahl.ClientException:
Bad URL passed to RA layer
svn: Unable to open an ra_local session to URL
svn: Local URL 'file://' contains only a hostname, no path

When using JavaSVN I also get a similar error (no crash though). In the
console window, the following is printed:

mkdir -m "Initial import." file://C:\home\albert
    svn: 'C:\eclipse\file:\C:\home' does not exist

Does Share Project work? Am I entering the repository location incorrectly?
The wizard seems to think it is valid.

Regards

Albert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sun Feb 19 14:39:23 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.