Code Monkey home page Code Monkey logo

plantuml-parser's Introduction

Hi there 👋

Top Langs

plantuml-parser's People

Contributors

cathylee12 avatar espertus avatar imyuyu avatar shuzijun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

plantuml-parser's Issues

hope to support kotlin

Desc
Start a discussion or ask for help

Software versions(Help -> About)(Optional)

  • Product: [e.g IDEA 2020.2]
  • Runtime version:[e.g 11.0.7+10-b944.20 amd64]
  • VM:[e.g OpenJDK 64-Bit Server VM by JetBrains s.r.o.]
  • OS:[e.g Windows 10]

Question(Optional)

  • URL:[e.g leetcode.com]
  • Code Type:[e.g JAVA]
  • code:
    
    

Exception when parsing a complex-ish project

com.github.javaparser.ParseProblemException: (line 47,col 28) Text Block Literals are not supported.

at com.github.javaparser.JavaParserAdapter.handleResult(JavaParserAdapter.java:83) at com.github.javaparser.JavaParserAdapter.parse(JavaParserAdapter.java:95) at com.github.javaparser.StaticJavaParser.parse(StaticJavaParser.java:141) at com.shuzijun.plantumlparser.core.ParserProgram.execute(ParserProgram.java:42) at com.shuzijun.plantumlparser.plugin.action.ParserProgramAction.actionPerformed(ParserProgramAction.java:59) at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:339) at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:313) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:362) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:313) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$performAction$5(ActionMenuItem.java:300) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:226) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction(ActionMenuItem.java:293) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$new$0(ActionMenuItem.java:68) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$4(ActionMenuItem.java:115) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:115) at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:526) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:558) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385) at java.desktop/java.awt.Component.processEvent(Component.java:6422) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4954) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4581) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4522) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2808) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:690) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:638) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:592) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:997) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:997) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to parse https://github.com/Oleguito/project-tg-bot-wishlist
  2. See error

Software versions(Help -> About)

  • Product: IDEA 2023.2.5
  • Runtime version: 17.0.9+7-b1000.46 amd64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • OS: Windows 10

能否增加文件路径的选择?

您好,使用了这个插件感觉方便很多。但是有几个点感觉从体验上感觉不太方便

  • 能否增加文件选择?现在maven多模块下默认定位到根下了,体验不是很好
  • 能否自动带出注释?

Add support for record classes

The record keyword, added in Java 14, is not supported. I would be willing to try adding it if you don't want to do it yourself.

Doesn't generate enums

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when I parse the PUML file. THere's no option to do enumerator as well.

Describe the solution you'd like
A clear and concise description of what you want to happen. A option to also parse enums and the relations.

Additional context
Add any other context or screenshots about the feature request here.

Failed to generate in Android Studio Hedgehog

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

add contextmenu "PlantUML Parser" in the Find-result-view

As a Java-Developer i want to see a graphical display of all classes that implement a java interface.

Example usecase:

  • In the IDE i right-click on the interfacename and select "Find Usages"
  • In the Find-Result-Window I select "Usage in extends/implements clause.
  • It would be greate if i could call the contextmenu "PlantUML Parser" from any tree node in Find-Results-View that only consists of those classes in the Find-Result

Currently the contextmenu "PlantUML Parser" is only available in the Project-Structure-Tree-View

Ask to create folder (and subfolders) when using an non-existing directory.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when I first have to create a folder for the plugin to put a file in.

Describe the solution you'd like
Check if folder exist: if not: Ask the user to create non-existing folder.
Create folder(s) according to input from directory input field.
Save .puml file in said directory.

Additional context
Add any other context or screenshots about the feature request here.

能否增加文件路径的选择?

您好,使用了这个插件感觉方便很多。但是有几个点感觉从体验上感觉不太方便

  • 能否增加文件选择?现在maven多模块下默认定位到根下了,体验不是很好
  • 能否自动带出注释?

[JavaParser] Can't parse file with 'try with resource'

