Hari ini buka Intellij Idea Community edition versi seperti berikut:

IntelliJ IDEA 2019.2.1 (Community Edition)
Build #IC-192.6262.58, built on August 20, 2019
Runtime version: 11.0.3+12-b304.39 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1963M
Cores: 8
Registry: ide.tree.ui.experimental=false, ide.balloon.shadow.size=0
Non-Bundled Plugins: DBN, Lombook Plugin, MoreUnit, Native Neighbourhood, com.alexanderpa.flyway.migration.creator, com.github.ranzou06.javadoc, com.poratu.idea.plugins.tomcat, com.weirddev.testme, com.chrisrm.idea.MaterialThemeUI, izhangzhihao.rainbow.brackets, me.xdrop.night-owl, org.sonarlint.idea, training

Kemudian mulakan gradle explodeWar, kemudian cuba debug menggunakan Smart Tomcat tiba-tiba dapat error Error running 'Portal': java.lang.NullPointerException.

Melalui carian Google, cuma perlu edit dan apply run configuration untuk projeck tersebut.

Apakah halnya ni?

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000416199-Error-running-Tomcat-java-lang-NullPointerException 

5 September 2019 14:01, 20190905