on 08-18-2008 10:27 AM
Hi all,
I have an external JMX client which connects successfully to SAP WAS 7.0 and i am trying to add notificaition listener to the Mbeans in my JMX client (SAPNWServerConnection.java).
But it throws nullpointer exception as mentioned in this below thread.
Below is the stack traceof the error
java.lang.RuntimeException: java.lang.NullPointerException
at com.wipro.wipdesk.core.modules.sapnw.SAPNWServerConnection.addNotific
ationListener(SAPNWServerConnection.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.wipro.wipdesk.core.management.ServerConnectionProxy.invoke(Server
ConnectionProxy.java:65)
at $Proxy0.addNotificationListener(Unknown Source)
at com.wipro.wipdesk.core.alert.source.GaugeAlertSource.registerInternal
(GaugeAlertSource.java:112)
at com.wipro.wipdesk.core.alert.source.MBeanAlertSource.connectionOpen(M
BeanAlertSource.java:77)
at com.wipro.wipdesk.core.alert.source.MBeanAlertSource.access$500(MBean
AlertSource.java:33)
at com.wipro.wipdesk.core.alert.source.MBeanAlertSource$EstablishConnect
ion.run(MBeanAlertSource.java:164)
Caused by: java.lang.NullPointerException
at com.sap.engine.services.jmx.MBeanServerConnectionImpl.addNotification
Listener(MBeanServerConnectionImpl.java:557)
at com.wipro.wipdesk.core.modules.sapnw.SAPNWServerConnection.addNotific
ationListener(SAPNWServerConnection.java:53)
... 10 more
Aug 18, 2008 11:58:55 AM com.wipro.wipdesk.core.alert.source.MBeanAlertSource co
nnectionOpen
Any clue on how to solve this issue.?
Thanks in advance,
Siva
Helpful answer will sure be appreciated.
Hellop Siva,
while I can not give you a solution I would like to know what client you are using? Is t something selfwritten or some commercial product?
Regards,
Andi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.