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 185349 - "... account files" has requested progress to workunit no.1762521 but the total number of workunits is 0
Summary: "... account files" has requested progress to workunit no.1762521 but the tot...
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 11:16 UTC by bartdeslagmulder
Modified: 2010-05-04 09:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 169007


Attachments
stacktrace (4.33 KB, text/plain)
2010-05-03 11:16 UTC, bartdeslagmulder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bartdeslagmulder 2010-05-03 11:16:39 UTC
This bug was originally marked as duplicate of bug 122295, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04
OS: Windows XP

User Comments:
bartdeslagmulder: Redownloading sources by clicking right mouse click on Source Files > Download.




Stacktrace: 
java.lang.IllegalArgumentException: Duplicate in children list: D:/www/keytrade/public/projects/openaccount/pdf/press/credit_agri_fr.pdf
Children: [MasterFileObject[D:\www\keytrade\public\projects\openaccount\pdf\press\1998-bxl-fr.pdf@13297f6:14cb4d6,valid=true], MasterFileObject[D:\www\keytrade\public\projects\openaccount\pdf\press\1998-launch-fr.pdf@969e3e:7c66cc,valid=true], MasterFileObject[D:\www\keytrade\public\projects\openaccount\pdf\press\1999-aex-en.pdf@6f343e:1ffcf51,valid=true], MasterFileObject[D:\www\keytrade\public\projects\openaccount\pdf\press\1999-aex-fr.pdf@cef9a6:1c533a2,valid=true], MasterFileObject[D:\www\keytrade\public\projects\openaccount\pdf\press\1999-aex-nl.pdf@680e03:40c000,valid=true], MasterFileObject[D:\www\keytrade\public\projects\openaccount\pdf\press\1999-bxlprice-en.pdf@17005f0:17a2815,valid=true], MasterFileObject[D:\www\keytrade\public\projects\openaccount\pdf\press\1999-bxlprice-nl.pdf@195fa5b:1fa702c,valid=true], MasterFileObject[D:\www\keytrade\public\projects\openacco
   at org.openide.filesystems.Ordering.getOrder(Ordering.java:98)
   at org.openide.filesystems.FileUtil.getOrder(FileUtil.java:2077)
   at org.openide.loaders.FolderList.carefullySort(FolderList.java:641)
   at org.openide.loaders.FolderList.getObjects(FolderList.java:598)
   at org.openide.loaders.FolderList.access$200(FolderList.java:74)
   at org.openide.loaders.FolderList$1.run(FolderList.java:343)
Comment 1 bartdeslagmulder 2010-05-03 11:16:43 UTC
Created attachment 98357 [details]
stacktrace
Comment 2 Jaroslav Tulach 2010-05-03 13:24:54 UTC
Looking at the log files, I see a lot of exception like this:

Cannot process more work than scheduled. Progress handle with name "Downloading PUBLIC [P] open
account files" has requested progress to workunit no.1762521 but the total number of workunits is 0. That means the progress bar UI will not display rea
l progress and will stay at 100%.
java.lang.IllegalArgumentException
        at org.netbeans.modules.progress.spi.InternalHandle.progress(InternalHandle.java:262)

I cannot find info about the filesystem problem, but it is tracked as bug 184854 anyway.
Comment 3 bartdeslagmulder 2010-05-03 13:58:36 UTC
(In reply to comment #2)
> Looking at the log files, I see a lot of exception like this:
> 
> Cannot process more work than scheduled. Progress handle with name "Downloading
> PUBLIC [P] open
> account files" has requested progress to workunit no.1762521 but the total
> number of workunits is 0. That means the progress bar UI will not display rea
> l progress and will stay at 100%.
> java.lang.IllegalArgumentException
>         at
> org.netbeans.modules.progress.spi.InternalHandle.progress(InternalHandle.java:262)
> 
> I cannot find info about the filesystem problem, but it is tracked as bug
> 184854 anyway.

I should note that I was trying this case:

I had already a NB 6.8 project with local files. I copied them into a new folder and I made a new NB 6.9beta project with existing sources. After that I right-clicked the "Source Files" text and hit Download.
Comment 4 Tomas Mysik 2010-05-04 09:21:21 UTC
(In reply to comment #3)
> I had already a NB 6.8 project with local files. I copied them into a new
> folder and I made a new NB 6.9beta project with existing sources. After that I
> right-clicked the "Source Files" text and hit Download.

Unfortunately I cannot reproduce using these steps. Please reopen if it happens again and if there are reliable steps to reproduce, otherwise it is nearly impossible to fix this issue.

Thanks for reporting.

Product Version: NetBeans IDE Dev (Build 100503-2da28aa3df98)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01
System: Linux version 2.6.31-21-generic running on amd64; UTF-8; cs_CZ (nb)