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 243227

Summary: Error hint occurring on wrong line
Product: editor Reporter: mwishum
Component: Hints & AnnotationsAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: JDK_8
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description mwishum 2014-03-24 21:30:12 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03

When I type "toConsoleLn(evt.getNewValue());" (where evt is PropertyChangeEvent and toConsoleLn() accepts a String) no error occurs ***On that line*** . It instead appears on line 1, saying "error: incompatible types: Object cannot be converted to String". 
I understand the error and have corrected it, but the error was not helpfully placed. The line in question was 1779, inside a private class, if that matters.
Comment 1 mwishum 2014-03-24 21:30:15 UTC
Created attachment 146278 [details]
IDE log
Comment 2 Martin Balin 2016-07-07 07:30:51 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss