内网环境下 pilot怎么连接 Map、Tsa、Media、Wayline。连接失败
已完成我们是内网环境搭建的前后端。pilot登录成功
但是Map、Tsa、Media、Wayline这四个是没有连接成功。
第一连接Map提示异常
"kotlin.UninitializedPropertyAccessException: lateinit property mRetrofit has not been initialized\n\tat com.dji.industry.pilot.platform.component.network.http.HttpClientImpl.createApi(HttpClientImpl.kt:1)\n\tat com.dji.industry.pilot.platform.component.network.http.HttpClientImpl.getApi(HttpClientImpl.kt:1)\n\tat com.dji.industry.pilot.platform.component.map.DrawingServiceImpl.<init>(DrawingServiceImpl.java:5)\n\tat com.dji.industry.pilot.flightbase.map.drawing.data.MCSMapDataRepoImpl.g(MCSMapDataRepoImpl.java:1)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.q(ComponentsLoader.kt:6)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.o(ComponentsLoader.kt:14)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.h(ComponentsLoader.kt:1)\n\tat com.dji.industry.pilot.custom.js.PlatformJsMethod.loadComponent(PlatformJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:2)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:7)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.platformLoadComponent(OpenJsMethod.kt:1)\n\tat android.os.MessageQueue.nativePollOnce(Native Method)\n\tat android.os.MessageQueue.next(MessageQueue.java:336)\n\tat android.os.Looper.loop(Looper.java:174)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\n"
第二连接Tsa 提示
"kotlin.UninitializedPropertyAccessException: lateinit property mRetrofit has not been initialized\n\tat com.dji.industry.pilot.platform.component.network.http.HttpClientImpl.createApi(HttpClientImpl.kt:1)\n\tat com.dji.industry.pilot.platform.component.network.http.HttpClientImpl.getApi(HttpClientImpl.kt:1)\n\tat com.dji.industry.pilot.platform.component.tsa.TsaServiceImpl.<init>(TsaServiceImpl.java:3)\n\tat com.dji.industry.pilot.platform.component.tsa.TsaComponentImpl.g(TsaComponentImpl.kt:1)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.v(ComponentsLoader.kt:5)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.o(ComponentsLoader.kt:12)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.h(ComponentsLoader.kt:1)\n\tat com.dji.industry.pilot.custom.js.PlatformJsMethod.loadComponent(PlatformJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:2)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:7)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.platformLoadComponent(OpenJsMethod.kt:1)\n\tat android.os.MessageQueue.nativePollOnce(Native Method)\n\tat android.os.MessageQueue.next(MessageQueue.java:336)\n\tat android.os.Looper.loop(Looper.java:174)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\n"
第三连接Media提示
"kotlin.UninitializedPropertyAccessException: lateinit property mRetrofit has not been initialized\n\tat com.dji.industry.pilot.platform.component.network.http.HttpClientImpl.createApi(HttpClientImpl.kt:1)\n\tat com.dji.industry.pilot.platform.component.media.MediaServiceImpl.setHttpClient(MediaServiceImpl.java:2)\n\tat com.dji.industry.pilot.platform.component.media.MediaCloudComponentImpl.setHttpClient(MediaCloudComponentImpl.java:3)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.r(ComponentsLoader.kt:4)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.o(ComponentsLoader.kt:10)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.h(ComponentsLoader.kt:1)\n\tat com.dji.industry.pilot.custom.js.PlatformJsMethod.loadComponent(PlatformJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:2)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:7)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.platformLoadComponent(OpenJsMethod.kt:1)\n\tat android.os.MessageQueue.nativePollOnce(Native Method)\n\tat android.os.MessageQueue.next(MessageQueue.java:336)\n\tat android.os.Looper.loop(Looper.java:174)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\n"
第四 链接 Wayline提示
"kotlin.UninitializedPropertyAccessException: lateinit property mRetrofit has not been initialized\n\tat com.dji.industry.pilot.platform.component.network.http.HttpClientImpl.createApi(HttpClientImpl.kt:1)\n\tat com.dji.industry.pilot.platform.component.network.http.HttpClientImpl.getApi(HttpClientImpl.kt:1)\n\tat com.dji.industry.pilot.platform.component.mission.MissionServiceImpl.<init>(MissionServiceImpl.java:6)\n\tat com.dji.industry.pilot.missionflight.cloud.MissionCloudComponentImpl.setHttpClient(MissionCloudComponentImpl.java:1)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.t(ComponentsLoader.kt:4)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.o(ComponentsLoader.kt:4)\n\tat com.dji.industry.pilot.custom.component.ComponentsLoader.h(ComponentsLoader.kt:1)\n\tat com.dji.industry.pilot.custom.js.PlatformJsMethod.loadComponent(PlatformJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:2)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod$platformLoadComponent$1.invoke(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:7)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.invokeJsMethod(OpenJsMethod.kt:1)\n\tat com.dji.industry.pilot.custom.js.OpenJsMethod.platformLoadComponent(OpenJsMethod.kt:1)\n\tat android.os.MessageQueue.nativePollOnce(Native Method)\n\tat android.os.MessageQueue.next(MessageQueue.java:336)\n\tat android.os.Looper.loop(Looper.java:174)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\n"
请问这些问题如何处理
请先登录再写评论。
评论
9 条评论