NullPointerException thrown when trying to stop the ESB server for the second 
time through the Jconsole
-------------------------------------------------------------------------------------------------------

                 Key: ESBJAVA-504
                 URL: https://wso2.org/jira/browse/ESBJAVA-504
             Project: WSO2 ESB
          Issue Type: Bug
    Affects Versions: NIGHTLY
         Environment: Ubuntu7.10, JDK1.5.0_14
            Reporter: Evanthika Amarasiri
            Assignee: Ruwan Linton
            Priority: Minor


Steps to reproduce

1. Started the ESB server and connected to the Jconsole
2. Go to MBeans -> org.wso2.esb -> Admin -> ServerAdmin -> Operations
3. Click on the button "stop" and it will stop the ESB server. If you click on 
the stop button once more you will get the following exception

*******************************************************************************************************************************************
2008-05-29 17:00:56,231 [-] [RMI TCP Connection(3)-127.0.1.1] ERROR 
ServerManager Error stopping the ServerManager
java.lang.NullPointerException
        at 
org.apache.axis2.engine.ListenerManager.destroy(ListenerManager.java:222)
        at org.apache.synapse.ServerManager.stop(ServerManager.java:206)
        at org.wso2.esb.ServiceBusManager.stop(ServiceBusManager.java:213)
        at 
org.wso2.esb.jmx.mbean.ServiceBusControl.stop(ServiceBusControl.java:42)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
        at 
javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
        at 
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1343)
        at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)
2008-05-29 17:00:56,232 [-] [RMI TCP Connection(3)-127.0.1.1]  INFO 
ServiceBusManager [ESB] Stop request completed


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to