Hi Dharshana,

On Mon, Mar 9, 2015 at 6:48 PM, Dharshana Warusavitharana <
[email protected]> wrote:

> Hi Kishanthan,
>
>
> Please update the entry <coverage>true</coverage>
> in automation.xml.
>
> This will avoid instrumentation and disable coverage. So you don't have to
> disable whole integration test module.
>

No, I did not suggest to disable the integration module, but to disable
instrumentation and coverage.

But given that this will disable coverage reports, I think we should not go
for that approach. We will continue to use the old integration framework on
kernel 4.4.0 and push CARBON-15194 for 4.5.0.



> By updating this entry you can execute all integration tests normally and
> generate Surefire reports.
>
> But coverage will not be generated. You can follow thin until stable
> solution comes.
>
> Thank you,
> Dharshana.
>
>
>
> On Mon, Mar 9, 2015 at 8:45 AM, Kishanthan Thangarajah <
> [email protected]> wrote:
>
>> Hi SameeraJ, Krishantha,
>>
>> I think this issue will again arise for kernel 4.4.0 release with
>> https://wso2.org/jira/browse/CARBON-15194.
>>
>> Either we can disable coverage report generation on kernel integration or
>> we will have to push CARBON-15194 for 4.5.0.
>>
>>
>>
>> On Thu, Feb 26, 2015 at 6:56 PM, Sameera Jayasoma <[email protected]>
>> wrote:
>>
>>> Hi Folks,
>>>
>>> AS integration tests are failing in Java 8 due to $Subject. Following is
>>> the error.
>>>
>>> *java.lang.ClassFormatError: Illegal local variable table length 5 in
>>> method org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory.<init>()V*
>>>
>>> Looks like Java 8 cannot understand the bytecode produced by
>>> instrumentations. We are using an older version of EMMA. I guess the
>>> generated bytecode does not compatible with Java 8.
>>>
>>> Automation Team, can we find a solution to this problem?
>>>
>>> Thanks,
>>> Sameera.
>>>
>>>
>>> [2015-02-26 15:05:04,157] ERROR
>>> {org.wso2.carbon.user.core.internal.Activator} -  Cannot start User Manager
>>> Core bundle
>>>
>>> *java.lang.ClassFormatError: Illegal local variable table length 5 in
>>> method org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory.<init>()V*at
>>> java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:340)
>>> at
>>> org.wso2.carbon.context.internal.CarbonContextDataHolder$2.run(CarbonContextDataHolder.java:1181)
>>> at
>>> org.wso2.carbon.context.internal.CarbonContextDataHolder$2.run(CarbonContextDataHolder.java:1177)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.wso2.carbon.context.internal.CarbonContextDataHolder.classForName(CarbonContextDataHolder.java:1177)
>>> at
>>> org.wso2.carbon.context.internal.CarbonContextDataHolder.access$700(CarbonContextDataHolder.java:94)
>>> at
>>> org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextDataHolder.java:456)
>>> at
>>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681)
>>> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
>>> at
>>> javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:341)
>>> at javax.naming.InitialContext.lookup(InitialContext.java:417)
>>> at javax.naming.InitialContext.doLookup(InitialContext.java:290)
>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: [email protected]
>>> blog: http://blog.sameera.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> <http://kishanthan.wordpress.com>*
>> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>>
>
>
>
> --
>
> Dharshana Warusavitharana
> Senior Software Engineer , Test Automation
> WSO2 Inc. http://wso2.com
> email : [email protected] <[email protected]>
> Tel  : +94 11 214 5345
> Fax :+94 11 2145300
> cell : +94770342233
> blog : http://dharshanaw.blogspot.com
>
> lean . enterprise . middleware
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to