LMS 3.2 RME 4.3.1 EoS/EoL Report Error

Answered Question
Mar 2nd, 2010
User Badges:

I am trying to run an EOS/EOL Hardware report and I am getting an Apache Error.  The error is as follows:


HTTP Status 500 -


type Exception report

message

description The  server encountered an internal error () that prevented it from  fulfilling this request.

exception

java.lang.NullPointerException
     com.cisco.nm.cmf.security.Base64Encoder.<init>(Base64Encoder.java:236)
     com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction.perform(InventoryReportsAction.java:1326)
     org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
     org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
     com.cisco.nm.uii.UIIController.processActionForward(UIIController.java:380)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
     org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Anybody have any ideas?
     com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)

note The full stack trace of the root cause is  available in the Apache Tomcat/5.5.17 logs.

Correct Answer by Joe Clarke about 7 years 2 months ago

This will be something you will need to apply to RME.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Tue, 03/02/2010 - 12:27
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

It looks like the Cisco.com password was not passed to the report interface.

CJasztrabTMW Wed, 03/03/2010 - 06:32
User Badges:

Seems to be the issue. For some respon it's working now.  Of course now the report is failing.  Here is the invrepots.log clip from my attempt to run the report this morning.



[ Wed Mar 03  08:20:56 CST 2010 ],INFO ,[TP-Processor11],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,51,Connection is not null
[ Wed Mar 03  08:20:56 CST 2010 ],INFO ,[TP-Processor11],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,70,Number of templates returning: 1
[ Wed Mar 03  08:21:07 CST 2010 ],INFO ,[TP-Processor11],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,383,InventoryReportsAction Getting request params : ReportNAme: EoS/EoL Hardware ReportApp Name : Inventory
[ Wed Mar 03  08:21:07 CST 2010 ],INFO ,[TP-Processor11],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,392,Action of Filter is null
[ Wed Mar 03  08:21:07 CST 2010 ],INFO ,[TP-Processor11],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,45,called getCrtList to get list of Inventory Custom Templates
[ Wed Mar 03  08:21:07 CST 2010 ],INFO ,[TP-Processor11],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,51,Connection is not null
[ Wed Mar 03  08:21:07 CST 2010 ],INFO ,[TP-Processor11],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,70,Number of templates returning: 1
[ Wed Mar 03  08:21:58 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,383,InventoryReportsAction Getting request params : ReportNAme: EoS/EoL Hardware ReportApp Name : null
[ Wed Mar 03  08:21:58 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,392,Action of Filter is null
[ Wed Mar 03  08:21:58 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,911,Generate report Request from UI
[ Wed Mar 03  08:21:58 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,1320,Update user given cisco.com credentails
INFO ,2010-03-03 08:22:04,476,Response code:200
[ Wed Mar 03  08:22:04 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,1387,isValidUser is TRUE, Setting the session attribute 'rme_cco_profile'
[ Wed Mar 03  08:22:04 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.util.IRJobUtil,persistJob,201,new folder created for storing the job
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,,246,
  Starting the JOB 1311
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1506,
  Getting the job details from persisted Job
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1528,
  Job Details : EoS/EoL Hardware Report
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1530,
  Job is custom report : false
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1532,
  Job runtype : Immediate
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1534,
  Job date : 3-3-10  8:30
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1536,
  Job description : GET EOS EOL
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1538,
  Job E mail id : [email protected]
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1540,
  Job publish location :
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1542,
  Job template id : 0
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1544,
  Job job id : 1311
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1562,
  All the report properties read successfully from the job.
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,45,called getCrtList to get list of Inventory Custom Templates
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,61,[email protected]
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,203,
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,294,
 
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,314,
  Valid License.
  Proceeding with job execution.
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,334,
  Running Report job 1311    instance id 0
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,354,inside devsel flow
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,51,Connection is not null
[ Wed Mar 03  08:22:05 CST 2010 ],INFO ,[TP-Processor6],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,70,Number of templates returning: 1
[ Wed Mar 03  08:22:09 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,558,normal1
[ Wed Mar 03  08:22:09 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,600,successfully got predeployed devices
[ Wed Mar 03  08:22:09 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,606,submitted.length1
[ Wed Mar 03  08:22:09 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,generateReportData,1633,************before set device in gen rep data**********
[ Wed Mar 03  08:22:09 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,generateReportData,1639,************after set device in gen rep data*******
DEBUG,2010-03-03 08:22:10,025,Datagenerator class name is class com.cisco.nm.rmeng.inventory.reports.datagenerators.EOS_EOL_RDG
DEBUG,2010-03-03 08:22:10,026,Datagenerator class instance is  [email protected]7aa2a8
[ Wed Mar 03  08:22:10 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.util.db.DatabaseConnectionPool,getConnection,113,Inside ICSDatabaseConnection, MAX_COUNT =5
[ Wed Mar 03  08:27:12 CST 2010 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.datagenerators.EOS_EOL_RDG,getData,281,Exception while creating EOS_EOL reportcom.cisco.nm.rmeng.inventory.reports.util.IRException: Cisco.com Exception
    at com.cisco.nm.rmeng.inventory.reports.datagenerators.EOS_EOL_RDG.getData(EOS_EOL_RDG.java:234)
    at com.cisco.nm.rmeng.inventory.reports.datagenerators.DataGenRequestHandler.getData(DataGenRequestHandler.java:44)
    at com.cisco.nm.rmeng.inventory.reports.job.JobExecutor.generateReportData(JobExecutor.java:1693)
    at com.cisco.nm.rmeng.inventory.reports.job.JobExecutor.runReport(JobExecutor.java:894)
    at com.cisco.nm.rmeng.inventory.reports.job.JobExecutor.main(JobExecutor.java:2514)


[ Wed Mar 03  08:27:12 CST 2010 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,generateReportData,1709,IRException throwncom.cisco.nm.rmeng.inventory.reports.util.IRException: Cisco.com Exception
    at com.cisco.nm.rmeng.inventory.reports.datagenerators.EOS_EOL_RDG.getData(EOS_EOL_RDG.java:283)
    at com.cisco.nm.rmeng.inventory.reports.datagenerators.DataGenRequestHandler.getData(DataGenRequestHandler.java:44)
    at com.cisco.nm.rmeng.inventory.reports.job.JobExecutor.generateReportData(JobExecutor.java:1693)
    at com.cisco.nm.rmeng.inventory.reports.job.JobExecutor.runReport(JobExecutor.java:894)
    at com.cisco.nm.rmeng.inventory.reports.job.JobExecutor.main(JobExecutor.java:2514)


[ Wed Mar 03  08:27:12 CST 2010 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,generateReportData,1715,1Cisco.com exception
[ Wed Mar 03  08:27:12 CST 2010 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,1332,Report generation is not successful
[ Wed Mar 03  08:27:12 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,sendStatusMail,2022,
  Sending Job status to [email protected]
[ Wed Mar 03  08:27:12 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,sendStatusMail,2034,
  Sender is [email protected]
[ Wed Mar 03  08:27:12 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,sendStatusMail,2042,
  Receiver is [email protected]
[ Wed Mar 03  08:27:13 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,sendStatusMail,2184,
  Job status mailed to [email protected]
[ Wed Mar 03  08:27:13 CST 2010 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,1444,
  Job Details updated successfully.






any ideas?

Joe Clarke Wed, 03/03/2010 - 09:12
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

The PSIRT/EOX reports are currently broken on the Cisco.com side.  We expect a patch to be posted to Cisco.com to correct this on or before March 16.

CJasztrabTMW Wed, 03/03/2010 - 09:45
User Badges:

Thanks... that makes sense because I can't access the links either.  Will I need to patch my RME or is the patch going to be applied to cisco.com?

Correct Answer
Joe Clarke Wed, 03/03/2010 - 09:47
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This will be something you will need to apply to RME.

Actions

This Discussion