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.
1. Create web application with "Visual Web JSF" framework. Result: Web Application root node and "Source Packages" node are red badged. Expand "Source Packages" node. <package_name> node is also red badged. Expand it. "Page1.java", "RequestBean1.java" and "SessionBean1.java" are all red badged. Open Page1.java. Methods which returns corresponding bean instance is red badged. For example: protected SessionBean1 getSessionBean1() { return (SessionBean1) getBean(); } And there is error: "getBean(java.lang.String) in com.sun.rave.web.ui.appbase.FacesBean cannot be applied to () incovertible types found: getBean required: <package_name>.SessionBean1".
*** This issue has been marked as a duplicate of 115675 ***
*** Issue 115675 has been marked as a duplicate of this issue. ***
Was marked as duplicate by mistake because of proxy problem.
*** Issue 115686 has been marked as a duplicate of this issue. ***
'getBean()' methods are generated by insync. They are not defined in the templates used when project been created.
I can reproduce this with Zip build: Product Version: NetBeans IDE Dev (Build 200709171226) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
> 'getBean()' methods are generated by insync. They are not defined in the templates used when project been created. I thought I reassigned it to insync!
The underlying cause of this same as the issue # 115673 which is really a java/source issue. We are preparing info for the java/source (Retouche) developers before assigning to them. *** This issue has been marked as a duplicate of 115673 ***