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 63534 - IllegalArgumentException after update of 'Remotely New' sources
Summary: IllegalArgumentException after update of 'Remotely New' sources
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 15:56 UTC by ehucka
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-09-01 15:56:41 UTC
I have local sources which are the same as on a cvs server but they have
different timestamps. The CVS client in IDE shows statuses for them as "Remotely
New". After I want to synchronize sources by 'Update' command it throws the
exception:

java.lang.IllegalArgumentException: Unknown repository status: C
at
org.netbeans.modules.versioning.system.cvss.FileStatusCache.createMissingEntryFileInformation(FileStatusCache.java:535)
at
org.netbeans.modules.versioning.system.cvss.FileStatusCache.createFileInformation(FileStatusCache.java:419)
at
org.netbeans.modules.versioning.system.cvss.FileStatusCache.refresh(FileStatusCache.java:199)
at
org.netbeans.modules.versioning.system.cvss.FileStatusCache.refreshCached(FileStatusCache.java:244)
at
org.netbeans.modules.versioning.system.cvss.ui.actions.update.UpdateExecutor.commandFinished(UpdateExecutor.java:107)
at
org.netbeans.modules.versioning.system.cvss.ExecutorSupport.commandTerminated(ExecutorSupport.java:254)
[catch] at
org.netbeans.modules.versioning.system.cvss.ClientRuntime$1.taskFinished(ClientRuntime.java:139)
at org.openide.util.Task.notifyFinished(Task.java:190)
at org.openide.util.Task.run(Task.java:210)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 Maros Sandor 2005-09-05 15:12:14 UTC
Can you try it with the newest build and try to reproduce it? 1) I cannot make
files appear as Remotely New when they exist locally. 2) Processing of
conflicting files has changed.
Comment 2 ehucka 2005-09-05 16:52:17 UTC
I can reproduce it in build 200509041800. I found I probably deleted CVS/Entries
of a folder and all files in the folder got in state Remotely New.
Comment 3 Maros Sandor 2005-09-08 09:59:26 UTC
Files that exist locally (Locally New) conflict with files in repository that
have the same name. This case is now handled correctly.

/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/diff/ResolveConflictsAction.java,v
 <--  ResolveConflictsAction.java
new revision: 1.5; previous revision: 1.4
/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/diff/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.13; previous revision: 1.12
/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/FileStatusCache.java,v
 <--  FileStatusCache.java
new revision: 1.21; previous revision: 1.20
Comment 4 ehucka 2005-12-22 11:18:02 UTC
verified