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 220893 - Exception at org.netbeans.modules.php.project.copysupport.CopySupport.assertProjectOpened
Summary: Exception at org.netbeans.modules.php.project.copysupport.CopySupport.assertP...
Status: RESOLVED DUPLICATE of bug 248090
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-26 08:18 UTC by qwerty7ng
Modified: 2015-03-04 08:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183075


Attachments
stacktrace (1.13 KB, text/plain)
2012-10-26 08:18 UTC, qwerty7ng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qwerty7ng 2012-10-26 08:18:52 UTC
Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
GUEST: delete the project file and change the them to dark

GUEST: Launching netbeans

GUEST: Starting IDE

durimjusaj: When i start netabeans this Error Appears! :)

eascott: Created a "Folder of Projects" group and the exception was thrown at what appears to be the end of the process.

GUEST: I've opened netBeans 7.1 RC (first open after instaled)

qwerty7ng: I noticd this error message after I accidentally shutdown or exit the NetBeans IDE




Stacktrace: 
java.lang.Exception
   at org.netbeans.modules.php.project.copysupport.CopySupport.assertProjectOpened(CopySupport.java:190)
   at org.netbeans.modules.php.project.copysupport.CopySupport.projectOpened(CopySupport.java:163)
   at org.netbeans.modules.php.project.PhpProject$PhpOpenedHook.projectOpened(PhpProject.java:695)
   at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
   at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:1216)
   at org.netbeans.modules.project.ui.OpenProjectList.access$1600(OpenProjectList.java:137)
Comment 1 qwerty7ng 2012-10-26 08:18:54 UTC
Created attachment 126598 [details]
stacktrace
Comment 2 Tomas Mysik 2012-10-31 13:09:06 UTC
Unfortunately, the call stack of the previous call is not in the log (?!) so I have improved the logging a bit. Closing as WORKSFORME, let's wait for reopening.

@dkonecny: Davide, this issue is a proof that projectOpened() has been called twice in a row ;)

Thanks for reporting.

http://hg.netbeans.org/web-main/rev/ce55f8608a04
Comment 3 Quality Engineering 2012-11-01 02:41:12 UTC
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ce55f8608a04
User: Tomas Mysik <tmysik@netbeans.org>
Log: Improved logging for #220893 - Exception at org.netbeans.modules.php.project.copysupport.CopySupport.assertProjectOpened
Comment 4 everflux 2015-02-14 10:43:54 UTC
Reopening this bug based on new exception report: http://statistics.netbeans.org/exceptions/exception.do?id=765598
Comment 5 Tomas Mysik 2015-03-04 08:54:53 UTC
Again, switching project groups calls projectOpened (or projectClosed) method twice in a row.

Thanks.

*** This bug has been marked as a duplicate of bug 248090 ***