Error Message Gowrite doesn't work again :(

Reporting and discussion about bugs.

Moderator: lpaatero

Post Reply
yithril
Posts: 2
Joined: Mon Nov 21, 2011 4:58 am

Error Message Gowrite doesn't work again :(

Post by yithril »

When I try to run Gowrite I get a message that says

Internal Error in Gowrite

Then a screen filled with this:

120106 124118.382 gowrite.sgf.SGFUtil log INFO: start 1.7.0_02 / 2.3.44 in Windows 7/6.1
120106 124120.369 gowrite.sgf.SGFUtil log WARNING: debug23.cfgx settings not found.
120106 124120.709 gowrite.sgf.SGFUtil log INFO: Native Support: gowrite.platf.windows.WindowsUtil
120106 124129.241 gowrite.sgf.SGFUtil log INFO: Error in reading default style.
java.io.IOException
at gowrite.gui.setting.XmlSettingStorage.load(XmlSettingStorage.java:46)
at gowrite.gui.setting.SettingsFile.read(SettingsFile.java:99)
at gowrite.gui.setting.TypographyCollection.loadFromDir(TypographyCollection.java:139)
at gowrite.gui.UserSettings.loadSettings(UserSettings.java:366)
at gowrite.gui.Loader.loadPreferences(Loader.java:75)
at gowrite.gui.Loader.start(Loader.java:210)
at gowrite.gui.Loader.main(Loader.java:344)
at GOWrite2.main(GOWrite2.java:338)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at gowrite.gui.setting.XmlSettingStorage.getLoadingDoc(XmlSettingStorage.java:69)
at gowrite.gui.setting.XmlSettingStorage.load(XmlSettingStorage.java:44)
... 7 more
120106 124131.614 gowrite.sgf.SGFUtil log INFO: command "-delayexit"
120106 124131.615 gowrite.sgf.SGFUtil log INFO: command "-workdir"
120106 124131.615 gowrite.sgf.SGFUtil log INFO: command "-open"
120106 124131.616 gowrite.sgf.SGFUtil log INFO: command "-endOpen"
120106 124131.631 gowrite.sgf.SGFUtil log INFO: command "-endOpen"
120106 124132.004 gowrite.sgf.SGFUtil log INFO: Accelerators: gowrite/text/Accelerator-Windows
120106 124132.006 gowrite.sgf.SGFUtil log INFO: Accelerators: gowrite/text/Accelerator
120106 124132.900 gowrite.sgf.SGFUtil log SEVERE: Starting
java.util.NoSuchElementException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(Unknown Source)
at java.util.LinkedHashMap$ValueIterator.next(Unknown Source)
at gowrite.gui.setting.TypographyCollection.getFirstTypography(TypographyCollection.java:55)
at gowrite.gui.setting.TypographyCollection.getDefaultTypography(TypographyCollection.java:73)
at gowrite.gui.setting.TypographyCollection.getDefault(TypographyCollection.java:38)
at gowrite.gui.view.BoardMetrics.<init>(BoardMetrics.java:1260)
at gowrite.gui.view.CachedBoardMetrics.<init>(CachedBoardMetrics.java:84)
at gowrite.gui.view.Board.<init>(Board.java:79)
at gowrite.gui.view.CurrentBoard.<init>(CurrentBoard.java:57)
at gowrite.gui.ScreenBoard.<init>(ScreenBoard.java:74)
at gowrite.gui.EditingPane.initComponents(EditingPane.java:114)
at gowrite.gui.EditingPane.<init>(EditingPane.java:47)
at gowrite.gui.TopFrame.initComponents(TopFrame.java:195)
at gowrite.gui.TopFrame.<init>(TopFrame.java:55)
at gowrite.gui.FrameManager.createTopFrame(FrameManager.java:293)
at gowrite.gui.FrameManager$createFrame.run(FrameManager.java:191)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
120106 124141.722 gowrite.sgf.SGFUtil log WARNING: database.cfgx settings not found.
120106 124141.812 gowrite.sgf.SGFUtil log INFO: Main ends.
120106 124658.582 gowrite.sgf.SGFUtil log INFO: command "-workdir"
120106 124658.583 gowrite.sgf.SGFUtil log INFO: command "-open"
120106 124658.584 gowrite.sgf.SGFUtil log INFO: command "-endOpen"
120106 124658.667 gowrite.sgf.SGFUtil log SEVERE: Starting
java.util.NoSuchElementException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(Unknown Source)
at java.util.LinkedHashMap$ValueIterator.next(Unknown Source)
at gowrite.gui.setting.TypographyCollection.getFirstTypography(TypographyCollection.java:55)
at gowrite.gui.setting.TypographyCollection.getDefaultTypography(TypographyCollection.java:73)
at gowrite.gui.setting.TypographyCollection.getDefault(TypographyCollection.java:38)
at gowrite.gui.view.BoardMetrics.<init>(BoardMetrics.java:1260)
at gowrite.gui.view.CachedBoardMetrics.<init>(CachedBoardMetrics.java:84)
at gowrite.gui.view.Board.<init>(Board.java:79)
at gowrite.gui.view.CurrentBoard.<init>(CurrentBoard.java:57)
at gowrite.gui.ScreenBoard.<init>(ScreenBoard.java:74)
at gowrite.gui.EditingPane.initComponents(EditingPane.java:114)
at gowrite.gui.EditingPane.<init>(EditingPane.java:47)
at gowrite.gui.TopFrame.initComponents(TopFrame.java:195)
at gowrite.gui.TopFrame.<init>(TopFrame.java:55)
at gowrite.gui.FrameManager.createTopFrame(FrameManager.java:293)
at gowrite.gui.FrameManager$createFrame.run(FrameManager.java:191)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
lpaatero
Go liiton hallitus
Posts: 535
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Error Message Gowrite doesn't work again :(

Post by lpaatero »

Hi,

It seems that typography file(s) are damaged.
You can revert to default typography by deleting .gowrite/style_default.cfgx file.

I would be interested in when typography gets damaged (if it repeats). So if you find repeatable actions creating the problems, let me know.

- LAuri
Post Reply