Hi,

In ESB tests inside @AfterClass method when calling super.cleanup(); I am
getting the following exception.

Code:

@AfterClass(alwaysRun = true)
public void deleteService() throws Exception {
    super.cleanup();
}


Exception:

java.lang.Exception: Error when deleting InboundEndpoint
        at 
org.wso2.esb.integration.common.utils.ESBIntegrationTest.deleteInboundEndpoints(ESBIntegrationTest.java:297)
        at 
org.wso2.esb.integration.common.utils.ESBIntegrationTest.cleanup(ESBIntegrationTest.java:143)
        at 
org.wso2.carbon.esb.mailto.transport.receiver.test.MailToTransportActionAfterFailureDELETETestCase.deleteService(MailToTransportActionAfterFailureDELETETestCase.java:76)
Caused by: java.lang.NullPointerException
        at 
org.wso2.esb.integration.common.utils.ESBIntegrationTest.deleteInboundEndpoints(ESBIntegrationTest.java:292)
        ... 36 more

Thanks,

Iqbal


-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to