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 91022

Summary: Parse error in http://www.netbeans.org/mtmo.xml
Product: obsolete Reporter: Jesse Glick <jglick>
Component: collabnetAssignee: issues@www <issues>
Status: RESOLVED INVALID    
Severity: blocker CC: issues, jpirek
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2006-12-13 15:21:11 UTC
During startup:

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:674)
[....]
	at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
	at
org.netbeans.modules.welcome.content.CombinationRSSFeed.buildItemList(CombinationRSSFeed.java:62)
[catch] at org.netbeans.modules.welcome.content.RSSFeed$Reload.run(RSSFeed.java:158)

or

org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence.
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
	at
org.netbeans.modules.welcome.content.CombinationRSSFeed.buildItemList(CombinationRSSFeed.java:62)
[catch] at org.netbeans.modules.welcome.content.RSSFeed$Reload.run(RSSFeed.java:158)
CONFIG [null]: Parse error in file http://www.netbeans.org/mtmo.xml line 22
column 434 (PUBLIC null)

The bogus line is

    <description>The tutorial will guide you through the creation of a sample
application which uses JNI to execute some native code written in the C
programming language. You will start off by creating a simple Java project,
adding a native method to it and then implementing this method in C using
NetBeans C/C++ Pack 5.5. This is the first part of the tutorial that covers the
creation of a sample JNI application in the Microsoft® Windows® operating
system.</description>

which apparently is attempting to use the (R) symbol in a UTF-8 document but
encodes it as (I guess) ISO-8859-1.

Please, fix your publishing script to run an XML validation tool *before*
pushing a new version of any XML file. Then fix it to correct the encoding of
incoming pages which are summarized.
Comment 1 Jesse Glick 2006-12-13 19:07:24 UTC
Seems fixed now.

testwww/www/mtmo.xml

revision 1.70
date: 2006/12/13 15:52:59;  author: jpirek;  state: Exp;  lines: +1 -1
entity fix
Comment 2 jcatchpoole 2006-12-15 14:15:28 UTC
Jan fixed this; also set up validation and some char cleanups, so that a bust
feed should never go live.  Thanks for the report.
Comment 3 Marian Mirilovic 2009-11-08 02:36:59 UTC
We recently moved out from Collabnet's infrastructure