shuzijun/plantuml-parser

Failed to generate in Android Studio Hedgehog

Closed this issue · 3 comments

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. select kotlin files and generate diagram from context submenu.
  2. See error pop up.

Software versions(Help -> About)

  • Product: Android Studio Hedgehog | 2023.1.1 Patch 1
  • Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 x86_64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • OS: MacOs 13.6.3

The error said:

Cannot invoke "org.jetbrains.kotlin.name.Name.asString()" because the return value of "org.jetbrains.kotlin.resolve.ImportPath.getImportedName()" is null

Can you provide the source code file that generates the error? If privacy is involved, can you provide sample code?

Can you provide the source code file that generates the error? If privacy is involved, can you provide sample code?

FYI

package com.tools.version.base

import com.android.build.gradle.*
import com.tools.version.exts.hasAndroidPlugin
import com.tools.version.exts.mergeFeatureSourceSets
import org.gradle.api.Plugin
import org.gradle.api.Project

class VersionPlugin : Plugin<Project> {
  
}


Known issues: "import com.android.build.gradle.*" cannot resolve dependencies