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.

Bug 208454 - java.lang.AssertionError: Attr.visitNewClass tree [new ListSelectionListener(){
Summary: java.lang.AssertionError: Attr.visitNewClass tree [new ListSelectionListener(){
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.1.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 223394 223527 223822 223949 223977 224182 224639 224674 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-15 14:44 UTC by Tomas Mysik
Modified: 2013-01-10 08:25 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
dump file (24.90 KB, application/octet-stream)
2012-02-15 14:44 UTC, Tomas Mysik
Details
IDE log (837.46 KB, application/octet-stream)
2012-02-15 14:45 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-02-15 14:44:14 UTC
Created attachment 115762 [details]
dump file

Just found it in the log file.

Is this the cause that:

jTable.getSelectionModel().addListSelectionListener(new ListSelectionListen| // <- press ENTER here

does not work?

I will attach the log file.

Thanks.

Product Version: NetBeans IDE 7.1.1 RC1 (Build 20120214-4d8c8290dbdf)
Java: 1.6.0_30; Java HotSpot(TM) 64-Bit Server VM 20.5-b03
System: Linux version 3.2.5 running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Tomas Mysik 2012-02-15 14:45:39 UTC
Created attachment 115763 [details]
IDE log
Comment 2 Marian Mirilovic 2012-02-15 15:49:50 UTC
Honza, we need at least an evaluation of this issue. It might be a regression caused by some fix in 7.1.1 ....
Comment 3 Tomas Mysik 2012-02-15 16:18:48 UTC
I thought that the code completion does not work anywhere; that is not true so lowering to P3.

Thanks Honzo.
Comment 4 Jan Lahoda 2012-02-15 19:47:23 UTC
Although I cannot be completely sure, I tend to think this is not a regression in 7.1.1 - we have had similar reports before (e.g. bug #138391 - asserts have been converted to Assert.error recently - but I am pretty sure that change was in 7.1 too).  Thanks to Tomas, there is a reproducible test case now, which should make fixing it much easier.
Comment 5 Jan Lahoda 2012-02-15 20:09:43 UTC
I can reproduce also in NB7.1 using Tomas' case.
Comment 6 Jan Lahoda 2012-11-22 09:21:53 UTC
A simple testcase (invoke code completion after "String." - sometimes it is necessary to invoke it twice):
---------------
package javaapplication10;

public class JavaApplication10 {

    public static void m() {
        String.
        new Runnable() {
            public void run() {
            }
        };
    }
}
---------------
Comment 8 Dusan Balek 2012-12-06 14:34:22 UTC
*** Bug 223394 has been marked as a duplicate of this bug. ***
Comment 9 Quality Engineering 2012-12-07 02:38:22 UTC
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f3d4bdc33303
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #208454 and #219049 - fixed.
Comment 10 Dusan Balek 2012-12-10 08:37:52 UTC
*** Bug 223527 has been marked as a duplicate of this bug. ***
Comment 11 Dusan Balek 2012-12-14 10:42:26 UTC
*** Bug 223822 has been marked as a duplicate of this bug. ***
Comment 12 Dusan Balek 2012-12-18 09:33:35 UTC
*** Bug 223949 has been marked as a duplicate of this bug. ***
Comment 13 Dusan Balek 2012-12-18 14:39:41 UTC
*** Bug 223977 has been marked as a duplicate of this bug. ***
Comment 14 Dusan Balek 2013-01-07 19:41:02 UTC
*** Bug 224182 has been marked as a duplicate of this bug. ***
Comment 15 Dusan Balek 2013-01-09 13:12:34 UTC
*** Bug 224639 has been marked as a duplicate of this bug. ***
Comment 16 Dusan Balek 2013-01-10 08:25:20 UTC
*** Bug 224674 has been marked as a duplicate of this bug. ***