Skip to content

TabBarView.removeTab throws NoSuchElementException if there are no tabs left in the tab bar #415

@vaadin-bot

Description

@vaadin-bot

Originally by mvysny2


Calling TabBarView.removeTab on the last tab fails:

java.util.NoSuchElementException
    at java.util.LinkedList$ListItr.next(LinkedList.java:890)
    at com.vaadin.addon.touchkit.ui.TabBarView.removeTab(TabBarView.java:124)

Touchkit 4.1.0.rc1


Imported from https://dev.vaadin.com/ issue #19499

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions