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 141497 - [65cat] org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
Summary: [65cat] org.xml.sax.SAXParseException: White spaces are required between publ...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 6.x
Hardware: Other Windows XP
: P2 blocker (vote)
Assignee: mslama
URL: http://statistics.netbeans.org/except...
Keywords:
: 141984 148458 153668 (view as bug list)
Depends on: 149082
Blocks:
  Show dependency tree
 
Reported: 2008-07-24 10:12 UTC by alcmontejo
Modified: 2009-08-02 12:29 UTC (History)
31 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 9204


Attachments
stacktrace (1.02 KB, text/plain)
2008-07-29 06:49 UTC, alcmontejo
Details
stacktrace (1.04 KB, text/plain)
2008-11-01 21:49 UTC, Jesse Glick
Details
stacktrace (1.04 KB, text/plain)
2009-08-02 12:29 UTC, azizi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alcmontejo 2008-07-24 10:12:52 UTC
Build: NetBeans IDE Dev (Build 200807221016)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
When Im Editing my Jsp File, I paste some script.

Stacktrace: 
org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
        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.Installer.parseButtons(Installer.java:802)
        at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1154)
        at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:756)
Comment 1 alcmontejo 2008-07-29 06:49:07 UTC
Build: NetBeans IDE Dev (Build 200807281401)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
hi!

Good day,

I Manullay installed plugin and after restart, got this exceptions

Thanks and more power,
Allen Montejo


Stacktrace: 
org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
        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.Installer.parseButtons(Installer.java:806)
        at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1167)
        at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:760)
Comment 2 alcmontejo 2008-07-29 06:49:11 UTC
Created attachment 65895 [details]
stacktrace
Comment 3 Jaroslav Tulach 2008-08-05 10:39:35 UTC
Marku, did you changed anything recently in this code?
Comment 4 alcmontejo 2008-08-06 03:06:25 UTC
yes i have changes in my code.


Thanks,
Allen Montejo
Comment 5 mslama 2008-08-13 16:12:43 UTC
It looks like it can happen when server does not return expected data eg. when given service is not available server
returns error html page. I added log to method parseButtons to be sure it is called, installed UI Gesture Collector,
restarted IDE, invoked UI Gesture Collector uplaod dialog and submitted data. No exception. So I am not able to
reproduce. If there would be more cases of this problem I could add log to see what response IDE gets from server.
Closing for now.
Comment 6 ulfzibis 2008-09-25 16:07:03 UTC
Not solved for Build 200809220201
Refer to http://statistics.netbeans.org/analytics/detail.do?id=118454
Comment 7 Jindrich Sedek 2008-09-25 16:49:29 UTC
This is the critical info in latest log:

<message>nbresloc:/org/netbeans/modules/uihandler/UnknownHostException.html</message>
<message>org.xml.sax.SAXParseException: The element type "meta" must be terminated by the matching end-tag
"&lt;/meta&gt;".</message> 


fixed.
changeset 0ee7183c043f in main
details: http://hg.netbeans.org/main?cmd=changeset;node=0ee7183c043f
description:
	#141497 The element type "meta" must be terminated by the matching end-tag
Comment 8 mslama 2008-09-26 14:38:08 UTC
*** Issue 148458 has been marked as a duplicate of this issue. ***
Comment 9 Quality Engineering 2008-09-27 05:31:01 UTC
Integrated into 'main-golden', will be available in build *200809270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0ee7183c043f
User: Jindrich Sedek <jsedek@netbeans.org>
Log: #141497 The element type "meta" must be terminated by the matching end-tag
Comment 10 Exceptions Reporter 2008-10-08 19:43:37 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810031942)
http://statistics.netbeans.org/exceptions/detail.do?id=125076
Comment 11 Jesse Glick 2008-11-01 21:48:59 UTC
Build: NetBeans IDE Dev (Build 081022)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.24-21-generic, i386

User Comments: 
Tried to submit an exception before my internet connection was up.
Was given a warning dialog; when I closed it, say this new exception.

Stacktrace: 
org.xml.sax.SAXParseException: The element type "head" must be terminated by the matching end-tag "</head>".
        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.Installer.parseButtons(Installer.java:1015)
        at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1418)
        at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:969)
Comment 12 Jesse Glick 2008-11-01 21:49:03 UTC
Created attachment 73064 [details]
stacktrace
Comment 13 Exceptions Reporter 2008-12-09 22:19:27 UTC
This issue has already 150 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145569
Comment 14 mslama 2009-01-14 13:55:40 UTC
*** Issue 153668 has been marked as a duplicate of this issue. ***
Comment 15 Jindrich Sedek 2009-03-12 09:59:05 UTC
*** Issue 141984 has been marked as a duplicate of this issue. ***
Comment 16 Exceptions Reporter 2009-04-16 06:11:47 UTC
This issue has already 250 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=9204
Comment 17 mslama 2009-04-16 16:17:31 UTC
core-main #08c7006d64ad

I added logging to see html content which is parsed and causes this problem. Also all html files which are downloaded
from netbeans.org and parsed has now XHTML DOCTYPE and passes validation to make sure parser should be able to handle it
without problem. We will see if there will be any report. Till now al reports are from NB 6.5 and not from newer trunk
builds. Also from reports so far it is not clear what url/content causes this.
Comment 18 Quality Engineering 2009-04-17 19:53:40 UTC
Integrated into 'main-golden', will be available in build *200904171401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/08c7006d64ad
User: Marek Slama <mslama@netbeans.org>
Log: #141497: Log parsed html content to investigate parser exception.
Comment 19 azizi 2009-08-02 12:29:44 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, i386

User Comments: 


Stacktrace: 
org.xml.sax.SAXParseException: The element type "head" must be terminated by the matching end-tag "</head>".
        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.Installer.parseButtons(Installer.java:1015)
        at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1418)
        at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:969)
Comment 20 azizi 2009-08-02 12:29:52 UTC
Created attachment 85657 [details]
stacktrace