Topic
1 reply Latest Post - ‏2013-06-26T14:43:43Z by SathisPMK
SathisPMK
SathisPMK
4 Posts
ACCEPTED ANSWER

Pinned topic Facing Code Coverage issue in RAD

‏2013-06-22T10:54:37Z |

Hi,

       I am trying implement code coverage for my module using RAD 8.0.4. I done the unit test case and i am calling web services from my module. As i am getting an exception when  executing the test case and the test case being failed when it it is calling the webservice methods.

 

This is the error i am getting in JUnit console.

 

java.lang.NoSuchMethodError: com/ibm/ejs/ras/Tr.setupLogging()V
    at com.ibm.ws.ffdc.FFDCImpl.<clinit>(FFDCImpl.java:35)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:144)
    at com.ibm.ws.ffdc.FFDCFilter.<clinit>(FFDCFilter.java:39)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
    at com.ibm.ws.webservices.multiprotocol.AgnosticService.getStub(AgnosticService.java:393)
 

 

Can any one provide me any solution to overcome this issue. Please reply me if you need any other info.

 

Regards,

Sathis

 

 

 

Updated on 2013-06-26T14:39:17Z at 2013-06-26T14:39:17Z by SathisPMK
  • SathisPMK
    SathisPMK
    4 Posts
    ACCEPTED ANSWER

    Re: Facing Code Coverage issue in RAD

    ‏2013-06-26T14:43:43Z  in response to SathisPMK

    Hi,

     

      Cany any one please provide me solution for this issue. Since i have implemented struts test case for my previous project in RSA and it was worked fine. As per the RSA implementation i tried to implement the struts test case in RAD this time but i couldnt. I am getting this error. Please help me out to resolve this issue.

     

     

    This is the error i am getting in JUnit console.

     

    java.lang.NoSuchMethodError: com/ibm/ejs/ras/Tr.setupLogging()V
        at com.ibm.ws.ffdc.FFDCImpl.<clinit>(FFDCImpl.java:35)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:144)
        at com.ibm.ws.ffdc.FFDCFilter.<clinit>(FFDCFilter.java:39)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
        at com.ibm.ws.webservices.multiprotocol.AgnosticService.getStub(AgnosticService.java:393)
     

     

    I am using C:\IBM\SDP8\runtimes\base_v61_stub\runtimes\com.ibm.ws.webservices.thinclient_6.1.0.jar to call webservices in the test case. 

     

    Should i need to have any other jars for RAD.

    Please give me your valuable solutions.

     

     

    Regards,

    Sathis