Hi Krishantha,

Created the jira[1].

[1] https://wso2.org/jira/browse/TA-943

Thanks,
Iqbal

On Wed, Jan 21, 2015 at 11:22 AM, Krishantha Samaraweera <
[email protected]> wrote:

> It seems like a bug when instrumenting jars on windows platform. Please
> create a TA JIRA.
>
> Thanks,
> Krishantha.
>
> On Wed, Jan 21, 2015 at 11:20 AM, Irham Iqbal <[email protected]> wrote:
>
>> Hi,
>>
>> When running integration tests on windows I am getting the following
>> error.To ignore the error I had to disable the coverage by setting coverage
>> tag to false.
>>
>>
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> Running TestSuite
>> INFO
>> [org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager]
>> - Extracting carbon zip file..
>> INFO
>> [org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager]
>> - Carbon Home -
>> F:\products\product-as\modules\integration\tests-integration\target\carbontmp1421658134993\wso2as-6.0.0-SNAPSHOT
>> INFO
>> [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] -
>> Instrumentation of jar files in progress ...
>> ERROR
>> [org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension]
>> - Fail to start carbon server
>> java.lang.NullPointerException
>>     at
>> org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils.instrumentSelectedFiles(CodeCoverageUtils.java:159)
>>     at
>> org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils.instrument(CodeCoverageUtils.java:116)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:73)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.TestServerManager.startServer(TestServerManager.java:102)
>>     at
>> org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:51)
>>     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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.executeExtensible(TestNGExtensionExecutor.java:75)
>>     at
>> org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.onExecutionStart(TestExecutionListener.java:47)
>>     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:295)
>>     at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
>>     at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
>>     at
>> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
>>     at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
>>     at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
>> ERROR
>> [org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener] -
>> Execution error occurred in
>> TestExecutionListener:-[Ljava.lang.StackTraceElement;@57ac3379
>>
>> Thanks,
>>
>> Iqbal
>>
>>
>> --
>> Irham Iqbal
>> Software Engineer - Test Automation
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>> phone: +94 777888452
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
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