When I get the access token for the device, I get an error when I use Mqttbox to send telemetry to the device (using edge, I've made sure the same is possible on thingsboard) #26
Labels
question
Further information is requested
Description
When I get the access token for the device, I get an error when I use Mqttbox to send telemetry to the device (using edge, I've made sure the same is possible on thingsboard) please help me !!
detail
2022-09-16 00:23:08,320 [ts-service-ts-callback-24-thread-1] WARN o.t.s.s.action.EntityActionService - [fbd5dcd0-350c-11ed-8217-7bf37942aed4] Failed to push entity action to rule engine: ATTRIBUTES_UPDATED (not only this)
java.lang.NullPointerException: null
at org.thingsboard.server.queue.discovery.HashPartitionService.resolve(HashPartitionService.java:202)
at org.thingsboard.server.queue.discovery.HashPartitionService.resolve(HashPartitionService.java:188)
at jdk.internal.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy239.resolve(Unknown Source)
at org.thingsboard.server.service.queue.DefaultTbClusterService.pushMsgToRuleEngine(DefaultTbClusterService.java:189)
at org.thingsboard.server.service.action.EntityActionService.pushEntityActionToRuleEngine(EntityActionService.java:206)
at org.thingsboard.server.service.action.EntityActionService.logEntityAction(EntityActionService.java:219)
at org.thingsboard.server.service.entitiy.DefaultTbNotificationEntityService.logEntityAction(DefaultTbNotificationEntityService.java:95)
at org.thingsboard.server.service.entitiy.DefaultTbNotificationEntityService.logEntityAction(DefaultTbNotificationEntityService.java:68)
at org.thingsboard.server.controller.TelemetryController.logAttributesUpdated(TelemetryController.java:906)
at org.thingsboard.server.controller.TelemetryController$3.onSuccess(TelemetryController.java:704)
at org.thingsboard.server.controller.TelemetryController$3.onSuccess(TelemetryController.java:701)
at org.thingsboard.server.service.telemetry.DefaultTelemetrySubscriptionService$4.onSuccess(DefaultTelemetrySubscriptionService.java:409)
at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1080)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
in src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java(line 192?)
public TopicPartitionInfo resolve(ServiceType serviceType, TenantId tenantId, EntityId entityId) {
return resolve(serviceType, null, tenantId, entityId);
}
in partitionSizesMap: size = 2 QK(Main,TB_CORE,system) and QK(Main,TB_VC_EXECUTOR,system)
Environment
The text was updated successfully, but these errors were encountered: