DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22455>. 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=22455 Saved JMeter Test Plans not reloading - Manager chokes on cookies Summary: Saved JMeter Test Plans not reloading - Manager chokes on cookies Product: JMeter Version: unspecified Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Main AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is for JMeter 1.9 (BTW, not available in Version list) Loading a Test Plan gives "Unexpected Error" and the following log information: 08/14/2003 4:28:07 PM INFO - jmeter.JMeter: Version 1.9 08/14/2003 4:28:21 PM INFO - jmeter.gui.action.Load: Loading file: C:\windows\Desktop\JMeterStuff\Badboy Test Plan.jmx 08/14/2003 4:28:22 PM WARN - jmeter.gui.action.Load: Unexpected error java.lang.NullPointerException at org.apache.jmeter.protocol.http.control.CookieManager.add (CookieManager.java:234) at org.apache.jmeter.protocol.http.gui.CookiePanel.modifyTestElement (CookiePanel.java:294) [...] This is caused by the line JMeterContextService.getContext().getVariables().put(c.getName(),c.getValue( )) - getVariables() returns null, hence the NPE. The null return appears to be because no test threads have been created yet. A temporary work-round is to delete any cookies - an empty Cookie Manager loads OK. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
