Playback Manager: Exception with TestResultPlotter
Playback Manager: Exception with TestResultPlotter
- Subject: Playback Manager: Exception with TestResultPlotter
- From: Bertrand Rousseau <email@hidden>
- Date: Wed, 2 Jul 2003 15:44:40 +0200
Hello,
I finally managed to make the Playback Manager work, thanks (do you
remember my post this morning :-) ? ). But now I have another problem:
when I start a TestPlayback sooner or later I receive an exception (cf.
output at the end of this mail). It seems to happen at every first
attempt of refreshing the plots in the web page presenting the results.
I just don't know why: I'm just making some simple test to understand
how the PM work, I'm not using complex WOApplications.
Does somebody know here if it results from a bad test configuration?
It seems that the TestResultPlotter doesn't like the "," in the String
"0,94", but I don't know how I can change this.
Thanks in advance
PS: Sorry for my poor English
Bertrand Rousseau
--- Console Output ---
(...)
[2003-07-02 15:25:15 CEST] <WorkerThread6> <WOApplication
'JavaPlaybackManager'>: Exception occurred while handling request:
java.lang.NumberFormatException: For input string: "0,94"
[2003-07-02 15:25:15 CEST] <WorkerThread6>
java.lang.NumberFormatException: For input string: "0,94"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.jav
a:48)
at
java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1213
)
at java.lang.Double.valueOf(Double.java:184)
at
com.webobjects.plot.GIFPlot._computeForAxisMaxMinDataFormat(GIFPlot.java
:862)
at com.webobjects.plot.GIFPlot.initMaxMins(GIFPlot.java:980)
at com.webobjects.plot.GIFPlot.generateGraph(GIFPlot.java:1234)
at TestResultPlotter.preparePlots(TestResultPlotter.java:137)
at
TestResultPlotter.preparePlotsForRefresh(TestResultPlotter.java:125)
at TestPage.preparePlotForRefresh(TestPage.java:49)
at TestPage.appendToResponse(TestPage.java:76)
at
com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1055)
at Session.appendToResponse(Session.java:166)
at
com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.ja
va:1240)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedPage(WOComponentRequestHandler.java:229)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedSession(WOComponentRequestHandler.java:279)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
hPreparedApplication(WOComponentRequestHandler.java:314)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleReque
st(WOComponentRequestHandler.java:346)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleReques
t(WOComponentRequestHandler.java:414)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav
a:1133)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.
java:158)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java
:231)
at java.lang.Thread.run(Thread.java:554)
<DirectAction | callbackAction()> : Callback received. Request:
<com.webobjects.appserver.WORequest
(<com.webobjects.appserver.WORequest httpVersion=HTTP/1.0 headers={}
content-length=0 cookies=null userInfo=null>) method=GET
uri=/cgi-bin/WebObjects/JavaPlaybackManager.woa/wa/
callback?wosid=T2g2kFpYXakMp7azcZdxmg&resultID=4&hostID=localhost&callba
cks=3&playbacks=1&time=20740&total=20×Sum=0.5450000000000002&stddev
Sum=0.007691749999999998&failed=0 defaultFormValueEncoding=ISO8859_1
formValueEncodingDetectionEnabled=NO formValueEncoding=ISO8859_1
formValues={hostID = ("localhost"); total = ("20"); timesSum =
("0.5450000000000002"); time = ("20740"); callbacks = ("3"); playbacks
= ("1"); wosid = ("T2g2kFpYXakMp7azcZdxmg"); resultID = ("4");
stddevSum = ("0.007691749999999998"); failed = ("0"); } >
Form Values: {hostID = ("localhost"); total = ("20"); timesSum =
("0.5450000000000002"); time = ("20740"); callbacks = ("3"); playbacks
= ("1"); wosid = ("T2g2kFpYXakMp7azcZdxmg"); resultID = ("4");
stddevSum = ("0.007691749999999998"); failed = ("0"); }
resultID is 4
<DirectAction | callback> : startTime: 1057152309437
endTime:1057152330177
<DirectAction | callback> : Added callback to result !
existing : 1 desired : 1
(...)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.