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 bug was originally marked as duplicate of bug 183756, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.9 (Build 201006101454) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows 7 User Comments: rostik_netbins: just editing file GUEST: When I try to edit css-Files. GUEST: Typing with non english keyboard GUEST: Editing CSS-File GUEST: edit the css Stacktrace: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 4-byte UTF-8 sequence. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:0) at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:0) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:0) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(XMLEntityScanner.java:0) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:0) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:0)
Created attachment 100241 [details] stacktrace
rostik, if the issue is still reproducible on the css file, can you please attach it to this issue + let me know what is you project/default system encoding. The source of the problem is quite clear, some of the file characters comprises an invalid UTF-8 sequence and the FlyingSource previewer logs the exception so it pops up as user exception.
*** Bug 187834 has been marked as a duplicate of this bug. ***
fixed in web-main#e14c57fad918
Integrated into 'main-golden', will be available in build *201012170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e14c57fad918 User: Marek Fukala <mfukala@netbeans.org> Log: #187824 - com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 4-byte UTF-8 sequence. Also updating FLYING SAUCER library to R8 final version
*** Bug 193983 has been marked as a duplicate of this bug. ***
*** Bug 183756 has been marked as a duplicate of this bug. ***
*** Bug 219034 has been marked as a duplicate of this bug. ***