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 - [65cat] ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
Summary: [65cat] ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
Status: VERIFIED DUPLICATE of bug 142405
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 11:17 UTC by azizi
Modified: 2008-08-26 05:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)