Broken JavaSampler

2003-04-04 Thread Jeremy Arnold
Mike,
   It looks like the problem that Chris Gardner was having with the 
JavaSampler (on the jmeter-user list) was that my patch from March 11 
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg03646.html) 
never got applied.  Actually, that's only half of the problem...the 
other half is that the patch was apparently missing one key file 
(AbstractSampler), so even if it had gotten applied it still wouldn't 
have worked.

   Anyway, JavaSampler was implementing both PerSampleClonable 
(indirectly from AbstractSampler) and PerThreadClonable, so it was 
getting cloned every sample, leading to the undesired behavior.  I've 
made a quick fix for Chris (just updating AbstractSampler -- the correct 
fix needs to update the implementations of AbstractSampler like my patch 
did) so hopefully his stuff will work.  I can make the real fix this 
weekend, assuming that I can get my CVS access working.

   Mike -- you mentioned you are doing some work on reducing the amount 
of cloning going on.  I would assume that these updates won't get in the 
way of that?  Let me know if it will and we'll figure out the right 
thing to do.

   It's past my bedtime...

Jeremy
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 18724] New: - Follow Redirects still shows error after redirect

2003-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18724

Follow Redirects still shows error after redirect

   Summary: Follow Redirects still shows error after redirect
   Product: JMeter
   Version: 1.8.1
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: Other
 Component: HTTP
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


If a HTTP requests has the "Follow Redirects" checked, JMeter is still 
reporting the redirect as an error, even though the redirect was handled 
correctly.  That is, the initial request was redirected, and the new url was 
successfully retrieved.

As a test, I changed HttpSampler.sample to call "res.setSuccessful(true)" 
after the redirect was handled.  Though I didn't test error conditions.

1.8 did not exhibit this problem.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18697] - Problem in starting up JMeter

2003-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18697

Problem in starting up JMeter





--- Additional Comments From [EMAIL PROTECTED]  2003-04-04 10:29 ---
This appears to be a duplicate of 13895, which is fixed in 1.8.1.

Upgrading to 1.8.1 should solve the problem.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 18697] New: - Problem in starting up JMeter

2003-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18697

Problem in starting up JMeter

   Summary: Problem in starting up JMeter
   Product: JMeter
   Version: 1.8
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Blocker
  Priority: Other
 Component: Main
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


java.lang.reflect.InvocationTargetException: 
java.lang.ExceptionInInitializerError: java.lang.NullPointerException
at org.apache.jmeter.gui.action.Help.(Help.java:51)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.jmeter.gui.action.ActionRouter.populateCommandMap
(ActionRouter.java:185)
at org.apache.jmeter.gui.action.ActionRouter.getInstance
(ActionRouter.java:220)
at org.apache.jmeter.JMeter.startGui(JMeter.java:185)
at org.apache.jmeter.JMeter.start(JMeter.java:237)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.jmeter.NewDriver.main(NewDriver.java:165)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]