Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    May 2009

    Getting a UTFDataFormatException in cobertura

    Hi All,

    I am getting the exception in cobertura while running the test cases.
    I am posting the exception that I am getting, if anybody have some idea how to resolve it please share with me. It is very urgent.

    cobertura4j2me [BASIC] - Exception caught: java.io.UTFDataFormatException
    at java.io.DataInputStream.readUTF(+318)
    at java.io.DataInputStream.readUTF(+4)
    at org.cobertura4j2me.runtime.LineInformation.resurrect(+20)
    at org.cobertura4j2me.runtime.CoverageData.resurrect(+47)
    at org.cobertura4j2me.runtime.AbstractCoverageDataPersistence.load(+103)
    at org.cobertura4j2me.runtime.Factory.initialise(+52)
    at org.cobertura4j2me.runtime.Factory.getInstance(+22)
    at com.nokia.mid.appl.money.FireTestSuiteRunner.<clinit>(+3)
    at java.lang.Class.runCustomCode(+0)
    at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
    at com.sun.midp.midlet.Selector.run(+22)
    Creating Category format command

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    Sep 2007

    Re: Getting a UTFDataFormatException in cobertura

    Hi Rahul,

    This may be because the specified encoding to read the data and the actual data encoding are different . This exception may be because of that. Please check you encoding type .

Similar Threads

  1. Not getting scrollbar in CEikRichTextEditor in Hebrew Lang.
    By astarter in forum Symbian User Interface
    Replies: 1
    Last Post: 2010-03-29, 07:07
  2. Query in getting SSL session id in j2me
    By gods_m in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2008-11-24, 05:38
  3. Problem in Nokia6630 for getting Sign In response from server.
    By Namdeo in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-07-27, 07:31
  4. Replies: 3
    Last Post: 2007-06-07, 12:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts