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: | Coupling abort while using code completion | ||
---|---|---|---|
Product: | java | Reporter: | Jan Lahoda <jlahoda> |
Component: | Source | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 178736 | ||
Attachments: | Dump file. |
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/92a162cfe805 Integrated into 'main-golden', will be available in build *201001060200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/92a162cfe805 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #178758: Coupling abort while using code completion - fixed. Verified in trunk. The fix has been ported into the release68_fixes repository. http://hg.netbeans.org/release68_fixes/rev/aa382f631912 V. |
Created attachment 92689 [details] Dump file. Invoke CC after "System." in the following code. A coupling error is reported (see attached dump file). This is the simplest code I found to reproduce the problem, sorry. package javaapplication4; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import javax.swing.JComponent; import javax.swing.SwingUtilities; public class Main { public static void main(String[] args) { final JComponent i = null; new Runnable() { { i.addPropertyChangeListener(new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent evt) { } }); } public void run() { SwingUtilities.invokeLater(new Runnable() { public void run() { } }); } }; System.err.println(1); } }