FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    FAF Client errors in map search

    Scheduled Pinned Locked Moved Game Issues and Gameplay questions
    5 Posts 3 Posters 291 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      NightSkye
      last edited by NightSkye

      java.util.concurrent.CompletionException: org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request: [{"errors":[{"detail":"Invalid value: 5.0"}]}]
      	at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:279)
      	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
      	at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request: [{"errors":[{"detail":"Invalid value: 5.0"}]}]
      	at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:101)
      	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:186)
      	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125)
      	at com.faforever.client.api.JsonApiErrorHandler.handleError(JsonApiErrorHandler.java:31)
      	at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
      	at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818)
      	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776)
      	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
      	at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:333)
      	at com.faforever.client.api.FafApiAccessorImpl.getPageWithMeta(FafApiAccessorImpl.java:796)
      	at com.faforever.client.api.FafApiAccessorImpl.findMapsByQueryWithMeta(FafApiAccessorImpl.java:584)
      	at jdk.internal.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
      	at com.sun.proxy.$Proxy76.findMapsByQueryWithMeta(Unknown Source)
      	at com.faforever.client.remote.FafService.findMapsByQueryWithPageCount(FafService.java:378)
      	at com.faforever.client.remote.FafService$$FastClassBySpringCGLIB$$6c91c77e.invoke(<generated>)
      	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
      	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
      	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
      	at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
      	at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:276)
      	... 4 more
      
      1 Reply Last reply Reply Quote 0
      • J Offline
        Jugger
        last edited by

        Hello there, I was annoyed by the same problem and Investigated it.
        The Problem seems to be that the search function (for player Count selection) requires an Integer Value but gets a Float value due to the way the Selection slider is implemented. If you want to circumvent this problem tick the box "Display search query" then select the desired number of players. You will now see this command appearing in the query "(latestVersion.maxPlayers=ge="4.0";latestVersion.maxPlayers=le="10.0")" now simply remove the ".0" behind your desired Player numbers and hit search.

        I hope this might have been helpful to you.
        Best Regards Jugger

        1 Reply Last reply Reply Quote 0
        • G Offline
          GraveREAPER89
          last edited by

          java.util.concurrent.CompletionException: com.faforever.commons.api.dto.ApiException: cz.jirutka.rsql.parser.ParseException: Encountered "<EOF>" at line 1, column 33.
          Was expecting one of:
          <COMP_FIQL> ...
          <COMP_ALT> ...

          Invalid query parameter: filter
          at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
          at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:743)
          at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:731)
          at java.base/java.util.concurrent.CompletableFuture.thenAcceptAsync(CompletableFuture.java:2176)
          at com.faforever.client.vault.VaultEntityController.displayFromSupplier(VaultEntityController.java:259)
          at com.faforever.client.vault.VaultEntityController.onPageChange(VaultEntityController.java:249)
          at com.faforever.client.vault.VaultEntityController.lambda$initialize$6(VaultEntityController.java:138)
          at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:360)
          at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
          at javafx.beans.property.IntegerPropertyBase.fireValueChangedEvent(IntegerPropertyBase.java:107)
          at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:114)
          at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:148)
          at javafx.scene.control.Pagination.setCurrentPageIndex(Pagination.java:281)
          at com.faforever.client.vault.VaultEntityController.onFirstPageOpened(VaultEntityController.java:293)
          at com.faforever.client.vault.VaultEntityController.onSearch(VaultEntityController.java:300)
          at com.faforever.client.vault.search.SearchController.onSearchButtonClicked(SearchController.java:196)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:564)
          at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:76)
          at jdk.internal.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:564)
          at com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:273)
          at com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:83)
          at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1859)
          at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1729)
          at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
          at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
          at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
          at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
          at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
          at javafx.event.Event.fireEvent(Event.java:198)
          at javafx.scene.Node.fireEvent(Node.java:8886)
          at com.sun.javafx.scene.control.behavior.TextFieldBehavior.fire(TextFieldBehavior.java:154)
          at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.lambda$keyMapping$62(TextInputControlBehavior.java:332)
          at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)
          at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247)
          at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
          at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
          at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
          at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
          at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
          at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
          at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
          at javafx.event.Event.fireEvent(Event.java:198)
          at javafx.scene.Scene$KeyHandler.process(Scene.java:4064)
          at javafx.scene.Scene.processKeyEvent(Scene.java:2123)
          at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:2591)
          at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:217)
          at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(GlassViewEventHandler.java:149)
          at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
          at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$1(GlassViewEventHandler.java:248)
          at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
          at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:247)
          at com.sun.glass.ui.View.handleKeyEvent(View.java:547)
          at com.sun.glass.ui.View.notifyKey(View.java:971)
          at com.sun.jna.Native.invokeLong(Native Method)
          at com.sun.jna.Function.invoke(Function.java:427)
          at com.sun.jna.Function.invoke(Function.java:360)
          at com.sun.jna.Library$Handler.invoke(Library.java:244)
          at com.sun.proxy.$Proxy82.CallWindowProc(Unknown Source)
          at ch.micheljung.fxwindow.DecorationWindowProcedure.callback(DecorationWindowProcedure.java:122)
          at jdk.internal.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:564)
          at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:520)
          at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:551)
          at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
          at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
          at java.base/java.lang.Thread.run(Thread.java:832)
          Caused by: com.faforever.commons.api.dto.ApiException: cz.jirutka.rsql.parser.ParseException: Encountered "<EOF>" at line 1, column 33.
          Was expecting one of:
          <COMP_FIQL> ...
          <COMP_ALT> ...

          Invalid query parameter: filter
          at com.faforever.client.api.FafApiAccessor.lambda$retrieveMonoWithErrorHandling$14(FafApiAccessor.java:310)
          at reactor.core.publisher.Mono.lambda$onErrorMap$29(Mono.java:3309)
          at reactor.core.publisher.Mono.lambda$onErrorResume$31(Mono.java:3399)
          at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94)
          at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onError(FluxOnAssembly.java:392)
          at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onError(FluxMapFuseable.java:140)
          at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:119)
          at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1784)
          at reactor.core.publisher.MonoReduce$ReduceSubscriber.onComplete(MonoReduce.java:139)
          at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:142)
          at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:142)
          at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:259)
          at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:142)
          at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:383)
          at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:396)
          at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:452)
          at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:664)
          at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:94)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
          at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
          at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
          at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
          at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
          at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
          at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
          at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
          at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
          at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1533)
          at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282)
          at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1329)
          at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501)
          at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440)
          at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
          at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
          at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
          at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
          at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
          at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
          at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
          at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
          at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
          at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
          ... 1 more

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            GraveREAPER89
            last edited by

            void this post, got it to work

            1 Reply Last reply Reply Quote 0
            • G Offline
              GraveREAPER89 @GraveREAPER89
              last edited by

              @gravereaper89 nvm, it worked for a min then i started getting the errors again, even doing it the way that was explained, no new maps will come up, same for mods

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post