java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x17) in text to output

Sakai JIRA | Ivan Masár | 2 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

    DSpace Tech Support - DSpace 5.1 - oai 500

    nabble.com | 1 year ago
    java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x17) in text to output
  2. 0

    Information and help for users and developers of the DSpace system.

    gmane.org | 1 year ago
    java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x17) in text to output
  3. 0

    As reported in the list: http://dspace.2283337.n4.nabble.com/DSpace-5-1-oai-500-td4679118.html [root@nemertes html]# /data/dspacenew/bin/dspace oai import -c OAI 2.0 manager action started Clearing index Index cleared Using full import. Full import 100 items imported so far... 200 items imported so far... 300 items imported so far... 400 items imported so far... 500 items imported so far... java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x17) in text to output at java.lang.Throwable.initCause(Throwable.java:456) at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:70) at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46) at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16) at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:505) at com.lyncode.xoai.dataprovider.xml.xoai.Element$Field.write(Element.java:204) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:220) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Metadata.write(Metadata.java:95) at org.dspace.xoai.app.XOAI.index(XOAI.java:276) at org.dspace.xoai.app.XOAI.index(XOAI.java:211) at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:198) at org.dspace.xoai.app.XOAI.index(XOAI.java:131) at org.dspace.xoai.app.XOAI.main(XOAI.java:405) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) Caused by: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x17) in text to output ... 23 more Caused by: java.io.IOException: Invalid white space character (0x17) in text to output at com.ctc.wstx.sw.XmlWriter.throwInvalidChar(XmlWriter.java:525) at com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:501) at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:503) ... 22 more

    Sakai JIRA | 2 years ago | Ivan Masár
    java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x17) in text to output
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    As reported in the list: http://dspace.2283337.n4.nabble.com/DSpace-5-1-oai-500-td4679118.html [root@nemertes html]# /data/dspacenew/bin/dspace oai import -c OAI 2.0 manager action started Clearing index Index cleared Using full import. Full import 100 items imported so far... 200 items imported so far... 300 items imported so far... 400 items imported so far... 500 items imported so far... java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x17) in text to output at java.lang.Throwable.initCause(Throwable.java:456) at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:70) at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46) at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16) at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:505) at com.lyncode.xoai.dataprovider.xml.xoai.Element$Field.write(Element.java:204) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:220) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.xoai.Metadata.write(Metadata.java:95) at org.dspace.xoai.app.XOAI.index(XOAI.java:276) at org.dspace.xoai.app.XOAI.index(XOAI.java:211) at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:198) at org.dspace.xoai.app.XOAI.index(XOAI.java:131) at org.dspace.xoai.app.XOAI.main(XOAI.java:405) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) Caused by: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x17) in text to output ... 23 more Caused by: java.io.IOException: Invalid white space character (0x17) in text to output at com.ctc.wstx.sw.XmlWriter.throwInvalidChar(XmlWriter.java:525) at com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:501) at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:503) ... 22 more

    Sakai JIRA | 2 years ago | Ivan Masár
    java.lang.IllegalStateException: Can't overwrite cause with java.io.IOException: Invalid white space character (0x17) in text to output

    Root Cause Analysis

    1. java.io.IOException

      Invalid white space character (0x17) in text to output

      at com.ctc.wstx.sw.XmlWriter.throwInvalidChar()
    2. Woodstox
      BaseStreamWriter.writeCharacters
      1. com.ctc.wstx.sw.XmlWriter.throwInvalidChar(XmlWriter.java:525)
      2. com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:501)
      3. com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:503)
      3 frames
    3. com.lyncode.xoai
      Metadata.write
      1. com.lyncode.xoai.dataprovider.xml.xoai.Element$Field.write(Element.java:204)
      2. com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20)
      3. com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:220)
      4. com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20)
      5. com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223)
      6. com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20)
      7. com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223)
      8. com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20)
      9. com.lyncode.xoai.dataprovider.xml.xoai.Element.write(Element.java:223)
      10. com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20)
      11. com.lyncode.xoai.dataprovider.xml.xoai.Metadata.write(Metadata.java:95)
      11 frames
    4. org.dspace.xoai
      XOAI.main
      1. org.dspace.xoai.app.XOAI.index(XOAI.java:276)
      2. org.dspace.xoai.app.XOAI.index(XOAI.java:211)
      3. org.dspace.xoai.app.XOAI.indexAll(XOAI.java:198)
      4. org.dspace.xoai.app.XOAI.index(XOAI.java:131)
      5. org.dspace.xoai.app.XOAI.main(XOAI.java:405)
      5 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. DSpace Kernel :: API and Implementation
      ScriptLauncher.main
      1. org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
      2. org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
      2 frames