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 237287 - Error annotation should point to column position
Summary: Error annotation should point to column position
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 20:41 UTC by _ gtzabari
Modified: 2016-07-07 20:05 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2013-10-17 20:41:20 UTC
Sometimes I get an error annotation denoting a compiler error which is hard to resolve without more context. For example, I just got "incompatible types: possible lossy conversion from long to int" for this line:

int rows = session.insert(rr).set(rr.id, id).set(rr.typeId, typeId).set(rr.name, name).set(rr.modificationTime, JodaTime.toTimestamp(DateTime.now())).execute();

-----
I have no idea which argument is at fault. Please ensure that all error annotations points to a specific column position, if possible.

Tip: watch out for tabs. The compiler might treat them as a different number of characters than the editor.
Comment 1 Martin Balin 2016-07-07 07:30:54 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
Comment 2 _ gtzabari 2016-07-07 20:05:25 UTC
Seems to be fixed in dev build 201607060002 (Netbeans only shows one error per line so the column position is obvious).