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

Summary: False "unknown method" alert
Product: javaee Reporter: muellermi <muellermi>
Component: JSF EditorAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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)