Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-1583

Taxonomy: IndexOutOfBoundsException within taxonomy tree

    XMLWordPrintable

Details

    Description

      IndexOutOfBoundsException occurs when editing a taxonomy from the CMS:

      • add taxonomy item
      • use Save rather then Save & Close
      • add subitem
      [INFO] [talledLocalContainer] Caused by: java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
      [INFO] [talledLocalContainer]   at java.util.LinkedList.checkElementIndex(LinkedList.java:555) ~[?:1.8.0_181]
      [INFO] [talledLocalContainer]   at java.util.LinkedList.get(LinkedList.java:476) ~[?:1.8.0_181]
      [INFO] [talledLocalContainer]   at org.onehippo.taxonomy.plugin.tree.AbstractNode.getChildAt(AbstractNode.java:95) ~[hippo-plugin-taxonomy-addon-frontend-4.5.0.jar:4.5.0]
      [INFO] [talledLocalContainer]   at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree.isNodeLast(DefaultAbstractTree.java:572) ~[wicket-extensions-6.29.0.jar:6.29.0]
      [INFO] [talledLocalContainer]   at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree.access$000(DefaultAbstractTree.java:59) ~[wicket-extensions-6.29.0.jar:6.29.0]
      [INFO] [talledLocalContainer]   at org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree$1.onComponentTagBody(DefaultAbstractTree.java:258) ~[wicket-extensions-6.29.0.jar:6.29.0]
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71) ~[wicket-core-6.29.0.jar:6.29.0]
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2537) ~[wicket-core-6.29.0.jar:6.29.0]
      [INFO] [talledLocalContainer]   ... 61 more
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: