Created attachment 37700 [details] "Open recent" is inactive On a fresh install of JMeter I have created a Test plan, with "HTTP(S) Test Script Recorder" When trying to save the Test Script (File Menu -> Save Test Plan As) I get a NPE, stack trace see below. Side note: in the "File" menu, the menu entry "Open recent" is inactive, which might be related to the NPE. See attachment Workaround: I can save the test plan with "File -> Save As" 021-01-12 08:54:12,869 ERROR o.a.j.u.JMeterUtils: Unexpected error - see log for details 2021-01-12 08:55:51,839 ERROR o.a.j.g.a.ActionRouter: Error processing org.apache.jmeter.gui.action.Save@5003041b java.lang.NullPointerException: null at java.util.ArrayDeque.addLast(ArrayDeque.java:249) ~[?:1.8.0_202] at java.util.ArrayDeque.add(ArrayDeque.java:423) ~[?:1.8.0_202] at org.apache.jmeter.gui.action.LoadRecentProject.updateRecentFileMenuItems(LoadRecentProject.java:125) ~[ApacheJMeter_core.jar:5.4] at org.apache.jmeter.gui.util.JMeterMenuBar.setProjectFileLoaded(JMeterMenuBar.java:144) ~[ApacheJMeter_core.jar:5.4] at org.apache.jmeter.gui.MainFrame.setProjectFileLoaded(MainFrame.java:330) ~[ApacheJMeter_core.jar:5.4] at org.apache.jmeter.gui.GuiPackage.setTestPlanFile(GuiPackage.java:732) ~[ApacheJMeter_core.jar:5.4] at org.apache.jmeter.gui.action.Save.doAction(Save.java:168) ~[ApacheJMeter_core.jar:5.4] at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:87) ~[ApacheJMeter_core.jar:5.4] at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:69) ~[ApacheJMeter_core.jar:5.4] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_202] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_202] at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_202] at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_202] at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_202] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_202] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_202] at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_202] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_202] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_202] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_202] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_202] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_202] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_202]
It would be great, if you could test the current RC available at https://dist.apache.org/repos/dist/dev/jmeter/apache-jmeter-5.4.1-rc1 or a current nightly or build from trunk. *** This bug has been marked as a duplicate of bug 64957 ***
The issue is fixed with 5.4.1-RC1, thanks for the fast response.