SmartTomcat: can't input Tomcat name and version in Settings with IDEA community version 2018.1.3 on Win10

Dev Environment

  • IntelliJ IDEA 2018.1.3 (Community Edition)
  • Build #IC-181.4892.42, built on May 8, 2018
  • JRE: 1.8.0_152-release-1136-b38 amd64
  • JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  • Window 10.0.15063, 64 bit.

Way of installation

the follow 2 ways have been tested both:

Issue

Global Tomcat Configuration can’t input Tomcat name and version in the Settings. The name in server list always shows “null” when a new Tomcat added. And the Settings Menu is also different from the https://plugins.jetbrains.com/plugin/9492-smart-tomcat page shows.

A NullPointerException throws after running project with the server above named “null”.

image

image

Is there anything I can do to run the project successfully? Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 30 (16 by maintainers)

Most upvoted comments

the space between Program Files may cause an issue, i suspect.

@nickmcsimpson I have try to load property file instead of executing java command to get tomcat info. I have build a new version in GitHub, will publish the plugin soon. could you try to download SmartTomcat-3.8.2 and install the plugin from disk?

Thanksss!! it does working now. 👍 😃 I install the plugin using SmartTomcat-3.8.2, as per your suggestion thanks in advancee

@nickmcsimpson I have try to load property file instead of executing java command to get tomcat info. I have build a new version in GitHub, will publish the plugin soon. could you try to download SmartTomcat-3.8.2 and install the plugin from disk?

Thanks for the help. After installing Tomcat into path without space, it works fine.

I managed to reproduce the error on Mac OSX. It happens when there is space in the tomcat path.