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 177365 - [68cat] AssertionError: Attr.visitNewClass tree [new HostnameVerifier(){ () { } @Override() public boolean verify(String hostname, SSLSession sslSession) { return true; }
Summary: [68cat] AssertionError: Attr.visitNewClass tree [new HostnameVerifier(){ ...
Status: RESOLVED DUPLICATE of bug 138391
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-21 18:34 UTC by cbulcu
Modified: 2010-12-02 13:21 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 162636


Attachments
stacktrace (2.56 KB, text/plain)
2009-11-21 18:34 UTC, cbulcu
Details
stacktrace (2.87 KB, text/plain)
2009-12-13 04:42 UTC, choces
Details
stacktrace (3.54 KB, text/plain)
2009-12-22 02:02 UTC, bartvdc
Details
stacktrace (3.54 KB, text/plain)
2009-12-22 02:02 UTC, bartvdc
Details
stacktrace (3.54 KB, text/plain)
2009-12-22 02:04 UTC, bartvdc
Details
stacktrace (5.64 KB, text/plain)
2010-01-01 10:02 UTC, mps77
Details
stacktrace (3.86 KB, text/plain)
2010-01-28 00:42 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cbulcu 2009-11-21 18:34:18 UTC
This bug was originally marked as duplicate of bug 173998, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 200911201401)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Linux, 2.6.31-14-generic, i386

User Comments:
cbulcu: ctrl+click in the middle of the name of a class

lummie: adding a finalize using autocomplete e.g. final[ctrl][space] to the following code:

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.chlu.visualchlu.utils;

import java.awt.event.MouseEvent;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.event.MouseInputListener;

/**
 *
 * @author matt
 */
public class ShrinkPanel extends JPanel{
    private Orientation orientation = Orientation.vertical;
    private int splitSize = 6;
    
    
    private MouseInputListener mouseListener = new MouseInputListener() {

        public void mouseClicked(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        }

        public void mousePressed(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        }

        public void mouseReleased(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported y



Stacktrace: 
java.lang.AssertionError: Attr.visitNewClass tree [new HostnameVerifier(){
    
    () {
    }
    
    @Override()
    public boolean verify(String hostname, SSLSession sslSession) {
        return true;
    }
}] with constructor type [null] has symbol [method not found wrongSym=null explanation=null] of kind [ 71]
        at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:1562)
        at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:381)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:398)
        at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:758)
        at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:712)
Comment 1 cbulcu 2009-11-21 18:34:21 UTC
Created attachment 91478 [details]
stacktrace
Comment 2 choces 2009-12-13 04:42:17 UTC
Created attachment 92475 [details]
stacktrace

Creating a new enum class
Comment 3 bartvdc 2009-12-22 02:02:33 UTC
Created attachment 92842 [details]
stacktrace

go to declaration in spring's JavaMailSenderImpl on DEFAULT_PORT
Comment 4 bartvdc 2009-12-22 02:02:45 UTC
Created attachment 92843 [details]
stacktrace

browsing source classes
Comment 5 bartvdc 2009-12-22 02:04:44 UTC
Created attachment 92844 [details]
stacktrace

debugging
Comment 6 mps77 2010-01-01 10:02:12 UTC
Created attachment 93018 [details]
stacktrace


class CheckerParamPanel extends AbstractGroupPanel  {
    public CheckerParamPanel(String n) {
        super(n,TYPE.CHECKERPARAM);
    }
}

TYPE.CHECKERPARAM not present in protected enum AbstractGroupPanel.TYPE
Comment 7 Jan Lahoda 2010-01-28 00:42:55 UTC
Created attachment 93617 [details]
stacktrace

NbModuleProject.
Comment 8 Dusan Balek 2010-12-02 13:21:33 UTC

*** This bug has been marked as a duplicate of bug 138391 ***