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: | ClassElement.forName() does not find the ClassElement | ||
---|---|---|---|
Product: | java | Reporter: | Svata Dedic <sdedic> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | kgardas |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Log with diagnostic messages that shows data and control flow for this bug. |
Description
Svata Dedic
2000-09-05 18:44:05 UTC
It looks like a race condition from trace logs and testing. It may be because of invalid usage of OpenAPIs by the CORBA module or by a race condition inside Java module. The bug was caused by a race condition resulting from improper API usage. The CORBA module first created an empty file, then it has written some contents into it. The Java parser reacted faster, so it had grabbed the empty file before the CORBA module filled it with some class definitions. Then, at the time when CORBA module asked ClassElement.forName(), the implementation operated on obsolete information returning null. Please refer to the stacktraces attached for the exact control/data flow. Created attachment 136 [details]
Log with diagnostic messages that shows data and control flow for this bug.
[1135] Verified Resolved for 3.4.x or earlier, no new info since then -> closing. |