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 2020/12/17 19:53:02 UTC

[Bug 65003] New: `Unexpected error - see log for details` caused by `NullPointerException` when migrating from 5.0 to 5.4

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

            Bug ID: 65003
           Summary: `Unexpected error - see log for details` caused by
                    `NullPointerException` when migrating from 5.0 to 5.4
           Product: JMeter
           Version: 5.4
          Hardware: Macintosh
                OS: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: dkroot2@gmail.com
  Target Milestone: JMETER 5.4.1

I have a test plan developed with JMeter 5.0. (Gradle plugin
"io.quintessent.jmeter" version "1.1.1-5.0").

When I tried to open the test plan in a standalone JMeter 5.4, I get
`Unexpected error - see log for details` caused by the following exception:

```
java.lang.NullPointerException: null
        at java.util.ArrayDeque.addLast(ArrayDeque.java:303) ~[?:?]
        at java.util.ArrayDeque.add(ArrayDeque.java:494) ~[?:?]
        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.Load.loadProjectFile(Load.java:136)
~[ApacheJMeter_core.jar:5.4]
        at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:101)
~[ApacheJMeter_core.jar:5.4]
        at
org.apache.jmeter.gui.action.LoadRecentProject.doActionAfterCheck(LoadRecentProject.java:68)
~[ApacheJMeter_core.jar:5.4]
        at
org.apache.jmeter.gui.action.AbstractActionWithNoRunningTest.doAction(AbstractActionWithNoRunningTest.java:44)
~[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:316)
~[?:?]
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) ~[?:?]
        at java.awt.EventQueue$4.run(EventQueue.java:721) ~[?:?]
        at java.awt.EventQueue$4.run(EventQueue.java:715) ~[?:?]
        at
java.security.AccessController.doPrivileged(AccessController.java:391) [?:?]
        at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
[?:?]
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:740) [?:?]
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
[?:?]
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
[?:?]
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
[?:?]
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?])

java.lang.NullPointerException: null
        at java.util.ArrayDeque.addLast(ArrayDeque.java:303) ~[?:?]
        at java.util.ArrayDeque.add(ArrayDeque.java:494) ~[?:?]
        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.Load.loadProjectFile(Load.java:136)
~[ApacheJMeter_core.jar:5.4]
        at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:101)
~[ApacheJMeter_core.jar:5.4]
        at
org.apache.jmeter.gui.action.LoadRecentProject.doActionAfterCheck(LoadRecentProject.java:68)
~[ApacheJMeter_core.jar:5.4]
        at
org.apache.jmeter.gui.action.AbstractActionWithNoRunningTest.doAction(AbstractActionWithNoRunningTest.java:44)
~[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:316)
~[?:?]
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) ~[?:?]
        at java.awt.EventQueue$4.run(EventQueue.java:721) ~[?:?]
        at java.awt.EventQueue$4.run(EventQueue.java:715) ~[?:?]
        at
java.security.AccessController.doPrivileged(AccessController.java:391) [?:?]
        at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
[?:?]
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:740) [?:?]
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
[?:?]
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
[?:?]
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
[?:?]
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
```

This seems to be related to Recent Files somehow. I do see all of the Recent
files from 5.0 in 5.4. I was thinking that clearing them might solve the issue,
but I could not identify where they are stored on Mac, even after the full
drive scan.

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

[Bug 65003] `Unexpected error - see log for details` caused by `NullPointerException` when migrating from 5.0 to 5.4

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

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

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

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---


*** This bug has been marked as a duplicate of bug 64957 ***

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