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 267934 - Running HTML file in embedded webkit browser crashes Netbeans if file referenced by object data attribute missing on file system.
Summary: Running HTML file in embedded webkit browser crashes Netbeans if file referen...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Live HTML (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: David Konecny
Depends on:
Reported: 2016-09-07 20:19 UTC by authentictech
Modified: 2016-09-07 20:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description authentictech 2016-09-07 20:19:09 UTC
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Steps to reproduce: 

1. Create an HTML5 project and a new HTML file.
2. Add the following code in the body:
  <object width="400" height="50" data="bookmark.swf"></object>

3. Set Netbeans to preview in the embedded webkit browser.
4. Run file.

Result: If the file referred to in the data attribute is missing on the file system, Netbeans crashes. This happens for any file or file type.

Alternatively, create an empty file with the name "bookmark.swf" in the working directory and Netbeans does not crash.
Comment 1 authentictech 2016-09-07 20:35:26 UTC
Also crashes for same reasons with an embed tag.

Does not crash if missing data is an image file.