org.xml.sax.SAXParseException: The string "--" is not permitted within comments.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via Atlassian JIRA by Zhen Yueh, Lean [Atlassian], 1 year ago
The string "--" is not permitted within comments.
via Atlassian JIRA by Zhen Yueh, Lean [Atlassian], 1 year ago
The string "--" is not permitted within comments.
via Jenkins JIRA by jeffolson, 1 year ago
The entity name must immediately follow the '&' in the entity reference.
via Jenkins JIRA by jeffolson, 1 year ago
The entity name must immediately follow the '&' in the entity reference.
via Eclipse Bugzilla by ewchan, 1 year ago
An invalid XML character (Unicode: 0x1c) was found in the CDATA section.
via Eclipse Bugzilla by jlsteinf, 1 year ago
The reference to entity "version" must end with the ';' delimiter.
org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.scanComment(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at com.atlassian.jira.action.admin.DataImport.doExecute(DataImport.java:143)
at webwork.action.ActionSupport.execute(ActionSupport.java:153)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)

Users with the same issue

2 times, 2 months ago
2 times, 2 months ago
7 times, 8 months ago
2 times, 8 months ago
2 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.