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: | [69cat] CodeStructure.getExternalVariableName() too long in AWT thread | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Michal Mocnak <mmocnak> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | exceptions_reporter, juhrik, lolo_101, misterm, neoiha, stefan79 |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=154834 | ||
Issue Type: | DEFECT | Exception Reporter: | 154834 |
Attachments: |
nps snapshot
nps snapshot |
Description
Michal Mocnak
2009-08-04 11:20:59 UTC
Created attachment 85753 [details]
nps snapshot
The following invocations seem to be the root of this problem: MetaComponentCreator.createVisualComponent() ->CodeStructure.getExternalVariableName() ->FormJavaSource.refresh() ->parsing of .java file is invoked and AWT thread waits for its result *** Bug 180296 has been marked as a duplicate of this bug. *** Created attachment 94412 [details]
nps snapshot
Any chance this could get looked at? It's pretty much clear what's happening, but not how to solve it. GUI builder is creating a new component from palette, and needs to know what variable name it can use for it. But if java infrastructure takes long to respond (e.g. busy with some other stuff), then it must wait. It's bad it waits in AWT event queue thread. Maybe we could show a modal dialog saying "Obtaining a variable name, please wait..." if we don't get the name out of AWT thread in certain time. But we won't make it faster. |