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 249865 - False "unknown method" alert
Summary: False "unknown method" alert
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.0.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-16 15:43 UTC by muellermi
Modified: 2015-01-19 08:44 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 muellermi 2015-01-16 15:43:53 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23

This is part a a JSF (Facelets) page:

value="#{proposal.name.equals('') ? msg.txtEmpty : proposal.name}"

NetBeans offers a (correct) autocompletion after proposal.name.
Amongst others, NetBeans offer "equals" which is valid at this point and works fine.

But...

NetBeans alerts  "unknown method"
There shall be no such message.
Comment 1 Vladimir Riha 2015-01-19 08:44:30 UTC
Reproducible

Product Version: NetBeans IDE Dev (Build 201501190001)
Java: 1.8.0_25; Java HotSpot(TM) Client VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)