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.
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); } }
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.