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
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 (]]>).

    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