You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** message was redacted (original:1/22/161 submitted:1/7/42)
*** stacktrace was redacted (original:36/427/3376 submitted:38/449/3545)
*** exception class was changed or removed
Environments
Plugin version: 3.5.6
PyCharm 2023.2.4 (Professional Edition)
Build #PY-232.10203.26, built on November 1, 2023
Runtime version: 17.0.8.1+7-b1000.32 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Operating system: Windows 10.0
Last action id: $EditorTranslateAction
Stack Trace
Translation parsing failed[translate.microsoft]: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 72 path $[0].sourceText
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 72 path $[0].sourceText
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:397)
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at com.google.gson.Gson.fromJson(Gson.java:1227)
at com.google.gson.Gson.fromJson(Gson.java:1137)
at com.google.gson.Gson.fromJson(Gson.java:1047)
at com.google.gson.Gson.fromJson(Gson.java:1014)
at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslator.parseTranslation(MicrosoftTranslator.kt:65)
at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslator.access$parseTranslation(MicrosoftTranslator.kt:20)
at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslator$doTranslate$2.invoke(MicrosoftTranslator.kt:37)
at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslator$doTranslate$2.invoke(MicrosoftTranslator.kt:37)
at cn.yiiguxing.plugin.translate.trans.SimpleTranslateClient.parse(SimpleTranslateClient.kt:19)
at cn.yiiguxing.plugin.translate.trans.TranslateClient.execute(TranslateClient.kt:52)
at cn.yiiguxing.plugin.translate.trans.microsoft.MicrosoftTranslator.doTranslate(MicrosoftTranslator.kt:38)
at cn.yiiguxing.plugin.translate.trans.AbstractTranslator.translate(AbstractTranslator.kt:20)
at cn.yiiguxing.plugin.translate.trans.TranslateService$translate$$inlined$executeOnPooledThread$1.run(Applications.kt:179)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:272)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 72 path $[0].sourceText
at com.google.gson.stream.JsonReader.nextString(JsonReader.java:836)
at com.google.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:421)
at com.google.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:409)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
... 26 more
[Auto Generated Report]-=CD8F9933BCBB000A6A6CF120BDF526CA=-
Description
*** message was redacted (original:1/22/161 submitted:1/7/42)
*** stacktrace was redacted (original:36/427/3376 submitted:38/449/3545)
*** exception class was changed or removed
Environments
PyCharm 2023.2.4 (Professional Edition)
Build #PY-232.10203.26, built on November 1, 2023
Runtime version: 17.0.8.1+7-b1000.32 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Operating system: Windows 10.0
Last action id: $EditorTranslateAction
Stack Trace
Attachments
request.txt
translation.txt
The text was updated successfully, but these errors were encountered: