Malformed Byte

Results 1 to 3 of 3
  1. #1
    Member Whylhide is offline
    MemberRank
    Dec 2008 Join Date
    28Posts

    Malformed Byte

    Does anyone know what is causing this? All the other dump files work fine. Thanks in advance.

    Dumping Items
    Deleted wz_itemdata successfully.
    Adding into wz_itemdata.....
    30843 quest.
    java.lang.RuntimeException: com.sun.org.apache.xerces.internal.impl.io.Malformed
    ByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
    at provider.MapleData.<init>(MapleData.java:59)
    at provider.MapleDataProvider.getData(MapleDataProvider.java:67)
    at tools.wztosql.DumpItems.dumpItems(DumpItems.java:119)
    at tools.wztosql.DumpItems.dumpItems(DumpItems.java:390)
    at tools.wztosql.DumpItems.dumpItems(DumpItems.java:81)
    at tools.wztosql.DumpItems.main(DumpItems.java:411)
    Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcep
    tion: Invalid byte 2 of 2-byte UTF-8 sequence.
    at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unk
    nown Source)
    at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown So
    urce)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown
    Source)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(
    Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue
    (Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanAttribute(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanStartElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l$FragmentContentDriver.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U
    nknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
    nknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
    nknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
    urce)
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So
    urce)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk
    nown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at provider.MapleData.<init>(MapleData.java:53)
    ... 5 more
    Finished with errors in 0 minutes 12 seconds
    Press any key to continue . . .
    Share


  2. #2
    Infraction Banned rice is offline
    Grand MasterRank
    Nov 2009 Join Date
    2,904Posts

    Re: Malformed Byte

    The hell is an invalid byte?

    >java

  3. #3
    Member Whylhide is offline
    MemberRank
    Dec 2008 Join Date
    28Posts

    Re: Malformed Byte

    Quote Originally Posted by rice View Post
    The hell is an invalid byte?

    >java
    Lol, it's malformed, It's because whatever I'm running is trying to see the file as UTF-8, however there's characters that aren't valid under UTF-8, and it causes this error. However, I have no idea where it is, I've checked the lines in the error, I don't see anything that would cause this error. So I'm really at a loss.



Advertisement