wuseal / JsonToKotlinClass

🚀 Plugin for Android Studio And IntelliJ Idea to generate Kotlin data class code from JSON text ( Json to Kotlin )
GNU General Public License v3.0
3.1k stars 176 forks source link

If the class already exists then the plugin makes Android Studio crashes #332

Open sudhirkhanger opened 3 years ago

sudhirkhanger commented 3 years ago

As the title says, if the class/file exists and if I try to readd the file then Android Studio freezes and doesn't come out of it. Please let me know details you would need to help resolve this issue.

Android Studio 4.1.2
Build #AI-201.8743.12.41.7042882, built on December 20, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.10.19-200.fc33.x86_64
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=true
Non-Bundled Plugins: Keymap exporter, org.intellij.plugins.markdown, org.jetbrains.kotlin, com.jetbrains.packagesearch.intellij-plugin, com.paperetto.dash, com.developerphil.adbidea, wu.seal.tool.jsontokotlin
Current Desktop: KDE
wuseal commented 3 years ago

Hi @sudhirkhanger, Thanks for your feedback, can you please help paste the error stack trace in AS here?

sudhirkhanger commented 3 years ago

idea.log threadDump-20210309-112849.txt threadDump-20210309-112854.txt threadDump-20210309-112859.txt threadDump-20210309-112904.txt threadDump-20210309-112909.txt threadDump-20210309-112914.txt threadDump-20210309-112919.txt threadDump-20210309-112924.txt threadDump-20210309-112929.txt