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 201311050001) VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Linux User Comments: vriha: I tried to add custom HTML element to project's list of custom elements using hint in editor next to the element Stacktrace: java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:551) at org.netbeans.modules.html.custom.conf.Configuration.store(Configuration.java:295) at org.netbeans.modules.html.custom.hints.AddElementFix.implement(AddElementFix.java:79) at org.netbeans.modules.csl.hints.infrastructure.FixWrapper.implement(FixWrapper.java:66) at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:837) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
Created attachment 141865 [details] stacktrace
Created attachment 142773 [details] stacktrace Trying to add custom HTML element to projects custom element
*** Bug 239317 has been marked as a duplicate of this bug. ***
Created attachment 143069 [details] Patch Whole feature doesn't work...but this patch can enable it at least for some project types.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=205038
Created attachment 143439 [details] stacktrace click on hint in htm file
Created attachment 143944 [details] stacktrace Add custom angular directive to project custom elements...
Applied naive patch. Fixed in web-main #8acad59ca68d
Integrated into 'main-silver', will be available in build *201401160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8acad59ca68d User: Ondrej Brejla <obrejla@netbeans.org> Log: #237992 - IllegalArgumentException: Called DataObject.find on null
Thank you, it seems to help (tested in HTML5 project). I've tried adding custom element, attributes, elements' attributes to project's custom elements and it worked. Product Version: NetBeans IDE Dev (Build 201401170001) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b65 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)