Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4914

Annotation Viewer StackOverflowError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.8.1SDK
    • None
    • Tools
    • None
    • OS X, JDK 8

    Description

      Multiple view CASes cause a infinite call loop.

      Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
      at javax.swing.SwingUtilities.layoutCompoundLabelImpl(SwingUtilities.java:975)
      at javax.swing.SwingUtilities.layoutCompoundLabel(SwingUtilities.java:890)
      at javax.swing.plaf.basic.BasicLabelUI.layoutCL(BasicLabelUI.java:94)
      at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(BasicLabelUI.java:238)
      at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
      at com.apple.laf.AquaComboBoxRendererInternal.getPreferredSize(AquaComboBoxRendererInternal.java:59)
      at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1363)
      at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1311)
      at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2623)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
      at javax.swing.DefaultListSelectionModel.insertIndexInterval(DefaultListSelectionModel.java:632)
      at javax.swing.plaf.basic.BasicListUI$Handler.intervalAdded(BasicListUI.java:2581)
      at javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:148)
      at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:129)
      at javax.swing.JComboBox.addItem(JComboBox.java:716)
      at org.apache.uima.tools.viewer.CasAnnotationViewer.initializeSofaSelectionPanel(CasAnnotationViewer.java:1062)
      at org.apache.uima.tools.viewer.CasAnnotationViewer.setCAS(CasAnnotationViewer.java:1033)
      at org.apache.uima.tools.viewer.CasAnnotationViewer$4.itemStateChanged(CasAnnotationViewer.java:363)
      at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
      at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
      at javax.swing.JComboBox.contentsChanged(JComboBox.java:1330)
      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:1062)

      Call loop continues after this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bknoll Ben Knoll
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: