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 228243

Summary: Uknown method null hint for EL3.0 method call
Product: javaee Reporter: Vladimir Riha <vriha>
Component: Expression LanguageAssignee: Martin Fousek <marfous>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2013-04-04 11:07:13 UTC
Having this

#{carBean["repaint"]("blue")}

in both, plain JSP or facelet xhtml page brings warning hint 

"Unknown method null"



Product Version: NetBeans IDE Dev (Build web-main-javaee7-203-on-20130404)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32
System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Martin Fousek 2013-07-10 06:34:38 UTC
Good catch Vlado, thanks. :)

It should check properly whether is the bracket method call valid. If not correct error message appears like i.e. "Unknown method fakefakeMethod".

Fixed in web-main #d89f46189298 and web-main #8a295bd561b7.
Comment 2 Quality Engineering 2013-07-11 04:13:00 UTC
Integrated into 'main-silver', will be available in build *201307102300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d89f46189298
User: Martin Fousek <marfous@netbeans.org>
Log: #228243 - Uknown method null hint for EL3.0 method call
Comment 3 Vladimir Riha 2013-07-11 08:27:00 UTC
Thank you, it checks if method exists and if parameters matches its signature. Verified


Product Version: NetBeans IDE Dev (Build 201307102300)
Updates: Updates available
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb