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 176074 - org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".
Summary: org.xml.sax.SAXParseException: The element type "link" must be terminated by ...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Exceptions Reporter (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jindrich Sedek
URL: http://statistics.netbeans.org/except...
Keywords:
: 177091 177092 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-06 02:50 UTC by vivekojha
Modified: 2011-09-08 13:00 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145832


Attachments
stacktrace (1.06 KB, text/plain)
2009-11-06 02:50 UTC, vivekojha
Details
stacktrace (962 bytes, text/plain)
2010-03-16 10:36 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vivekojha 2009-11-06 02:50:05 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows 2003, 5.2, x86

User Comments:
GUEST: Starting up NetBeans

GUEST: starting rspec in a jruby project

GUEST: auto-complete code



Stacktrace: 
org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
        at org.netbeans.modules.uihandler.ButtonsParser.parse(ButtonsParser.java:111)
        at org.netbeans.modules.uihandler.Installer.parseButtons(Installer.java:1021)
        at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1438)
Comment 1 vivekojha 2009-11-06 02:50:10 UTC
Created attachment 90536 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-11-06 02:50:14 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145832
Comment 3 Jindrich Sedek 2009-12-15 03:39:47 UTC
*** Bug 177091 has been marked as a duplicate of this bug. ***
Comment 4 Jindrich Sedek 2009-12-15 04:02:58 UTC
it seems someone, something or what ever is adding a invalid comment at the end of error2.html page -> This is the page content taken of one of logs.

Content:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Report Problem</title>
</head>
<body>
<h3>You have found a bug in the application!</h3>
<p>
    Actual system of direct bug uploading to the collecting server is now out of order.
    You can help the NetBeans.org project by reporting this problem to 
    our existing bug tracking system using the <q>Report to Issuezilla</q> button bellow.
</p>
<p>
    Thank you for helping us make NetBeans better!
</p>

<form action="http://statistics.netbeans.org/analytics/upload.jsp" method="post">
    <input type="hidden" name="submit" value="&amp;Send" alt="reportDialog"></input>
    <input type="hidden" name="view-data" value="&amp;View Data" align="left" alt="&amp;Hide data"></input>
    <input type="hidden" name="exit" value="Cancel"></input>
</form>
<!--
<form action="http://netbeans.org/bugzilla/enter_bug.cgi" method="post">
    <input type="hidden" name="redirect" value="&amp;Report to Issuezilla"></input>
    <input type="hidden" name="exit" value="&amp;Cancel"></input>
</form>
-->
</body>
</html>
<!-- 2009-11-09 10:06:39- -------- Content Server LOG ------
2009-11-09 10:06:39- Page is static
2009-11-09 10:06:39- Request Module: www, Request URI: nonav/uigestures/error2.html
2009-11-09 10:06:39- File exists; /web/nbweb/checkout/trunk/www/uigestures/error2.html
2009-11-09 10:06:39- <b>USER Log</b>
2009-11-09 10:06:39 : -------------------------
2009-11-09 10:06:39 : There is no User in Session, calling __construct()
2009-11-09 10:06:39 : Running checkForExistingCookies();
-->

The part after </html> is not expected

Other problem appers if there is some redirect.
Content:
<HTML><HEAD>
<TITLE>Redirect</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<center><big><strong>Acc&egrave;s Internet d&rsquo;EDF</strong></big><BR></center>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Redirect (authentication_redirect_to_virtual_host)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
You are being redirected to the authentication virtual host.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">

</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
<BR>
En cas de difficult&eacute;, vous pouvez contacter votre assistance habituelle.
<br>L'&eacute;quipe d'exploitation des acc&egrave;s Internet d&rsquo;EDF
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</BODY></HTML>
Comment 5 Jindrich Sedek 2009-12-15 05:19:51 UTC
1) fixed - 556402da653c
2) won't fix - I don't know where the redirect is comming from. It seems some user proxy is causing it - I don't see any way to fix it. I'm even surprised that these reports were reported since first attempt failed.

I found one more problem - in Spanish localization of UnknownHostException.html file the content is not valid XHTML since <head> doesn't match </HEAD> - we should keep all tag in one case(lower or upper) - I've filled a Bug 178651 to localization team.
--------------
<HTML>
    <head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <title>Coletor de Gestos da UI</title>
</HEAD>
....
-----------
Comment 6 Jindrich Sedek 2009-12-16 01:48:34 UTC
*** Bug 177092 has been marked as a duplicate of this bug. ***
Comment 7 Lukas Hasik 2010-03-16 10:36:34 UTC
Created attachment 95226 [details]
stacktrace
Comment 8 misterm 2010-05-11 18:52:00 UTC
Just experienced this now
Comment 9 Marian Mirilovic 2011-09-08 13:00:52 UTC
resolve as FIXED, if you will face it once again please reopen.