java.lang.IllegalStateException

Duplicate key Investment{amountDue=null, currentTerm=34, dpd=0, interestRate=0.084900, loanName='Refinancování půjček', loanTermInMonth=34, rating=AA, paymentStatus='OK'} extends BaseInvestment{id=258751, loanId=42893, amount=200}

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 web20

  • Stack trace

    • java.lang.IllegalStateException: Duplicate key Investment{amountDue=null, currentTerm=34, dpd=0, interestRate=0.084900, loanName='Refinancování půjček', loanTermInMonth=34, rating=AA, paymentStatus='OK'} extends BaseInvestment{id=258751, loanId=42893, amount=200} at java.util.stream.Collectors.lambda$throwingMerger$0(Collectors.java:133) at java.util.HashMap.merge(HashMap.java:1253) at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320) at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.github.triceo.robozonky.Investor.mergeInvestments(Investor.java:67) at com.github.triceo.robozonky.Investor.invest(Investor.java:213) at com.github.triceo.robozonky.app.App.invest(App.java:171) at com.github.triceo.robozonky.app.App.core(App.java:72) at com.github.triceo.robozonky.app.App.main(App.java:87)

    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

    osvzsosvzs
    Once,
    serious2monkeysserious2monkeys
    8 times, last one
    Unknown visitor
    Unknown visitorOnce,
    regissoregisso
    715 times, last one