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 269621

Summary: NullPointerException at org.netbeans.modules.javascript.cdnjs.LibraryProvider$SearchTask.createLibrary
Product: javascript Reporter: Exceptions Reporter <exceptions_reporter>
Component: LibrariesAssignee: issues@javascript <issues>
Status: NEW ---    
Severity: normal CC: mdeggersbeans
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227771
Attachments: stacktrace

Description Exceptions Reporter 2017-01-22 01:44:57 UTC
This bug was originally marked as duplicate of bug 255261, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Windows 8.1

User Comments:
mdeggersbeans: Attempting to find updates to existing CDN Javascript library hung on querying for jQuery

GUEST: I was attempting to search for jQuery libraries from CDNJS. This worked for Bootstrap, but it fails on jQuery.

GUEST: Occurred when searching for a lib in CDNJS project properties tab. No results showed up.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript.cdnjs.LibraryProvider$SearchTask.createLibrary(LibraryProvider.java:373)
   at org.netbeans.modules.javascript.cdnjs.LibraryProvider$SearchTask.parse(LibraryProvider.java:331)
   at org.netbeans.modules.javascript.cdnjs.LibraryProvider$SearchTask.run(LibraryProvider.java:283)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Comment 1 Exceptions Reporter 2017-01-22 01:44:59 UTC
Created attachment 163449 [details]
stacktrace