zengkid / SmartTomcat

The Tomcat plugin for Intellij IDEA
Apache License 2.0
122 stars 56 forks source link

I am getting NullPointerException #130

Open madhur opened 2 weeks ago

madhur commented 2 weeks ago

Describe the bug After configuring SmartTomcat and hitting run on my application. I get this error

java. lang. NullPointerException: Cannot invoke "org. w3c. dom. Element. removeAttribute(String)" because "portE" is null

Screenshots If applicable, add screenshots to help explain your problem.

Intellij & SmartTomcat Version (Help -> About copy & paste below)

Build #IC-242.20224.419, built on August 19, 2024

Runtime version: 21.0.3+13-b509.4 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
tb12315 commented 2 weeks ago

你发的邮件我已经收到。会在近期内查看。

madhur commented 2 weeks ago

Looks duplicate of https://github.com/zengkid/SmartTomcat/issues/127 . I have did the workaround mentioned for now.