java.lang.IllegalArgumentException

expected one element but was: <null, null, null, null, null, ...>

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via Unknown by Benjamin Bentmann,
  • via GitHub by gdhruv80
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: expected one element but was: <null, null, null, null, null, ...> at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:322)[com.google.guava:20.0.0] at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:294)[com.google.guava:20.0.0] at org.sonatype.nexus.repository.browse.internal.BrowseServiceImpl.getCount(BrowseServiceImpl.java:192)[na:na] at org.sonatype.nexus.repository.browse.internal.BrowseServiceImpl.browseComponents(BrowseServiceImpl.java:95)[na:na] at org.sonatype.nexus.repository.browse.BrowseService$browseComponents.call(Unknown Source)[na:na] at org.sonatype.nexus.coreui.ComponentComponent.read(ComponentComponent.groovy:126)[na:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    arturgajowyarturgajowy
    Once,
    Unknown visitor
    Unknown visitorOnce,