Hi,

I have temporally commented out the tests and created an Carbon JIRA[1]
to track this. Will commit them once I verify all the tests locally.

Thanks,
Janaka

[1] https://wso2.org/jira/browse/CARBON-12100

On Thu, Dec 22, 2011 at 10:58 AM, Senaka Fernando <[email protected]> wrote:

> Hi all,
>
> Janaka is aware of this issue, and he is checking. This has been fixed on
> the branch but the commit has not yet been made to the trunk. We will be
> completing sync'ing trunk with branch in today's bug-fix hackathon, so we
> will be able to solve this today.
>
> Thanks,
> Senaka.
>
>
> On Thu, Dec 22, 2011 at 9:45 AM, Srinath Perera <[email protected]> wrote:
>
>> Chatted with Senaka .. this could be a intermittent one as well. He
>> will come over in few mins
>> --Srinath
>>
>> On Thu, Dec 22, 2011 at 7:36 AM, Srinath Perera <[email protected]> wrote:
>> > As per Bamboo, following 4 tests are failing, this is in a US builder
>> machine.
>> >
>> >
>> EndpointTest.testServiceAddingEndpointsWithWsdl()EndpointTest.testAddWsdlWithEndpoints()ServiceTest.testServiceAttachments()WSDLTest.testEditWSDL()
>> > Error looks like
>> >
>> > org.wso2.carbon.governance.api.test.EndpointTest
>> > Method
>> > testServiceAddingEndpointsWithWsdl
>> > Duration
>> > < 1 sec
>> > Status
>> > Failed (Existing Failure)
>> > Error Log
>> > org.wso2.carbon.governance.api.exception.GovernanceException: Error in
>> > adding the wsdl. wsdl id: 344c1bd0-7732-4f85-ba1a-b43913ec60ae.
>> >        at
>> org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:144)
>> >        at
>> org.wso2.carbon.governance.api.test.EndpointTest.testServiceAddingEndpointsWithWsdl(EndpointTest.java:256)
>> > Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
>> > String index out of range: -1
>> >        at
>> org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:483)
>> >        at
>> org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.importResource(HandlerManager.java:2494)
>> >        at
>> org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.importResource(HandlerLifecycleManager.java:869)
>> >        at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.importResource(EmbeddedRegistry.java:774)
>> >        at
>> org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:716)
>> >        at
>> org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:135)
>> >        ... 29 more
>> > Caused by: java.lang.StringIndexOutOfBoundsException: String index out
>> > of range: -1
>> >        at java.lang.String.substring(String.java:1937)
>> >        at
>> org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.addWSDLToRegistry(WSDLProcessor.java:210)
>> >        at
>> org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.processWSDLImport(WSDLMediaTypeHandler.java:514)
>> >        at
>> org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:471)
>> >        ... 34 more
>> >
>> > --
>> > ============================
>> > Srinath Perera, Ph.D.
>> >   Senior Software Architect, WSO2 Inc.
>> >   Visiting Faculty, University of Moratuwa
>> >   Member, Apache Software Foundation
>> >   Research Scientist, Lanka Software Foundation
>> >   Blog: http://srinathsview.blogspot.com/
>> >   Photos: http://www.flickr.com/photos/hemapani/
>> >  Phone: 0772360902
>>
>>
>>
>> --
>> ============================
>> Srinath Perera, Ph.D.
>>   Senior Software Architect, WSO2 Inc.
>>   Visiting Faculty, University of Moratuwa
>>   Member, Apache Software Foundation
>>   Research Scientist, Lanka Software Foundation
>>   Blog: http://srinathsview.blogspot.com/
>>   Photos: http://www.flickr.com/photos/hemapani/
>>  Phone: 0772360902
>>
>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>


-- 
Janaka Ranabahu
Software Engineer
WSO2 Inc.

Mobile +94 718370861
Email : [email protected]
Blog : janakaranabahu.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to