Describe the bug
Parsing a Java file which includes a try with resource throws this Exception:

com.github.javaparser.ParseProblemException: (line 34,col 9) Try with resources only supports variable declarations.

	at com.github.javaparser.StaticJavaParser.handleResult(StaticJavaParser.java:260)
	at com.github.javaparser.StaticJavaParser.parse(StaticJavaParser.java:128)
	at com.shuzijun.plantumlparser.core.ParserProgram.execute(ParserProgram.java:31)
	at com.shuzijun.plantumlparser.plugin.action.ParserProgramAction.actionPerformed(ParserProgramAction.java:52)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:281)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:310)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:286)
	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:77)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:299)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:110)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:95)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:110)
	at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:514)
	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:544)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
	at java.desktop/java.awt.Component.processEvent(Component.java:6417)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:976)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:911)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:840)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:507)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

I found this Issue on their Github with a way to fix it: javaparser/javaparser#1361
I may look further into how to configure the Java Version when I have the time.

I also found this one: com.github.javaparser.ParseProblemException: (line 32,col 20) Switch expressions are not supported.
Unfortunately I do not know which file causes it because the stacktrace does not log it.

To Reproduce
Steps to reproduce the behavior:

  1. Create Java Class with try with resource
try (BufferedReader br = new BufferedReader(new InputStreamReader(client.getInputStream()))) {
            .....
        }
  1. Generate PlantUML file

Software versions(Help -> About)

  • Product: [IDEA 2020.3]
  • Runtime version:[e.g 11.0.7+10-b944.20 amd64]
  • VM:[OpenJDK 64-Bit Server VM by JetBrains s.r.o.]
  • OS:[Windows 10]

Btw cool Plugin 🥳

Kotlin - Generic Arguments are not able to be viewed - Syntax Error?

Describe the bug
After generating the puml file, errors come up for 'Syntax Error?'
This seems to be due to the Class Generic Arguments.

Example - Code:
DataRepository<T> - Generic
class StringDataRepository : DataRepository<String>

Example - Generated PUML
DataRepository<String> <|.. StringDataRepository Typed Generic linking to the subclass -- Getting errors here

To Reproduce
Steps to reproduce the behavior:

  1. Setup a Generic Data Type -- if it is just to test the parser, maybe skip this step.
  2. Implement a Subclass that uses the Generic Class and a specific Data Type, i.e. String
  3. Verify that the class is similar to class StringDataRepository : DataRepository<String>
  4. Run the UML Generation
  5. Verify that the error has occurred - Green UML Error Screen, instead of actual UML Diagram

I tried this with just the above example it seemed to show the error.

Software versions(Help -> About)

  • Product: IDEA 2023.2.4 CE
  • Runtime version: 17.0.8.1+7-b1000.32 amd64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • OS: Windows 10

How to change export directory of puml?

Desc

How to change directory of output puml? I can't find it anywhere.

Software versions(Help -> About)(Optional)

  • Product: [e.g IDEA 2020.2]
  • Runtime version:[e.g 11.0.7+10-b944.20 amd64]
  • VM:[e.g OpenJDK 64-Bit Server VM by JetBrains s.r.o.]
  • OS:[e.g Windows 10]

Question(Optional)

  • URL:[e.g leetcode.com]
  • Code Type:[e.g JAVA]
  • code:
    
    

java inner class issue

Describe the bug
below class definition will lead an error: bad hierarchy for class CustomSqlValidator.LazyHolder

class CustomSqlValidator.LazyHolder {

  • {static} CustomSqlValidator INSTANCE
    }

Software versions(Help -> About)

  • IDEA 2023.1
  • parser version: 0.04

Generate Constructors

Great program, it would be nice if this plugin generated Constructors, for example the following code:

class Example {
    public int x;

    Example(int x) {
        this.x = x;
    }

}

Becomes:

class Empresa.Example {
+ int x
}

When it could be for example:

class Empresa.Example {
+ int x
+ <<Create>> Example(x: int)
}

