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 249373 - NullPointerException: The sources[0] parameter cannot be null
Summary: NullPointerException: The sources[0] parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-15 22:14 UTC by Selpi
Modified: 2015-03-04 16:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203779


Attachments
stacktrace (514 bytes, text/plain)
2014-12-15 22:14 UTC, Selpi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Selpi 2014-12-15 22:14: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: Linux

User Comments:
talofo: Removing opened tab with the mouse, after playing with the embebbed browser.

talofo: Trying to change from chrome to webkit Embedded browser on the top menu.

Selpi: Another exception in css editing panel while expecting site with chrome + nb connector. 

I switched to Document tab and then back to Selection and got this exception.




Stacktrace: 
java.lang.NullPointerException: The sources[0] parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:105)
   at org.netbeans.modules.web.inspect.ui.CssStylesPanelProviderImpl$WebCssStylesPanelListener$1.run(CssStylesPanelProviderImpl.java:500)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 Selpi 2014-12-15 22:14:11 UTC
Created attachment 151123 [details]
stacktrace
Comment 2 Jan Stola 2015-03-04 16:59:13 UTC
Fixed.

Modified file: https://hg.netbeans.org/web-main/rev/6977bf7341ea