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 249556 - NullPointerException: The text1 parameter cannot be null
Summary: NullPointerException: The text1 parameter cannot be null
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 13:06 UTC by jyeary
Modified: 2016-07-07 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212850


Attachments
stacktrace (3.33 KB, text/plain)
2014-12-29 13:06 UTC, jyeary
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jyeary 2014-12-29 13:06:09 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Mac OS X

User Comments:
GUEST: NullPointerException: The text1 parameter cannot be null

jyeary: Updating attributes on JSF composite component.




Stacktrace: 
java.lang.NullPointerException: The text1 parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.web.common.api.LexerUtils.equals(LexerUtils.java:339)
   at org.netbeans.modules.html.editor.lib.XmlSTElements$EmptyOT.getAttribute(XmlSTElements.java:183)
   at org.netbeans.modules.web.jsf.editor.hints.ComponentUsagesChecker$ComponentUsageVisitor.visit(ComponentUsagesChecker.java:180)
   at org.netbeans.modules.html.editor.lib.api.elements.ElementUtils.visitChildren(ElementUtils.java:466)
   at org.netbeans.modules.web.jsf.editor.hints.ComponentUsagesChecker.checkCCCalls(ComponentUsagesChecker.java:117)
Comment 1 jyeary 2014-12-29 13:06:11 UTC
Created attachment 151307 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-02-04 11:41:49 UTC
web.jsf.editor.hints.ComponentUsagesChecker calls getAttribute with name equals null. Sending to web.jsf for investigate how theirs attrb can have null as name. Thanks.
Comment 3 Martin Balin 2016-07-07 08:56:46 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss