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 192386 - AssertionError: Copy Support already opened for project flimr (opened: 2, closed: 0)
Summary: AssertionError: Copy Support already opened for project flimr (opened: 2, clo...
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 07:45 UTC by k4emic
Modified: 2011-10-27 14:03 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174246


Attachments
stacktrace (948 bytes, text/plain)
2010-11-24 07:45 UTC, k4emic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description k4emic 2010-11-24 07:45:43 UTC
This bug was originally marked as duplicate of bug 187060, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows 7

User Comments:
GUEST: opening ide

k4emic: Netbeans startup with active symfony projects

GUEST: Renamed a project without the rename files option.
Then renamed the same project this time _with_ rename files option selected.
This seems to copy instead of renaming the project.
I then quit NB and restarted.  The assertion happened when restarting.




Stacktrace: 
java.lang.AssertionError: Copy Support already opened for project flimr (opened: 2, closed: 0)
   at org.netbeans.modules.php.project.copysupport.CopySupport.projectOpened(CopySupport.java:156)
   at org.netbeans.modules.php.project.PhpProject$PhpOpenedHook.projectOpened(PhpProject.java:835)
   at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
   at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:1151)
   at org.netbeans.modules.project.ui.OpenProjectList.access$1600(OpenProjectList.java:134)
   at org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.loadOnBackground(OpenProjectList.java:461)
Comment 1 k4emic 2010-11-24 07:45:46 UTC
Created attachment 103267 [details]
stacktrace
Comment 2 Tomas Mysik 2011-06-03 10:21:31 UTC
Batch reassigning.
Comment 3 Tomas Mysik 2011-06-16 08:21:57 UTC
Needs to be investigated and fixed.
Comment 4 Tomas Mysik 2011-10-10 14:48:12 UTC
Very likely duplicate (or related?) of #201617, at least there is something wrong with project opening/closing.

*** This bug has been marked as a duplicate of bug 201617 ***
Comment 5 Jesse Glick 2011-10-12 19:55:56 UTC
I would not assume this is a duplicate. If the fix of bug #201617 seems to fix this, then great, otherwise it is up to you to investigate.
Comment 6 Tomas Mysik 2011-10-19 11:42:05 UTC
Unit test added.

http://hg.netbeans.org/web-main/rev/166c1f0a36dd
Comment 7 Quality Engineering 2011-10-20 14:27:32 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/166c1f0a36dd
User: Tomas Mysik <tmysik@netbeans.org>
Log: Test for #192386 - AssertionError: Copy Support already opened for project flimr (opened: 2, closed: 0)
Comment 8 Tomas Mysik 2011-10-26 14:55:14 UTC
Improved logging & unit test added. Let's wait when it happens again.

http://hg.netbeans.org/web-main/rev/fd168813884a
Comment 9 Tomas Mysik 2011-10-27 09:53:48 UTC
Use LIFO instead off FIFO, unit test improved.

http://hg.netbeans.org/web-main/rev/29c7821094c9
Comment 10 Quality Engineering 2011-10-27 14:03:04 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/fd168813884a
User: Tomas Mysik <tmysik@netbeans.org>
Log: Logging and test for #192386 - AssertionError: Copy Support already opened for project flimr (opened: 2, closed: 0)