The offending line of code appears to be: JMeterContextService.getContext().getVariables().put(c.getName(),c.getValue( ));
Do all your cookies have values? Is it just the Cookie Manager - i.e. can you create a short test case? If so, please can you post it to Bugzilla? -- The opinions expressed herein are my own, and are not necessarily endorsed by my employer ... -----Original Message----- From: Duncan Frostick [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 16:35 To: JMeter Users List Subject: Saved JMeter Test Plans not reloading Hi, This is problem I've only had with the new version, but whenever I save a test plan I've been playing with, come back to it later and then try to re open it JMeter can't do it citing an 'Unexpected error'. Namely a NullPointerException. It's getting very annoying because when I've perfected a test plan to do what I want it to, save it then go to show it to my boss later in the day, it doesn't work. Any ideas what I can do to stop this, bearing in mind I need a cookie manager? Heres the stack trace from the log: 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(CookiePane l.java:294) at org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java :175) at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:1 53) at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:1 53) at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:1 40) at org.apache.jmeter.gui.GuiPackage.addSubTree(GuiPackage.java:405) at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:166) at org.apache.jmeter.gui.action.Load.doAction(Load.java:126) at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:11 8) at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:80) at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:99) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Any hints appreciated, cheers, Duncan Frostick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

