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.
Build: NetBeans IDE 7.1.2 (Build 201204101705) VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13 OS: Windows 7 User Comments: GUEST: Debug the aplication abhishek90: Running Apache Tomcat Server version 7.0.28 Stacktrace: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:687) at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:557) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1750) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XMLEntityScanner.java:1249) at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(XMLScanner.java:717) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(XMLDocumentFragmentScannerImpl.java:999)
Created attachment 121704 [details] stacktrace
This report is complete mess. It contains the reports across the whole IDE. The common thing is it uses XML infrastructure directly or indirectly for parsing.
As almost every report is from Windows, could it be BOM related?
I think it's unlikely. tomcat-users.xml ship with <?xml encoding="UTF-8"?> directive and when we save the file (after adding an user) UTF-8 is used as well. It seem most probably as damaged file in tomcat installation, e.g. manually written to As for the report, only the last exception comes from +- recent NB version, the other reports are rather outdated (2009). Please try running NB again, if the error happens repetedly, reopen the defect. Please check whether your tomcat-users.xml is OK; attach the file here, please.