esteinberg / plantuml4idea

Intellij IDEA plugin for PlantUML
Apache License 2.0
633 stars 113 forks source link

exception run idea #324

Closed tzk007 closed 3 years ago

tzk007 commented 3 years ago

env: IntelliJ IDEA 2021.2.2 (Ultimate Edition) Build #IU-212.5284.40, built on September 14, 2021 Runtime version: 11.0.12+7-b1504.28 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 PlantUML integration (5.6.0)

and when I used PlantUML integration (5.5.1) , he works fine.

It's detail: image java.nio.charset.IllegalCharsetNameException: at java.base/java.nio.charset.Charset.checkName(Charset.java:296) at java.base/java.nio.charset.Charset.lookup2(Charset.java:482) at java.base/java.nio.charset.Charset.lookup(Charset.java:462) at java.base/java.nio.charset.Charset.forName(Charset.java:526) at net.sourceforge.plantuml.utils.CharsetUtils.charsetOrDefault(CharsetUtils.java:16) at net.sourceforge.plantuml.SourceStringReader.(SourceStringReader.java:91) at net.sourceforge.plantuml.SourceStringReader.(SourceStringReader.java:87) at org.plantuml.idea.adapter.rendering.PlantUmlRendererUtil.newSourceStringReader(PlantUmlRendererUtil.java:80) at org.plantuml.idea.adapter.rendering.DiagramFactory.create(DiagramFactory.java:46) at org.plantuml.idea.adapter.rendering.PlantUmlNormalRenderer.doRender(PlantUmlNormalRenderer.java:20) at org.plantuml.idea.adapter.rendering.PlantUmlRendererUtil.render(PlantUmlRendererUtil.java:51) at org.plantuml.idea.adapter.FacadeImpl.render(FacadeImpl.java:83) at org.plantuml.idea.rendering.RenderCommand.render(RenderCommand.java:143) at org.plantuml.idea.rendering.LazyApplicationPoolExecutor$MyRunnable.run(LazyApplicationPoolExecutor.java:130) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)

krasa commented 3 years ago

please check what you have in settings image