Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » simpleDateFormat
simpleDateFormat [message #100426] Wed, 06 June 2007 13:52 Go to next message
Pierre is currently offline PierreFriend
Messages: 27
Registered: July 2009
Junior Member
Hello !

I have a problem when I run a JUnit test which was generated by TPTP after
HTTP recording.

I have a lot of errors like:

java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat

java.exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -6


Have you a solution ?

Regards

Pierre
Re: simpleDateFormat [message #100495 is a reply to message #100426] Wed, 06 June 2007 17:32 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Pierre,

If I had to guess, I would say that you are running TPTP 4.3 (perhaps on
top of Eclipse 3.2.1, which is an unsupported configuration), and are
encountering the following defect:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=173136

Please try the current TPTP release: 4.3.1
[http://www.eclipse.org/tptp/home/downloads/?ver=4.3.1], which contains
a fix for this issue. The issue is also fixed in the development
version -- 4.4.

If this does not correct the problem for you, please respond with the
version of TPTP and Eclipse that you are using, and also let us know if
you are using the Integrated Agent Controller, or the full AC. [If you
don't know the answer to that question, you're likely using the
Integrated Agent Controller.]

Thanks,
--Joe

Pierre wrote:
> Hello !
>
> I have a problem when I run a JUnit test which was generated by TPTP
> after HTTP recording.
>
> I have a lot of errors like:
>
> java.lang.NoClassDefFoundError: com/ibm/icu/text/SimpleDateFormat
>
> java.exception:
> java.lang.StringIndexOutOfBoundsException: String index out of range: -6
>
>
> Have you a solution ?
>
> Regards
>
> Pierre
>
>
Re: simpleDateFormat [message #100552 is a reply to message #100495] Thu, 07 June 2007 13:15 Go to previous messageGo to next message
Pierre is currently offline PierreFriend
Messages: 27
Registered: July 2009
Junior Member
Hi Joe,

First, thank you for your answer.

I used TPTP 4.3 with Eclipse 3.2.

I have downloaded TPTP 3.1 and I have copy-pasted this release into
plugins and features directories of Eclipse 3.2.

But there is always the same problem.

I have an other problem independant of the first problem: Some tests stop
in 93 %.

Thanks

Pierre
Re: simpleDateFormat [message #100566 is a reply to message #100552] Thu, 07 June 2007 14:07 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Pierre,

I suggest you create a clean install of TPTP 4.3.1 by installing it into
a clean Eclipse 3.2.1. The error you are experiencing is was revealed
by a change to the ICU bundle, and the way that the integrated agent
controller located jar files within it. If you have a dirty install
with bits from new and old TPTP and new and old ICU, it's likely that
the same bug is continuing to affect you. I can say with certainty that
the bug is not present in TPTP 4.3.1 on top of Eclipse 3.2.1 (and also
with TPTP 4.4 and Eclipse 3.3, which is the current development stream.)

I wouldn't try to diagnose your second problem until you have corrected
the first issue. It's quite possible that the errors you are
experiencing are causing these secondary problems. There was also a
known issue with playback of HTTP tests against chunk encoded servers in
4.3 that was addressed it 4.3.1. Once you have a clean install of 4.3.1
on 3.2.1, please try again and let us know if the problems are addressed.

Thanks,
--Joe
Re: simpleDateFormat [message #100717 is a reply to message #100566] Mon, 11 June 2007 09:35 Go to previous messageGo to next message
Pierre is currently offline PierreFriend
Messages: 27
Registered: July 2009
Junior Member
Hi Joe,

I have installed TPTP 4.3.1 (with requirements) on eclipse 3.2 and I use
an external AgentController.
I can record scenarii and run them. But I can't "Run As Junit Test". The
console window reports "java.lang.NoClassDefFoundError:
junit/framework/Test".

I know it's the bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=176437#c1. So I added the
two jars (tlcore.jar and hlcbe101.jar) in the classpath.
But I have always this problem.

Can you help me ? I have forgotten an library ?

Thanks,

Pierre
Re: simpleDateFormat [message #100730 is a reply to message #100717] Mon, 11 June 2007 09:51 Go to previous messageGo to next message
Pierre is currently offline PierreFriend
Messages: 27
Registered: July 2009
Junior Member
Hi Joe,

My problem is solved ! I have forgotten to add Junit.jar in the classpath
of the test.

And the first problem is solved.

Thanks a lot,

Pierre
Re: simpleDateFormat [message #100744 is a reply to message #100730] Mon, 11 June 2007 09:53 Go to previous message
Pierre is currently offline PierreFriend
Messages: 27
Registered: July 2009
Junior Member
Hi joe,

In fact, i have always the fisrt problem with SimpleDate. :-(

help me please!

Pierre
Previous Topic:How to filter methods by modifiers
Next Topic:analysis xml file - export to HTML
Goto Forum:
  


Current Time: Sat Apr 27 05:22:39 GMT 2024

Powered by FUDForum. Page generated in 0.03215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top