|
|
|
Hi Steve,
yes, as I tried to state in the title of the issue, I changed the name of the Category in the "Administration > Plugin > Custom Statistics configuration", because the name initially chosen (for a first prototype) was not really appropriate. Please also note that shortly afterwards I also sent a bug report from QB usage with respect to dashboard that was also suffering from this change (so there was already a dashboard using this Category, when I renamed it). And I must admit the damage was more severe in the later scenario, because I could not open the dashboard anymore... Hope that helps, Reinhold Hi,
What kind of operation did you do? Changing the name of a category? When changing a category's name, below error will be reported: ERROR - Step 'master>Publish Custom Stats' is failed. java.lang.NullPointerException: category [my junit] does not exist at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:208) at com.pmease.quickbuild.plugin.report.customstats.publisher.CustomStatsBuildStep.getCategory(CustomStatsBuildStep.java:180) at com.pmease.quickbuild.plugin.report.customstats.publisher.CustomStatsBuildStep$$EnhancerByCGLIB$$921645a2.CGLIB$getCategory$0(<generated>) at From the log, we can know the original category [my junit] doesn't exist. It is hard to update all corresponding steps in whole configuration tree when category name is changed here, because to iterate the whole configuration tree may take a very long time.
|
Thank you for updating. Yes, I have noticed the later scenario and it will be fixed in next patch release. Now, you have to rename back and remove the gadget first.