Did you set carbon.zip file property in SS integration test pom ?

Thanks,
Krishantha.


On Fri, Jan 24, 2014 at 2:53 PM, Bhathiya Jayasekara <[email protected]>wrote:

> Hi,
>
> I'm getting following error while trying to run integration tests in SS.
> There is SS pack in *modules/distribution/target. *Any reason why this
> error occurs?
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running TestSuite
> [2014-01-24 14:48:15,693]  INFO
> {org.wso2.carbon.automation.core.PlatformExecutionManager} -
>  ---------------Test Execution Started --------------------------
> [2014-01-24 14:48:15,702]  INFO
> {org.wso2.carbon.automation.core.ServerGroupManager} -  *Carbon zip file
> - null*
> org.apache.maven.surefire.util.SurefireReflectionException:
> java.lang.reflect.InvocationTargetException; nested exception is
> java.lang.reflect.InvocationTargetException: null
> java.lang.reflect.InvocationTargetException
> 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:597)
>  at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>  at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
>  at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: java.lang.IllegalArgumentException: carbon zip file is null
> at
> org.wso2.carbon.automation.core.ServerGroupManager.startServer(ServerGroupManager.java:82)
>  at
> org.wso2.carbon.automation.core.ServerGroupManager.startServersForBuilder(ServerGroupManager.java:98)
> at
> org.wso2.carbon.automation.core.PlatformExecutionManager.startSevers(PlatformExecutionManager.java:187)
>  at
> org.wso2.carbon.automation.core.PlatformExecutionManager.onExecutionStart(PlatformExecutionManager.java:76)
> at org.testng.TestNG.runExecutionListeners(TestNG.java:1032)
>  at org.testng.TestNG.run(TestNG.java:983)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
>  at
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
>  ... 9 more
>
>
>
> Thanks,
>
> --
> *Bhathiya Jayasekara*
> *Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>



-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to