You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2021/01/12 08:20:09 UTC

[Bug 65074] New: NullPointerException when saving Test Plan

https://bz.apache.org/bugzilla/show_bug.cgi?id=65074

            Bug ID: 65074
           Summary: NullPointerException when saving Test Plan
           Product: JMeter
           Version: 5.4
          Hardware: Macintosh
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: cfr2017@gmx.net
  Target Milestone: JMETER 5.4.1

Created attachment 37700
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37700&action=edit
"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]

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65074] NullPointerException when saving Test Plan

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65074

--- Comment #2 from Christian Fröhler <cf...@gmx.net> ---
The issue is fixed with 5.4.1-RC1, thanks for the fast response.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65074] NullPointerException when saving Test Plan

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65074

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
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 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.