I encounter the same problem. Using Jenkins 1.451 with Mantis Plugin 0.21.
I think in my case this is an issue of using multi-configuration projects. If I configure a "normal" project using mantis, every thing works fine. But using a multi-configuration project (with one or two axis) I get the same exception.
Looking at the code, this could be a problem of "final MantisProjectProperty mpp = build.getParent().getProperty(MantisProjectProperty.class);". So the build.getParent() could be a problem when using multi-configuration projects. But I'm not sure. My Exception stack trace looks like this
ERROR: Publisher hudson.plugins.mantis.MantisIssueUpdater aborted due to exception
java.lang.NullPointerException
at hudson.plugins.mantis.Updater.findChangeSetsFromSCM(Updater.java:136)
at hudson.plugins.mantis.Updater.findChangeSets(Updater.java:120)
at hudson.plugins.mantis.Updater.perform(Updater.java:55)
at hudson.plugins.mantis.MantisIssueUpdater.perform(MantisIssueUpdater.java:53)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:653)
at hudson.model.Build$RunnerImpl.post2(Build.java:162)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:622)
at hudson.model.Run.run(Run.java:1434)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
0.10.1 is too old. use latest version. but I'm not sure that This plugin works on Hudson 2.2.0.