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 144365

Summary: [65cat] ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
Product: editor Reporter: azizi <azizi>
Component: Hints & AnnotationsAssignee: Max Sauer <msauer>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description azizi 2008-08-19 11:17:35 UTC
I got an exception when i try to double click on true keyword on below while statement.

    public void run() {
        
        while(true){
            if(connectionState == 0){
                connect();
            }
            
            waitForSomeSecond(10);
            
        }
        
    }




java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
  org.netbeans.modules.java.hints.errors.Utilities guessName 103
      modules/org-netbeans-modules-java-hints.jar
  org.netbeans.modules.java.hints.introduce.IntroduceHint computeError 359
      modules/org-netbeans-modules-java-hints.jar
Comment 1 Jiri Prox 2008-08-19 12:00:29 UTC
Already fixed. Thanks for your report

*** This issue has been marked as a duplicate of 142405 ***
Comment 2 azizi 2008-08-26 05:12:47 UTC
Verified and OK
In version:
Product Version: NetBeans IDE Dev (Build 200808241401)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)