Also see: https://www.omg.org/spec/UML/2.5.1/PDF page 240/198

UML can't be rendered bc plugin generates attached `note top of..` after the relevant object.

Describe the bug
Plugin generates attached note after the relevant object. As result, instead of diagrams only green text is rendered and "syntax" warning is reported at closing tag end note saying " "
A clear and concise description of what the bug is.

This is what plugin generates and it doesn't get rendered properly;

'this the object
class com.example.app.ui.MainActivity{
}
'the note with syntax warning
note top of com.example.app.ui.MainActivity
 Comets from java code are shown here.
end note

This is how it can be fixed by switching positions of ;

'the note with syntax warning
note top of com.example.app.ui.MainActivity
 Comets from java code are shown here.
end note

'this the object
class com.example.app.ui.MainActivity{
}
'the note with syntax warning
note top of com.example.app.ui.MainActivity
 Comets from java code are shown here.
end note

To Reproduce
Steps to reproduce the behavior:

  1. Go to Project tree
  2. Right click on any packages that includes multiple sub-packages and/or classes with comments / javadocs
  3. click PlantUML parser and generate uml
  4. Open generated uml in Intellij / Android Studio rendered view
  5. Instead of diagrams , there's only green text and uml code reports systax error at first problematic note top of... note end
    Note: Only some of the notes are generated this (incorrect) way.

Software versions(Help -> About)

  • Product: Android Studio Hedgehog | 2023.1.1 Patch 2
  • Runtime version: 17.0.7+0-b2043.56-10550314 amd64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

If i misunderstood the functionally accept my apology and feel free to close the issue.

Displaying default constructors

I would like to display the default constructors in the diagram, as well, for the consistency. If you agree, I can try to add the feature.

Get com.github.javaparser.ParseProblemException while parsing more than one package

Describe the bug
If I try parse couple packages or whole project i get:

com.github.javaparser.ParseProblemException: (line 92,col 13) Only one label allowed in a switch-case.

	at com.github.javaparser.JavaParserAdapter.handleResult(JavaParserAdapter.java:83)
	at com.github.javaparser.JavaParserAdapter.parse(JavaParserAdapter.java:95)
	at com.github.javaparser.StaticJavaParser.parse(StaticJavaParser.java:141)
	at com.shuzijun.plantumlparser.core.ParserProgram.execute(ParserProgram.java:42)
	at com.shuzijun.plantumlparser.plugin.action.ParserProgramAction.actionPerformed(ParserProgramAction.java:59)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:344)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:318)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:381)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:318)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction$lambda$5(ActionMenuItem.kt:273)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:222)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction(ActionMenuItem.kt:261)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem._init_$lambda$0(ActionMenuItem.kt:68)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed$lambda$4(ActionMenuItem.kt:103)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:95)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.kt:102)
	at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:522)
	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:555)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385)
	at java.desktop/java.awt.Component.processEvent(Component.java:6422)
	at java.desktop/java.awt.Container.processEvent(Container.java:2266)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4969)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4583)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4524)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2809)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)
	at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
	at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:695)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:635)
	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:580)
	at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:75)
	at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:67)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:580)
	at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:72)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:355)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:354)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:793)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:354)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:349)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1014)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1014)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:349)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:848)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:391)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

To Reproduce
Steps to reproduce the behavior:

  1. Invoke context menu on project package (e.g. com.example) containing other packages
  2. Click on 'Plant UML Parser'
  3. See error

Software versions(Help -> About)
IntelliJ IDEA 2023.3.1 (Community Edition)
Build #IC-233.11799.300, built on December 12, 2023
Runtime version: 17.0.9+7-b1087.7 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Non-Bundled Plugins:
com.codeium.intellij (1.6.11)
Lombook Plugin (233.11799.300)
PlantUML integration (7.3.0-IJ2023.2)
plantuml-parser (0.0.7)
com.kn.diagrams.generator.generator (2022.2.0)
cn.yiiguxing.plugin.translate (3.5.6)
Kotlin: 233.11799.300-IJ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.