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 142946 - [65cat] exception while editing
Summary: [65cat] exception while editing
Status: RESOLVED DUPLICATE of bug 142405
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-05 15:44 UTC by ranbato
Modified: 2008-08-05 15:47 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 ranbato 2008-08-05 15:44:45 UTC
[ BUILD # : 20080802 ]
[ JDK VERSION : 1.6.0_06 ]

Exception #:  	84672

java.lang.ClassCastException: java.lang.Boolean cannot be cast to
java.lang.String
        at
org.netbeans.modules.java.hints.errors.Utilities.guessName(Utilities.j
ava:102)
        at
org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(I
ntroduceHint.java:359)
        at
org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceH
int.java:294)
        at
org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceH
int.java:125)
        at
org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.
java:1675)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
tor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:907)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 ranbato 2008-08-05 15:46:55 UTC
Aha, the exception is not caused by the missing int.

Even after adding the int, if I double-click to select the true so I can replace it, that is when the issue occurs.
Comment 2 Jan Lahoda 2008-08-05 15:47:02 UTC

*** This issue has been marked as a duplicate of 142405 ***