uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hector Liu <...@cs.cmu.edu>
Subject Uima Annotation Viewer view selection causing StackOverflow
Date Wed, 27 Jan 2016 23:48:59 GMT
Hi,

I've been using UIMA a lot recently, and I relied on the annotation viewer
to check my results. I've run the viewer without any problems for a while
but I got a StackOverFlow error recently. This is likely to be caused by my
recent Java update.

I am getting an StackOverFlow error when running the main class of
 org.apache.uima.tools.AnnotationViewerMain , my Java version output is as
followed:

java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

The following is a sample exception message. There seems to be infinite
loop of method calling between swing and the uima viewer. Any help or
suggestions will be appreciated.

Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
at sun.lwawt.macosx.CCursorManager.nativeGetCursorPosition(Native Method)
at sun.lwawt.macosx.CCursorManager.getCursorPosition(CCursorManager.java:54)
at sun.lwawt.LWCursorManager.updateCursorImpl(LWCursorManager.java:80)
at sun.lwawt.LWCursorManager.updateCursor(LWCursorManager.java:57)
at
sun.lwawt.LWComponentPeer.updateCursorImmediately(LWComponentPeer.java:896)
at java.awt.Component.updateCursorImmediately(Component.java:3137)
at java.awt.Container.validate(Container.java:1640)
at javax.swing.JViewport.validateView(JViewport.java:482)
at javax.swing.JViewport.scrollRectToVisible(JViewport.java:393)
at javax.swing.JComponent.scrollRectToVisible(JComponent.java:3109)
at javax.swing.JList.ensureIndexIsVisible(JList.java:1149)
at
javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:1144)
at
javax.swing.plaf.basic.BasicComboPopup.access$300(BasicComboPopup.java:63)
at
javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged(BasicComboPopup.java:981)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1329)
at
javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118)
at
javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93)
at
javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:131)
at javax.swing.JComboBox.addItem(JComboBox.java:716)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.initializeSofaSelectionPanel(CasAnnotationViewer.java:1069)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.setCAS(CasAnnotationViewer.java:1040)
at
org.apache.uima.tools.viewer.CasAnnotationViewer$4.itemStateChanged(CasAnnotationViewer.java:370)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1329)
at
javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118)
at
javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93)
at
javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:131)
at javax.swing.JComboBox.addItem(JComboBox.java:716)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.initializeSofaSelectionPanel(CasAnnotationViewer.java:1069)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.setCAS(CasAnnotationViewer.java:1040)
at
org.apache.uima.tools.viewer.CasAnnotationViewer$4.itemStateChanged(CasAnnotationViewer.java:370)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1329)
at
javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118)
at
javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:576)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:622)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.initializeSofaSelectionPanel(CasAnnotationViewer.java:1072)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.setCAS(CasAnnotationViewer.java:1040)
at
org.apache.uima.tools.viewer.CasAnnotationViewer$4.itemStateChanged(CasAnnotationViewer.java:370)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1329)
at
javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118)
at
javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:576)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:622)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.initializeSofaSelectionPanel(CasAnnotationViewer.java:1072)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.setCAS(CasAnnotationViewer.java:1040)
at
org.apache.uima.tools.viewer.CasAnnotationViewer$4.itemStateChanged(CasAnnotationViewer.java:370)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1329)
at
javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118)
at
javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:576)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:622)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.initializeSofaSelectionPanel(CasAnnotationViewer.java:1072)
at
org.apache.uima.tools.viewer.CasAnnotationViewer.setCAS(CasAnnotationViewer.java:1040)
at
org.apache.uima.tools.viewer.CasAnnotationViewer$4.itemStateChanged(CasAnnotationViewer.java:370)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1329)


Best,
Hector

-- 
Hector, Liu Zhengzhong

Ph.D candidate in Language and Information Technologies
Carnegie Mellon University

Mobile: +1-412-980-0646
LinkedIn: http://www.linkedin.com/pub/hector-zhengzhong-liu/23/115/406

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message