我正面临这个错误,我不知道如何调试它。问题的总结是,我必须得到流的最小值和最大值。我不能使用集合,而且流必须是可并行的。此外,流是一个参数,因此不能重复。我不是在要求一个解决方案,而是这个错误意味着什么。 final int min, max;
if(instream.count() > 0) {
Optional<MinMax> ans =
我拿到了IllegalStateException & InvocationTargetException.但是没有提示哪个代码会产生这些错误。java.lang.IllegalStateException:
at android.view.View$DeclaredOnClickListener.onClick(View.java:4710
org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project configurator: Can not execute Sonar: IllegalStateExceptionorg.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)Caused by: java.lang.IllegalStateException