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.
Summary: | NullPointerException at org.netbeans.modules.web.el.hints.Identifiers.isValidNode | ||
---|---|---|---|
Product: | javaee | Reporter: | Vladimir Riha <vriha> |
Component: | Expression Language | Assignee: | Martin Fousek <marfous> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, vriha |
Priority: | P2 | ||
Version: | 7.3.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 199946 |
Attachments: |
stacktrace
sample file log from build #195 sample project |
Description
Vladimir Riha
2013-03-27 15:09:57 UTC
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) |