OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | clif List | June 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [clif] runnig clif examples




This problem has already been reported on the mailing list by Damien (see last month archive). I've already faced this problem too, but right now, strangely, I can't reproduce it (everything works fine).Could you please tell me which version of CLIF you are using, on which OS and with which JVM?


Clif version: clif-0.2a4

was it picked up from the CVS repository?

thanks, with the latest version the problem is resolved with Autotest example but I have still some problems with the Webtest example.

java.lang.NullPointerException
[java] at java.io.Reader.<init>(Reader.java:61)
[java] at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
[java] at Webtest.initURLs(Webtest.java:63)
[java] at Webtest.newSession(Webtest.java:106)
[java] at org.objectweb.clif.scenario.util.multithread.MTScenario.init(MTScenario.java:172)


[java] at org.objectweb.fractal.julia.generated.C2526c5d2_0.init(INTERCEPTOR[ActivityControl])

[java] at org.objectweb.fractal.julia.generated.Ca9a59b57_0.init(INTERFACE[ActivityControl])

[java] at org.objectweb.clif.engine.lib.controller.ControllerImpl.do_init(ControllerImpl.java:376)

[java] at org.objectweb.clif.engine.lib.controller.ControllerImpl.run(ControllerImpl.java:134)

[java] at java.lang.Thread.run(Thread.java:534)
[java] java.lang.NullPointerException
[java] at Webtest$Session.<init>(Webtest.java:126)
[java] at Webtest.newSession(Webtest.java:108)
[java] at org.objectweb.clif.scenario.util.multithread.MTScenario.init(MTScenario.java:172)


[java] at org.objectweb.fractal.julia.generated.C2526c5d2_0.init(INTERCEPTOR[ActivityControl])

[java] at org.objectweb.fractal.julia.generated.Ca9a59b57_0.init(INTERFACE[ActivityControl])

[java] at org.objectweb.clif.engine.lib.controller.ControllerImpl.do_init(ControllerImpl.java:376)

[java] at org.objectweb.clif.engine.lib.controller.ControllerImpl.run(ControllerImpl.java:134)

[java] at java.lang.Thread.run(Thread.java:534)
[java] Webtest requires 2 arguments: <think time in s> <file containing URL list>
[java] webtest.urls
[java] java.lang.NullPointerException
what do you think about this error message ?

It seems that you did not provide arguments enough. This scenario requires 4 arguments: number of threads, test duration (s), think time (s), and a filename (e.g. provided webtest.urls, filled with your own URLs, and copied to examples/classes directory - as managed by build.xml in examples directory).


Best regards,
-- Bruno.




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.