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 76445

Summary: Updating status causes CPU spin "Asking remote repository..."
Product: versioncontrol Reporter: clever <clever>
Component: SubversionAssignee: issues@versioncontrol <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description clever 2006-05-16 17:00:07 UTC
I'm using NB 5.5 Beta and Subversion 1.3.1 client against an Apache/MOD_SVN
server. I have had no problems using Tortoise or other svn client tools.

From within NB, I recently imported a web project source files with no problem.
I do the same for the web project and I see an exception:

*********** Exception occurred ************ at 11:31 AM on May 16, 2006
java.lang.NullPointerException
	at
org.netbeans.modules.subversion.ui.commit.CommitAction.performCommit(CommitAction.java:180)
	at
org.netbeans.modules.subversion.ui.project.ImportAction$1.perform(ImportAction.java:109)
	at
org.netbeans.modules.subversion.client.SvnProgressSupport.performIntern(SvnProgressSupport.java:54)
	at
org.netbeans.modules.subversion.client.SvnProgressSupport.run(SvnProgressSupport.java:47)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)

After acknowledging that, I attempted a refresh of the status.  The csrss.exe
process on my machine is consuiming 99% of my CPU.  All entries indicate "Asking
remote repository..." for remote location.. over time, the remote location
slowly appears.

Restarting the IDE yields the same behavior, with the csrss process spinning and
the list of remote locations slowly appearing. The SVN integration for the web
project is not only unusable, but the bug prevents me from doing most anything
else (due to the strange CPU spin)
Comment 1 Peter Pis 2006-05-16 17:15:27 UTC
Problem has been already fix and module will be soon updated in UC. As a
workaroudn this problem change "Commit Action" column value to "Add As Text". If
there is "Add As Binary" exception was thrown. (mimetype of the files will be used)

*** This issue has been marked as a duplicate of 76254 ***
Comment 2 clever 2006-05-16 18:30:02 UTC
So, does the workaround imply that binary files will be imported as text? I have
a web application with quite a few GIF files... also, the JAR in WEB-INF will be
imported.
Gonna try and see what happens. Also, any word on the AUC update?
Cheers!