java.lang.IllegalArgumentException: The 'no duplicates' constraint is violated

GitHub | NumberFourAG | 11 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    The 'no duplicates' constraint is violated

    at org.eclipse.emf.common.util.AbstractEList.set()
  2. org.eclipse.emf.common
    AbstractEList$EListIterator.set
    1. org.eclipse.emf.common.util.AbstractEList.set(AbstractEList.java:264)
    2. org.eclipse.emf.common.util.AbstractEList$EListIterator.doSet(AbstractEList.java:959)
    3. org.eclipse.emf.common.util.AbstractEList$EListIterator.set(AbstractEList.java:937)
    3 frames
  3. Java RT
    Collections.sort
    1. java.util.List.sort(List.java:482)
    2. java.util.Collections.sort(Collections.java:175)
    2 frames
  4. eu.numberfour.ide
    N4JSOrganizeImports.lambda$1
    1. eu.numberfour.ide.n4js.ui.organize.imports.N4JSOrganizeImports.sortByName(N4JSOrganizeImports.java:458)
    2. eu.numberfour.ide.n4js.ui.organize.imports.N4JSOrganizeImports.extractPureText(N4JSOrganizeImports.java:615)
    3. eu.numberfour.ide.n4js.ui.organize.imports.N4JSOrganizeImports.lambda$1(N4JSOrganizeImports.java:181)
    3 frames