Advertisement
zombiek

Untitled

Dec 28th, 2022
1,540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 3.56 KB | None | 0 0
  1.    
  2.  
  3. java.lang.ClassCastException: class java.lang.Integer cannot be cast to class tech.livecom.streams.stream.service.StreamViewersCountService$Counters (java.lang.Integer is in module java.base of loader 'bootstrap'; tech.livecom.streams.stream.service.StreamViewersCountService$Counters is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @6bc7c054)
  4.     at tech.livecom.streams.stream.service.StreamViewersCountService.totalViewersCount(StreamViewersCountService.kt:176)
  5.     at tech.livecom.streams.stream.service.StreamViewersCountService.getViewersCount(StreamViewersCountService.kt:100)
  6.     at tech.livecom.streams.stream.service.StreamViewersCountService$getViewersCounts$1.invoke(StreamViewersCountService.kt:92)
  7.     at tech.livecom.streams.stream.service.StreamViewersCountService$getViewersCounts$1.invoke(StreamViewersCountService.kt:87)
  8.     at tech.livecom.streams.stream.service.StreamViewersCountService.getViewersCounts$lambda$1(StreamViewersCountService.kt:87)
  9.     at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
  10.     at tech.livecom.streams.stream.service.StreamViewersCountService.getViewersCounts(StreamViewersCountService.kt:87)
  11.     at tech.livecom.streams.stream.service.StreamService.getStreamEvents(StreamService.kt:683)
  12.     at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
  13.     at java.base/java.lang.reflect.Method.invoke(Method.java:578)
  14.     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  15.     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:699)
  16.     at tech.livecom.streams.stream.service.StreamService$$SpringCGLIB$$0.getStreamEvents(<generated>)
  17.     at tech.livecom.streams.grpc.external.impl.LcStreamsServiceImpl.getStreamEvents(LcStreamsServiceImpl.kt:195)
  18.     at tech.livecom.mobile.grpc.lc.LcStreamsGrpcKt$LcStreamsCoroutineImplBase$bindService$4.invoke(LcStreamsServicesGrpcKt.kt:245)
  19.     at tech.livecom.mobile.grpc.lc.LcStreamsGrpcKt$LcStreamsCoroutineImplBase$bindService$4.invoke(LcStreamsServicesGrpcKt.kt:245)
  20.     at io.grpc.kotlin.ServerCalls$serverStreamingServerMethodDefinition$2$1$1.emit(ServerCalls.kt:144)
  21.     at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)
  22.     at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)
  23.     at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:87)
  24.     at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:66)
  25.     at io.grpc.kotlin.HelpersKt$singleOrStatusFlow$1$1.emit(Helpers.kt:65)
  26.     at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)
  27.     at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)
  28.     at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:87)
  29.     at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:66)
  30.     at io.grpc.kotlin.ServerCalls$serverCallListener$requests$1.invokeSuspend(ServerCalls.kt:228)
  31.     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
  32.     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
  33.     at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
  34.     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
  35.     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
  36.     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement