GW 2.3.43.
When opening a second instance of GW (IIRC, rarely also when starting GW as a first instance), GW creates a Java language error log window that needs to be closed before one can proceed with using GW (but GW as a whole does not crash entirely). Afterwards working appears to be normal. IOW, there seems to be at least one bug in an initialization or a garbage collection routine. Unfortunaly, I cannot give more precise error details yet. If you wish, I will wait for the next occurrence and try to copy and paste the error log.
Crash Upon Opening Second Instance
Moderator: lpaatero
Crash Upon Opening Second Instance
robert jasiek
Re: Crash Upon Opening Second Instance
It would be good to get screenshot (or text) of error message.
- Lauri
- Lauri
Re: Crash Upon Opening Second Instance
GW was not open (I did not check if it was still running as a process). Then I double click on an SGF and get this log. When closing GW and then double clicking on the same SGF again, GW starts normal without any error log.
110214 084451.263 gowrite.sgf.SGFUtil log INFO: start 1.6.0_22 / 2.3.43 in Windows 7/6.1
110214 084451.341 gowrite.sgf.SGFUtil log INFO: Native Support: gowrite.platf.windows.WindowsUtil
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-delayexit"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-workdir"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-open"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-endOpen"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-endOpen"
110214 084452.152 gowrite.sgf.SGFUtil log INFO: Accelerators: gowrite/text/Accelerator-Windows
110214 084452.152 gowrite.sgf.SGFUtil log INFO: Accelerators: gowrite/text/Accelerator
110214 084452.651 gowrite.sgf.SGFUtil log WARNING: database.cfgx settings not found.
110214 084452.667 gowrite.sgf.SGFUtil log SEVERE: Starting
java.lang.NullPointerException
at gowrite.gui.view.BoardCharSequence.split(BoardCharSequence.java:175)
at gowrite.gui.view.BoardCharSequence.getPrefix(BoardCharSequence.java:260)
at gowrite.gui.GameView.nextFreeNodeLabel(GameView.java:1041)
at gowrite.gui.GameView.resetNodeEditing(GameView.java:1075)
at gowrite.gui.GameView.setCurrentLocationRange(GameView.java:570)
at gowrite.gui.GameView.setNodeLocation(GameView.java:523)
at gowrite.gui.GameView.setCurrentLocation(GameView.java:513)
at gowrite.gui.GameView.setGame(GameView.java:343)
at gowrite.gui.EditingPane.setCurrentGame(EditingPane.java:211)
at gowrite.gui.TopFrame$PropertyEventHandler.propertyChange(TopFrame.java:46)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at gowrite.gui.FileView.firePropertyChange(FileView.java:41)
at gowrite.gui.FileView.setCurrentGame(FileView.java:112)
at gowrite.gui.FileView.setFile(FileView.java:125)
at gowrite.gui.TopFrame$PropertyEventHandler.propertyChange(TopFrame.java:43)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at gowrite.gui.FileOperations.firePropertyChange(FileOperations.java:421)
at gowrite.gui.FileOperations.setCurrentFile(FileOperations.java:917)
at gowrite.gui.FileOperations.openFile(FileOperations.java:687)
at gowrite.gui.TopFrame.loadInitialFile(TopFrame.java:321)
at gowrite.gui.FrameManager$createFrame.run(FrameManager.java:198)
at java.awt.event.InvocationEvent.dispatch(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)
110214 084451.263 gowrite.sgf.SGFUtil log INFO: start 1.6.0_22 / 2.3.43 in Windows 7/6.1
110214 084451.341 gowrite.sgf.SGFUtil log INFO: Native Support: gowrite.platf.windows.WindowsUtil
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-delayexit"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-workdir"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-open"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-endOpen"
110214 084452.105 gowrite.sgf.SGFUtil log INFO: command "-endOpen"
110214 084452.152 gowrite.sgf.SGFUtil log INFO: Accelerators: gowrite/text/Accelerator-Windows
110214 084452.152 gowrite.sgf.SGFUtil log INFO: Accelerators: gowrite/text/Accelerator
110214 084452.651 gowrite.sgf.SGFUtil log WARNING: database.cfgx settings not found.
110214 084452.667 gowrite.sgf.SGFUtil log SEVERE: Starting
java.lang.NullPointerException
at gowrite.gui.view.BoardCharSequence.split(BoardCharSequence.java:175)
at gowrite.gui.view.BoardCharSequence.getPrefix(BoardCharSequence.java:260)
at gowrite.gui.GameView.nextFreeNodeLabel(GameView.java:1041)
at gowrite.gui.GameView.resetNodeEditing(GameView.java:1075)
at gowrite.gui.GameView.setCurrentLocationRange(GameView.java:570)
at gowrite.gui.GameView.setNodeLocation(GameView.java:523)
at gowrite.gui.GameView.setCurrentLocation(GameView.java:513)
at gowrite.gui.GameView.setGame(GameView.java:343)
at gowrite.gui.EditingPane.setCurrentGame(EditingPane.java:211)
at gowrite.gui.TopFrame$PropertyEventHandler.propertyChange(TopFrame.java:46)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at gowrite.gui.FileView.firePropertyChange(FileView.java:41)
at gowrite.gui.FileView.setCurrentGame(FileView.java:112)
at gowrite.gui.FileView.setFile(FileView.java:125)
at gowrite.gui.TopFrame$PropertyEventHandler.propertyChange(TopFrame.java:43)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at gowrite.gui.FileOperations.firePropertyChange(FileOperations.java:421)
at gowrite.gui.FileOperations.setCurrentFile(FileOperations.java:917)
at gowrite.gui.FileOperations.openFile(FileOperations.java:687)
at gowrite.gui.TopFrame.loadInitialFile(TopFrame.java:321)
at gowrite.gui.FrameManager$createFrame.run(FrameManager.java:198)
at java.awt.event.InvocationEvent.dispatch(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)
robert jasiek
Re: Crash Upon Opening Second Instance
These two problems are due to same bug.
I will create corrected installation package later today.
- Lauri
I will create corrected installation package later today.
- Lauri
Re: Crash Upon Opening Second Instance
After some usage of the corrected GW version, it appears that indeed the bug has been fixed, thank you! Just curious: What kind of bug was it?
robert jasiek
Re: Crash Upon Opening Second Instance
Nothing interesting there ![Smile :)](./images/smilies/icon_smile.gif)
One method dealing with finding first free label in node was not handling null value.
- Lauri
![Smile :)](./images/smilies/icon_smile.gif)
One method dealing with finding first free label in node was not handling null value.
- Lauri