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 11354 - Copy from "normal" FS to CVS FS throws FileStateInvalidException
Summary: Copy from "normal" FS to CVS FS throws FileStateInvalidException
Status: VERIFIED DUPLICATE of bug 15604
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscvs (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-12 15:39 UTC by dmladek
Modified: 2001-10-03 09:11 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 dmladek 2001-04-12 15:40:00 UTC
[NB32-26]
jdk1.3, rh6.2, rh70
===================

Description:
------------
if you copy package (which contains subdir CVS with "cvs files") from normal FS 
to CVS FS the FileStateInvalidException is thrown.

Steps to reproduce:
-------------------
Mount normal FS instead of mounting CVS.
(I mean normal FS has to contain CVS dir in it with entries, root, etc. files)
Mount CVS FS. Have here some checkouts from repository.
Copy  any package in "normal" FS
Paste it to CVS FS

HEre is the result:
-------------------
Thu Apr 12 15:56:23 GMT+02:00 2001:
org.openide.filesystems.FileStateInvalidException: File CVS cannot be found in
folder Test/XMLData.
org.openide.filesystems.FileStateInvalidException: File CVS cannot be found in
folder Test/XMLData.
        at
org.openide.filesystems.AbstractFileObject.createFolder(AbstractFileObject.java:316)
        at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:161)
        at org.openide.loaders.DataFolder.handleCopy(DataFolder.java:515)
        at org.openide.loaders.DataObject$1.run(DataObject.java:472)
        at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:69)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:368)
        at org.openide.loaders.DataObject.copy(DataObject.java:470)
        at org.openide.loaders.DataFolder.handleCopy(DataFolder.java:534)
        at org.openide.loaders.DataObject$1.run(DataObject.java:472)
        at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:69)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:368)
        at org.openide.loaders.DataObject.copy(DataObject.java:470)
        at org.openide.loaders.DataFolder$6.handle(DataFolder.java:1435)
        at org.openide.loaders.DataFolder$Paste.paste(DataFolder.java:1629)
        at org.openide.actions.PasteAction.performAction(PasteAction.java:109)
        at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:66)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:76)
        at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)



I know it's strange, but some users send me this as a bug.
But IMHO, it should throws any E.
Comment 1 dmladek 2001-04-13 07:32:48 UTC
Oups:-) Of'course I could say:
It shouldn't throw any Exception
Comment 2 Jan Chalupa 2001-05-06 15:33:39 UTC
Target milestone -> 3.3
Comment 3 Martin Entlicher 2001-09-18 17:48:27 UTC
Not much can be done in CVS filesystem about it. A bug describing the
generic problem was filled for openide. This is it's duplicate in
fact.

*** This issue has been marked as a duplicate of 15604 ***
Comment 4 dmladek 2001-10-03 09:11:29 UTC
duplicate