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.
This issue was reported manually by pjiricka. It already has 2 duplicates Build: NetBeans IDE Dev (Build EaselCSS-537-on-20120822) VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20 OS: Windows 7 User Comments: johnjullion: changed a property in the CSS, the change was applied but then connection with browser is broken. CSS styles view no longer populates, selection in chrome doesn't update DOM, etc. GUEST: changing the value of an H1 element in the index.html file. This error was thrown when I pressed Ctrl-S to save the changes. Stacktrace: java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java:0) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:132) at java.io.DataOutputStream.writeBytes(DataOutputStream.java:276) at org.netbeans.modules.web.clientproject.spi.webserver.WebServer$Server.read(WebServer.java:288) at org.netbeans.modules.web.clientproject.spi.webserver.WebServer$Server.run(WebServer.java:240)
Created attachment 123426 [details] stacktrace
The exception itself may be harmless, but if all the features break, then that's something to worry about. The fact that everything is reloaded from scratch may be caused by Honza B's fix for 216988 - now if your CSS file is not open in the editor, it will be auto-saved after every change via the property sheet. As a workaround, can you try opening the CSS file in the editor before modifying it via the property sheet?
Yup, if the CSS file is open the page does not autorefresh.
Re. CSS - that's a different issue. Re. SocketException - give me more info how to reproduce it. I'm 90% that problem happens when browser (WebView?) is "stacked" and is not accepting the data from web server it asked for. In any case the proper fix is to ignore this exception which I'm doing as web-main#1410773b764b.
(In reply to comment #3) > Yup, if the CSS file is open the page does not autorefresh. Autorefresh is invoked on save of any file. Not specific for CSS.
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1410773b764b User: David Konecny <dkonecny@netbeans.org> Log: #217249 - java.net.SocketException: Software caused connection abort: socket write error