SNMP Fails With Null Pointer Exception in AppManager7
I can connect to my Linux server with snmptest from a remote host. I have validated and revalidated my community string is correct. When I attempt to register the server with the SNMP community string, I see the following entry in the STDERR output file:
22 May 2007 11:35:09:577 java.lang.NullPointerException
22 May 2007 11:35:09:577 at com.adventnet.appmanager.server.discovery.HostDiscoveryHandler.discoverHost(HostDiscoveryHandler.java:211)
22 May 2007 11:35:09:578 at com.adventnet.appmanager.struts.actions.AdminActions.configureHostDiscovery(AdminActions.java:2799)
22 May 2007 11:35:09:578 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22 May 2007 11:35:09:578 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
22 May 2007 11:35:09:578 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22 May 2007 11:35:09:578 at java.lang.reflect.Method.invoke(Unknown Source)
22 May 2007 11:35:09:578 at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
22 May 2007 11:35:09:578 at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
22 May 2007 11:35:09:578 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
22 May 2007 11:35:09:578 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
22 May 2007 11:35:09:578 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
22 May 2007 11:35:09:578 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
22 May 2007 11:35:09:578 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
22 May 2007 11:35:09:579 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
22 May 2007 11:35:09:579 at com.adventnet.appmanager.filter.AAMFilter.doFilter(AAMFilter.java:53)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
22 May 2007 11:35:09:579 at com.adventnet.nms.webclient.i18n.EncodingFilter.doFilter(EncodingFilter.java:70)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
22 May 2007 11:35:09:579 at com.adventnet.appmanager.filter.UriCollector.doFilter(UriCollector.java:215)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
22 May 2007 11:35:09:579 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
22 May 2007 11:35:09:579 at com.adventnet.appmanager.filter.LoadTimeCalculator.doFilter(LoadTimeCalculator.java:41)
22 May 2007 11:35:09:580 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
22 May 2007 11:35:09:580 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
22 May 2007 11:35:09:580 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
22 May 2007 11:35:09:580 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
22 May 2007 11:35:09:580 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
22 May 2007 11:35:09:580 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
22 May 2007 11:35:09:580 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
22 May 2007 11:35:09:580 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
22 May 2007 11:35:09:580 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
22 May 2007 11:35:09:580 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
22 May 2007 11:35:09:580 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
22 May 2007 11:35:09:580 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
22 May 2007 11:35:09:581 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
22 May 2007 11:35:09:581 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
22 May 2007 11:35:09:581 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
22 May 2007 11:35:09:581 at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
22 May 2007 11:35:09:595 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
22 May 2007 11:35:09:595 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
22 May 2007 11:35:09:595 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
22 May 2007 11:35:09:595 at com.adventnet.appmanager.tomcatagent.ver4.valve.AdventNetHostValve.invoke(AdventNetHostValve.java:61)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
22 May 2007 11:35:09:595 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
22 May 2007 11:35:09:596 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
22 May 2007 11:35:09:596 at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
22 May 2007 11:35:09:596 at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
22 May 2007 11:35:09:596 at java.lang.Thread.run(Unknown Source)
New to ADSelfService Plus?