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.
Build: NetBeans IDE Dev (Build web-main-javaee7-189-on-20130327) VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b32 OS: Linux User Comments: vriha: Typing in JSP page with EL 3 inside, last EL I wrote was ${car["repaint"]("pink")} Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.el.hints.Identifiers.isValidNode(Identifiers.java:142) at org.netbeans.modules.web.el.hints.Identifiers.access$000(Identifiers.java:64) at org.netbeans.modules.web.el.hints.Identifiers$1.visit(Identifiers.java:118) at com.sun.el.parser.SimpleNode.accept(SimpleNode.java:222) at com.sun.el.parser.SimpleNode.accept(SimpleNode.java:225) at com.sun.el.parser.SimpleNode.accept(SimpleNode.java:225)
Created attachment 133139 [details] stacktrace
Maybe belongs here? Please reassign if not.
Created attachment 133140 [details] sample file If I open this file in editor and start "clicking" near ${car["repaint"]("pink")} the NPE pops out
happens on file opening and then basically on each keystroke that produces some text in editor => P2
web.el -> javaee Expression Language
This must be fixed for 7.3.1, it is caused by sequence of [] and () ${car["repaint"]("pink")} removing it helps
It gets rewrite which is available in build #191+ and I'm not able to reproduce it there, please give another try in the newest build and feel free to reopen it if this issue appears. Thanks a lot. For now looks to me fixed in web-main #745fb832ac6f.
I'm sorry, still reproducible Product Version: NetBeans IDE Dev (Build web-main-javaee7-195-on-20130328) Updates: Updates available 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)
Created attachment 133214 [details] log from build #195
OK, thanks for your attempt. Could you attach your whole sample project please? Thanks...
Created attachment 133284 [details] sample project I'm sorry for delay. Simply open ok.jsp and start typing
Thanks for the project. The issue was finally pretty clear, I don't know why I thought that no-image nodes have image empty and not null. Should be fixed in web-main #278090eade38. Anyway it brings another issue that expression is underlined with strange message since the method call over [''] is not supported by our EL yet. Please feel free report it into the new issue. Thanks a lot!
Thanks, now it is fine. The [] issue is filed as issue 228243. 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)
I expect, this is already in release73 -> '73patch2-fixed'
patch2 verified Product Version: NetBeans IDE 7.3.1 (Build 201302132200) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)