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.
Summary: | Folder with hg repository cannot be deleted in ide | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | ehucka <ehucka> |
Component: | Mercurial | Assignee: | issues@versioncontrol <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
proposed patch
proposed patch |
Description
ehucka
2007-11-16 11:22:34 UTC
Can you send me the repository you cloned? I am have difficulty reproducing this. I used several local test repositories created by: mkdir test cd test hg init cp somedata . hg commit I think it does not depend on the repository structure. I can reproduce this. Created attachment 53196 [details]
proposed patch
IDE:------------------------------------------------- IDE: [11/19/07 12:07 PM] Committing started Checking in MercurialInterceptor.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/MercurialInterceptor.java,v <-- MercurialInterceptor.java new revision: 1.16; previous revision: 1.15 done IDE: [11/19/07 12:07 PM] Committing finished This exception occurred again tested on Product Version: NetBeans IDE Dev (Build 200801220000) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ 1. create Java Desktop Application project 2. do initializing for Mercurial 3. delete this project Exception is not thrown every time, but often. The whole StackTrace: ===================== java.lang.NullPointerException at org.netbeans.modules.mercurial.MercurialInterceptor.fileDeletedImpl(MercurialInterceptor.java:161) at org.netbeans.modules.mercurial.MercurialInterceptor.access$000(MercurialInterceptor.java:66) at org.netbeans.modules.mercurial.MercurialInterceptor$1.run(MercurialInterceptor.java:103) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) I reproduced this bug the second time I created/deleted a project. Created attachment 55369 [details]
proposed patch
IDE:------------------------------------------------- IDE: [1/23/08 8:05 AM] Committing "MercurialInterceptor.java" started Checking in MercurialInterceptor.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/MercurialInterceptor.java,v <-- MercurialInterceptor.java new revision: 1.19; previous revision: 1.18 done IDE: [1/23/08 8:05 AM] Committing "MercurialInterceptor.java" finished IDE: [1/23/08 8:05 AM] Diffing finished Verified Product Version: NetBeans IDE Dev (Build 200803251204) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) |