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 47249 - PVCS: "Add All" doesn't work correctly.
Summary: PVCS: "Add All" doesn't work correctly.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-08-16 12:09 UTC by Peter Pis
Modified: 2006-03-24 10:04 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 Peter Pis 2004-08-16 12:09:26 UTC
>System Info:
  Product Version       = NetBeans IDE Dev (Build
200408121535)
  Operating System      = Windows XP version 5.1
running on x86
  Java; VM; Vendor      = 1.5.0-beta3; Java
HotSpot(TM) Client VM 1.5.0-beta3-b62; Sun
Microsystems Inc.
  Java Home             = C:\Program
Files\java\jdk1.5.0\jre
  System Locale; Encod. = en_US (nb); Cp1252

Steps:
1. Register new PVCS versioned directory.
2. Create new project in it. On the root of the
project invoke "PVCS | Add all" command and check
"Add all subdirectories". Push "ok".

Command adds only folder on which it was invoked.
In "Runtime tab" there are commands "Add all" and
"Refresh" running. They must be killed.
Comment 1 Martin Entlicher 2004-08-16 17:13:25 UTC
I've reproduced it on a second attempt. From the thread dump it's
apparent, that there is a problem in cache loading. The similar
problem happens sometimes during search (see issue #40423).

"Default RequestProcessor" daemon prio=2 tid=0x12daec48 nid=0xfdc in
Object.wait() [0x1357f000..0x1357fc68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x21d33dd0> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at
org.netbeans.modules.vcscore.caching.VcsCacheDir.waitToLoad(VcsCacheDir.java:127)
        - locked <0x21d33dd0> (a java.lang.Object)
        at
org.netbeans.modules.vcs.profiles.commands.RecursiveFolderCommand.waitToLoad(RecursiveFolderCommand.java:261)
        at
org.netbeans.modules.vcs.profiles.commands.RecursiveFolderCommand.waitToLoad(RecursiveFolderCommand.java:267)
        at
org.netbeans.modules.vcs.profiles.commands.RecursiveFolderCommand.runCommandsSomewhatRecursively(RecursiveFolderCommand.java:499)
        at
org.netbeans.modules.vcs.profiles.commands.RecursiveFolderCommand.runCommandsSomewhatRecursively(RecursiveFolderCommand.java:494)
        at
org.netbeans.modules.vcs.profiles.commands.RecursiveFolderCommand.runCommandsRecursively(RecursiveFolderCommand.java:454)
        at
org.netbeans.modules.vcs.profiles.commands.RecursiveFolderCommand.runCommandsRecursively(RecursiveFolderCommand.java:640)
        at
org.netbeans.modules.vcs.profiles.commands.RecursiveFolderCommand.exec(RecursiveFolderCommand.java:743)
        at
org.netbeans.modules.vcscore.cmdline.ExecuteCommand.runClass(ExecuteCommand.java:861)
        at
org.netbeans.modules.vcscore.cmdline.ExecuteCommand.run(ExecuteCommand.java:983)
        at
org.netbeans.modules.vcscore.cmdline.UserCommandSupport.execute(UserCommandSupport.java:342)
        at
org.netbeans.spi.vcs.commands.CommandTaskSupport.execute(CommandTaskSupport.java:74)
        at
org.netbeans.modules.vcscore.cmdline.UserCommandTask.execute(UserCommandTask.java:471)
        at
org.netbeans.api.vcs.commands.CommandTask.runCommandTask(CommandTask.java:112)
        at
org.netbeans.api.vcs.commands.CommandTaskInfoImpl.run(CommandTaskInfoImpl.java:40)
        at
org.netbeans.modules.vcscore.commands.CommandProcessor$5.run(CommandProcessor.java:753)
        at org.openide.util.Task.run(Task.java:136)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 2 Martin Entlicher 2004-08-16 18:24:21 UTC
Well, it seems, that there is no relation with issue #40423. There
were pending refresh commands, it looks more like a problem of
synchronization of commands.

But now I'm not able to reproduce it now after several attempts. 
Comment 3 Martin Entlicher 2004-08-17 15:28:56 UTC
It's possible that this issue depends on issue #47316. It's hard to
verify, since both issues occur randomly.
Comment 4 Martin Entlicher 2004-08-18 18:07:01 UTC
After the fix of issue #47316 this did not happen to me.
I suppose that it's fixed.
Comment 5 Peter Pis 2004-08-25 12:45:18 UTC
NetBeans IDE Dev (Build 200408241800)
Client VM 1.5.0-beta3-b62

Problem is here again. But now it is reproducable with these steps.
Comment 6 athompson 2004-08-25 16:18:41 UTC
is this somehow related to bug 47341?
Comment 7 Martin Entlicher 2004-08-26 16:04:23 UTC
This is not reproducible for me. This might have been connected to
some anomaly in status caching system. IMO this have been already fixed.
Comment 8 Peter Pis 2004-08-27 12:40:05 UTC
Verified in NB 200408262030.