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 248355

Summary: NullPointerException at org.netbeans.modules.javascript2.knockout.index.KnockoutIndex.createCustomElements
Product: web Reporter: Vladimir Riha <vriha>
Component: KnockoutAssignee: Roman Svitanic <rsvitanic>
Status: RESOLVED FIXED    
Severity: normal CC: ppisl
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 213100
Attachments: stacktrace

Description Vladimir Riha 2014-11-03 08:12:48 UTC
Build: NetBeans IDE Dev (Build 201411030002)
VM: Java HotSpot(TM) Client VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Linux

User Comments:
vriha: probably caused by renaming folder with JS code inside?




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.knockout.index.KnockoutIndex.createCustomElements(KnockoutIndex.java:167)
   at org.netbeans.modules.javascript2.knockout.index.KnockoutIndex.getCustomElements(KnockoutIndex.java:118)
   at org.netbeans.modules.html.knockout.KOHtmlExtension.isTagCustomKnockoutElement(KOHtmlExtension.java:423)
   at org.netbeans.modules.html.knockout.KOHtmlExtension.isCustomTag(KOHtmlExtension.java:325)
   at org.netbeans.modules.html.editor.gsf.HtmlGSFParser$1.isCustomTag(HtmlGSFParser.java:132)
   at org.netbeans.modules.html.editor.gsf.HtmlGSFParser$AggregatedUndeclaredContentResolver.isCustomTag(HtmlGSFParser.java:176)
Comment 1 Vladimir Riha 2014-11-03 08:12:49 UTC
Created attachment 150223 [details]
stacktrace
Comment 2 Roman Svitanic 2015-04-10 14:19:07 UTC
Changeset: 31bc34d689a5
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-04-10 16:18
Message:   #248355: NullPointerException at org.netbeans.modules.javascript2.knockout.index.KnockoutIndex.createCustomElements - fixed
Comment 3 Quality Engineering 2015-04-11 05:43:02 UTC
Integrated into 'main-silver', will be available in build *201504110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/31bc34d689a5
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #248355: NullPointerException at org.netbeans.modules.javascript2.knockout.index.KnockoutIndex.createCustomElements - fixed
Task #248355 - NullPointerException at org.netbeans.modules.javascript2.knockout.index.KnockoutIndex.createCustomElements
Comment 4 Quality Engineering 2015-04-16 06:37:33 UTC
Integrated into 'main-silver', will be available in build *201504160452* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/625f13d5fbc4
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #248355: RequireJS - Support navigation from test file definition to source file
Task #244879 - Support navigation from test file definition to source file