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 - NullPointerException at org.netbeans.modules.javascript.cdnjs.LibraryProvider$SearchTask.createLibrary
Summary: NullPointerException at org.netbeans.modules.javascript.cdnjs.LibraryProvider...
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@javascript
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-22 01:44 UTC by Exceptions Reporter
Modified: 2017-01-22 01:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227771


Attachments
stacktrace (656 bytes, text/plain)
2017-01-22 01:44 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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