This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219498

Summary: javahl: ArrayIndexOutOfBoundsException: 3
Product: versioncontrol Reporter: schkovich <schkovich>
Component: SubversionAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED WONTFIX    
Severity: normal CC: fvezzoso, laia_espinosa, schkovich
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
URL: https://svn.apache.org/viewvc?view=revision&revision=1355628
Issue Type: DEFECT Exception Reporter: 189337
Bug Depends on: 221243    
Bug Blocks:    
Attachments: stacktrace
stacktrace

Description schkovich 2012-10-04 08:11:47 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Linux

User Comments:
GUEST: after svn update

GUEST: Perhaps when using Find usages in Java web application and background scanning was in progress.

GUEST: When making SVN update on Java web project.

GUEST: I'm sorry, I didn't notice when this error appeared :-(. I'm working on Java web app.

GUEST: Trying to check out a project from an SVN repository (svn 1.6 sources). Am experiencing problems with NetBeans due to svn source version differences (version 1.6 vs version 1.7). The SVN installed locally is 1.7.5.

GUEST: while i try to svn commit php project

GUEST: After I opened IDE with 2 Java web applications.

schkovich: Starting IDE




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 3
   at org.apache.subversion.javahl.SVNClient.info2(SVNClient.java:0)
   at org.tigris.subversion.svnclientadapter.javahl.JhlStatus.populateInfo(JhlStatus.java:91)
   at org.tigris.subversion.svnclientadapter.javahl.JhlStatus.<init>(JhlStatus.java:68)
   at org.tigris.subversion.svnclientadapter.javahl.JhlConverter.convertStatus(JhlConverter.java:223)
   at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:584)
   at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(AbstractJhlClientAdapter.java:550)
Comment 1 schkovich 2012-10-04 08:11:51 UTC
Created attachment 125358 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-10-04 08:32:58 UTC
seems to be a bug in JavaHL native code, see the links: http://subclipse.tigris.org/issues/show_bug.cgi?id=1428 https://svn.apache.org/viewvc?view=revision&revision=1355628
According to subversion it's going to be fixed in Subversion 1.7.6, will be fixed in NetBeans with the upgrade of svnkit and javahl to 1.7.6 (currently waiting for svnkit to be released).
Comment 3 schkovich 2012-10-04 08:44:15 UTC
Created attachment 125360 [details]
stacktrace

Opening project. Same problem as reported using 7.2. It must be that my wc is corrupted.
Comment 4 Ondrej Vrabec 2012-10-04 08:46:04 UTC
(In reply to comment #3)
> Created attachment 125360 [details]
> stacktrace
> 
> Opening project. Same problem as reported using 7.2. It must be that my wc is
> corrupted.
There's probably a conflict JavaHL client cannot handle. I suggest you temporarily switch to commandline client, resolve the conflict and then switch back to JavaHL.
Comment 5 Ondrej Vrabec 2012-11-01 11:18:39 UTC
bug in an external library, should get automatically fixed when #221243 is fixed