org.jdom.IllegalDataException: The data "........... (here I've cut our case description, it contains ]]>)" " is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>).

Atlassian JIRA | Martin Lechner | 3 years ago
  1. 0

    We detected an issue when the importer von Fogbugz fails due to an ending CDATA section in the case description. The Snippet in the Fogbugz case is as follows: <![CDATA[ 662-45 32 49 ]]> The importer fails with an error, and the log reports the following: 2014-01-22 17:00:26,889 ERROR - Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state org.jdom.IllegalDataException: The data "........... (here I've cut our case description, it contains ]]>)" " is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>). at org.jdom.CDATA.setText(CDATA.java:121) at org.jdom.CDATA.<init>(CDATA.java:95) at org.jdom.DefaultJDOMFactory.cdata(DefaultJDOMFactory.java:97) at org.jdom.input.SAXHandler.flushCharacters(SAXHandler.java:652) at org.jdom.input.SAXHandler.flushCharacters(SAXHandler.java:623) at org.jdom.input.SAXHandler.endElement(SAXHandler.java:678) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770) at com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzClient.getWithToken(FogBugzClient.java:223) at com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzClient.getCases(FogBugzClient.java:275) at com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzHostedDataBean.getIssuesIterator(FogBugzHostedDataBean.java:132) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:833) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:428) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:374) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:250) at java.lang.Thread.run(Thread.java:662) Would be great if you could fix this, thanks!

    Atlassian JIRA | 3 years ago | Martin Lechner
    org.jdom.IllegalDataException: The data "........... (here I've cut our case description, it contains ]]>)" " is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>).
  2. 0

    We detected an issue when the importer von Fogbugz fails due to an ending CDATA section in the case description. The Snippet in the Fogbugz case is as follows: <![CDATA[ 662-45 32 49 ]]> The importer fails with an error, and the log reports the following: 2014-01-22 17:00:26,889 ERROR - Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state org.jdom.IllegalDataException: The data "........... (here I've cut our case description, it contains ]]>)" " is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>). at org.jdom.CDATA.setText(CDATA.java:121) at org.jdom.CDATA.<init>(CDATA.java:95) at org.jdom.DefaultJDOMFactory.cdata(DefaultJDOMFactory.java:97) at org.jdom.input.SAXHandler.flushCharacters(SAXHandler.java:652) at org.jdom.input.SAXHandler.flushCharacters(SAXHandler.java:623) at org.jdom.input.SAXHandler.endElement(SAXHandler.java:678) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770) at com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzClient.getWithToken(FogBugzClient.java:223) at com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzClient.getCases(FogBugzClient.java:275) at com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzHostedDataBean.getIssuesIterator(FogBugzHostedDataBean.java:132) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:833) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:428) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:374) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:250) at java.lang.Thread.run(Thread.java:662) Would be great if you could fix this, thanks!

    Atlassian JIRA | 3 years ago | Martin Lechner
    org.jdom.IllegalDataException: The data "........... (here I've cut our case description, it contains ]]>)" " is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>).
  3. 0

    Error while applying ReferencesConverter: CDATA cannot internally contain a CDATA ending delimiter (]]>)

    YouTrack | 7 years ago
    java.lang.RuntimeException: org.jdom.IllegalDataException: The data "<project name="gen_file" default="gen"> <target name="gen"> <taskdef resource="net/sf/antcontrib/antcontrib.properties"> <classpath> <pathelement location="ant-contrib/ant-contrib-1.0b3.jar"/> </classpath> </taskdef> <math result="random_percent"> <op op="rint"> <op op="*"> <num value="100"/> <op op="random"/> </op> </op> </math> <math result="random_boolean"> <op op="rint"> <op op="*"> <num value="2"/> <op op="random"/> </op> </op> </math> <echo> bool: ${random_boolean}</echo> <condition property="status" value="SUCCESS" else="FAILURE"> <and> <equals arg1="${random_boolean}" arg2="1.0"/> </and> </condition> <echo file="teamcity-info.xml"><![CDATA[ <build number="1.0.{build.number}"> <statusInfo status="${status}"> <text action="append">status: ${status}, value: ${random_percent}%%</text> </statusInfo> <statisticValue key="graph1Key" value="${random_percent}"/> </build> ]]> </echo> </target> </project>" is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The data "null" is not legal for a JDOM attribute: A null is not a legal XML value. – JetBrains Support

    jetbrains.com | 4 months ago
    java.io.IOException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value.
  6. 0

    org.jdom.IllegalDataException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value

    YouTrack | 7 years ago
    org.jdom.IllegalDataException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jdom.IllegalDataException

      The data "........... (here I've cut our case description, it contains ]]>)" " is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>).

      at org.jdom.CDATA.setText()
    2. jOpenDocument
      SAXHandler.endElement
      1. org.jdom.CDATA.setText(CDATA.java:121)
      2. org.jdom.CDATA.<init>(CDATA.java:95)
      3. org.jdom.DefaultJDOMFactory.cdata(DefaultJDOMFactory.java:97)
      4. org.jdom.input.SAXHandler.flushCharacters(SAXHandler.java:652)
      5. org.jdom.input.SAXHandler.flushCharacters(SAXHandler.java:623)
      6. org.jdom.input.SAXHandler.endElement(SAXHandler.java:678)
      6 frames
    3. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      9 frames
    4. jOpenDocument
      SAXBuilder.build
      1. org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
      2. org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
      2 frames
    5. com.atlassian.jira
      TaskManagerImpl$TaskCallableDecorator.call
      1. com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzClient.getWithToken(FogBugzClient.java:223)
      2. com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzClient.getCases(FogBugzClient.java:275)
      3. com.atlassian.jira.plugins.importer.imports.fogbugz.hosted.FogBugzHostedDataBean.getIssuesIterator(FogBugzHostedDataBean.java:132)
      4. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:833)
      5. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:428)
      6. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26)
      7. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15)
      8. com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:374)
      8 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      4. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      5. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      5 frames
    7. com.atlassian.jira
      ForkedThreadExecutor$ForkedRunnableDecorator.run
      1. com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:250)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame