#3719 Exception at load after fresh install

open
None
5
2014-05-26
2012-07-03
No

After a fresh install of 5.0pre1 on a Mac, I have this exception at start.

08:16:43 [main] [error] jEdit: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:554)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XMLEntityScanner.java:1242)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(XMLScanner.java:769)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(XMLDocumentFragmentScannerImpl.java:1040)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2954)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
08:16:43 [main] [error] jEdit: at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
08:16:43 [main] [error] jEdit: at org.gjt.sp.util.XMLUtilities.parseXML(XMLUtilities.java:139)
08:16:43 [main] [error] jEdit: at org.gjt.sp.jedit.jEdit.loadModeCatalog(jEdit.java:4455)
08:16:43 [main] [error] jEdit: at org.gjt.sp.jedit.jEdit.reloadModes(jEdit.java:1411)
08:16:43 [main] [error] jEdit: at org.gjt.sp.jedit.jEdit.main(jEdit.java:506)
08:16:43 [main] [error] jEdit: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:16:43 [main] [error] jEdit: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08:16:43 [main] [error] jEdit: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:16:43 [main] [error] jEdit: at java.lang.reflect.Method.invoke(Method.java:597)
08:16:43 [main] [error] jEdit: at apple.launcher.LaunchRunner.run(LaunchRunner.java:116)
08:16:43 [main] [error] jEdit: at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
08:16:43 [main] [error] jEdit: at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

I have to investigate and see if it happens also on Windows and linux

Discussion

  • Björn Kautler
    Björn Kautler
    2014-05-26

    How did you install? With 5.2pre1 I'm not able to reproduce this.
    It seems the modes catalog file had some non UTF-8 character inside, according to the stacktrace.