java.lang.BootstrapMethodError

call site initialization exception

Solutions on the web50

  • call site initialization exception
  • call site initialization exception
  • via GitHub by orfjackal
    , 1 year ago
    call site initialization exception
  • Stack trace

    • java.lang.BootstrapMethodError: call site initialization exception at java.lang.invoke.CallSite.makeSite(CallSite.java:341) at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307) at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297) at com.satso.common.util.LambdaStreamTest.main(SourceFile:14) Caused by: java.lang.invoke.LambdaConversionException: Incorrect number of parameters for static method invokeStatic com.satso.common.util.LambdaStreamTest.a:()String; 0 captured parameters, 1 functional interface method parameters, 0 implementation parameters at java.lang.invoke.AbstractValidatingLambdaMetafactory.validateMetafactoryArgs(AbstractValidatingLambdaMetafactory.java:193) at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:303) at java.lang.invoke.CallSite.makeSite(CallSite.java:302) ... 3 more

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.