KB Article #180367
API Analytics fails to generate reports
Problem
API Analytics fails to generate reports and returns 500 Internal Server Error.
Traces show the below error while Analytics is starting up.
ERROR 17/Jun/2019:20:26:42.240 [f20a:000000000000000000000000] Failed to configure module: store+com.vordel.store.util.env.EnvExpandEntityStore@64a1923a Entitity={ Reporter ESPK = DEFAULT_PRIMARY_VordelReporter_7.5.3:2727985658309341066 with parent pk as DEFAULT_PRIMARY_VordelReporter_7.5.3:0 and fields as {smtpConnectionType=[smtpConnectionType{NONE}], dbConn=[dbConn{<key type='DbConnectionGroup'><id field='name' value='Database Connections'/><key type='DbConnection'><id field='name' value='Default Database Connection'/></key></key>}], dontDeleteIntermediaryFiles=[dontDeleteIntermediaryFiles{0}], smtpUsername=[smtpUsername{}], smtpPort=[smtpPort{25}], emailTo=[emailTo{}], runScheduledReport=[runScheduledReport{0}], generateProcessUser=[generateProcessUser{admin}], emailReports=[emailReports{0}], generateProcessPassword=[generateProcessPassword{Q0hBTkdFTUU=}], smtpHost=[smtpHost{}], name=[name{Reporter}], smtpPassword=[smtpPassword{}], emailFrom=[emailFrom{}], generateProcessTemp=[generateProcessTemp{/tmp}]} }:
java.lang.NullPointerException
at com.vordel.reporting.reporter.Reporter.configure(Reporter.java:252)
at com.vordel.precipitate.SolutionPack$ConfigModule.configure(SolutionPack.java:296)
at com.vordel.precipitate.SolutionPack.loadModules(SolutionPack.java:414)
at com.vordel.dwe.Service.refresh(Service.java:520)
at com.vordel.dwe.Service.<init>(Service.java:474)
Resolution
The Analytics needs to have a listener named, "Reporter HTTP Interface".
The above error occurs if the default listener is modified or removed.
So the resolution is to create a new listener with name "Reporter HTTP Interface" or rename an existing listener to "Reporter HTTP Interface" in the Analytics Fed and restart Analytics.