com.sun.org.apache.xerces.internal.xni.XNIException: Invalid encoding name "ISO8859\_1".

freecol | fca00000 | 9 years ago
  1. 0

    Colonies with non-ASCII names provoke bad savegame.

    freecol | 9 years ago | fca00000
    com.sun.org.apache.xerces.internal.xni.XNIException: Invalid encoding name "ISO8859\_1".

    Root Cause Analysis

    1. com.sun.org.apache.xerces.internal.xni.XNIException

      Invalid encoding name "ISO8859\_1".

      at com.sun.xml.internal.stream.StaxErrorReporter.reportError()
    2. Java RT
      XMLInputFactoryImpl.createXMLStreamReader
      1. com.sun.xml.internal.stream.StaxErrorReporter.reportError(StaxErrorReporter.java:152)
      2. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
      3. com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.createReader(XMLEntityScanner.java:1879)
      4. com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.setEncoding(XMLEntityScanner.java:445)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:979)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:806)
      7. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
      8. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      9. com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:207)
      10. com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:189)
      11. com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:267)
      12. com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:135)
      12 frames
    3. net.sf.freecol
      ConnectController.loadGame
      1. net.sf.freecol.server.FreeColServer.createXMLStreamReader(FreeColServer.java:549)
      2. net.sf.freecol.client.control.ConnectController.loadGame(ConnectController.java:333)
      2 frames