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.
Attaching failure from (not yet commited) SuiteProjectTest.testSuiteEvaluatorReturnsUpToDateValues(). Heavily random however. Reproducible only on Solaris so far. Also caused some (random) failures in other relative test. JDK 1.5.x specific. If it fails for somebody on a different machine please report here. If you any hints Jesse, please write them here. I don't know at all, what could be wrong.
Created attachment 26228 [details] failed test
Commited under SuiteProjectTest.testSuiteEvaluatorReturnsUpToDateValues_67314()
*** Issue 66487 has been marked as a duplicate of this issue. ***
*** Issue 66480 has been marked as a duplicate of this issue. ***
I really believe that SuitePropertiesTest and SuiteUtilsTest will be fixed together with this one. If not, dupes will be reopened.
Radku please consider this one and also see dupes for more info. Since as you tried it is relatively easily (maybe 100% for those dupes) reproducible also on Windows. Since Solaris is not easily accessible for us and you have the best access to Windows... ;) Thanks.
Code in method ProjectProperies.fireChange after comment "// Not safe to acquire a new lock, so run later in read access." seems to be source of problem - may cause race condition.
The test is reporting an actual bug. The NbModuleProjectGenerator methods should wrap their entire bodies in ProjectManager.mutex write access. Otherwise the change event in the suite's project.properties arrives asynchronously. Thanx Radek for finding the cause.
Thanks for the help, sorry for troubles. You know, one of my first apisupport contributions.... who cares :) Will be done for 5.0 - as Radek told me this can be cause of more "random" bugs in whole apisupport -> true -> P2.
Should be fixed. Radku could you run tests under Windows? I'll try Solaris tomorrow. Thanks. Checking in NbModuleProjectGenerator.java; 1.39 --> 1.40 Checking in suite/SuiteProjectGenerator.java; 1.8 --> 1.9
*** Issue 66387 has been marked as a duplicate of this issue. ***
passes now on my machine. Verified.