2020-12-06 00:28:13,236 INFO o.a.j.s.SaveService: Loading file: C:\JMeterTools\apache-jmeter-5.4\apache-jmeter-5.4\bin\examples\CSVSample.jmx 2020-12-06 00:28:13,778 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times 2020-12-06 00:28:13,778 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2020-12-06 00:28:13,778 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true 2020-12-06 00:28:13,778 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000 2020-12-06 00:28:14,051 WARN o.a.j.g.a.Load: Unexpected error. java.lang.NullPointerException java.lang.NullPointerException: null at java.util.ArrayDeque.addLast(Unknown Source) ~[?:1.8.0_261] at java.util.ArrayDeque.add(Unknown Source) ~[?:1.8.0_261] at org.apache.jmeter.gui.action.LoadRecentProject.updateRecentFileMenuItems(LoadRecentProject.java:125) ~[ApacheJMeter_core.jar:5.4]
I am using Java 1.8 C:\Users\srinivas.kadiyala>javac -version javac 1.8.0_261
Created attachment 37589 [details] Fix regression from switching to ArrayList from LinkedList While LinkedList happily accepts null as a value, the newer collections, like ArrayList, will throw exceptions on such occasions. This is a regression introduced with b3b2eecc396d1fc38a4c4d1cf89e3c7ade1d95d7
@Srinivas could you test the next nightly and report back, whether your problem was fixed? commit ba18592c39b1e8446eccfab2daf4d32a27a01422 Author: Felix Schumacher <felix.schumacher@internetallee.de> AuthorDate: Sun Dec 6 11:27:40 2020 +0100 When importing example test plan JMeter displays an NullPointerException Bugzilla Id: 64957 --- .../src/main/java/org/apache/jmeter/gui/action/LoadRecentProject.java | 3 +++ xdocs/changes.xml | 1 + 2 files changed, 4 insertions(+)
I just ran into this bug during my first try of jMeter. After building from the current branch all is going well. Felix, your fix seems to be ok. Thanks to both of you.
*** Bug 65003 has been marked as a duplicate of this bug. ***
*** Bug 65045 has been marked as a duplicate of this bug. ***
*** Bug 65074 has been marked as a duplicate of this bug. ***
as a workaround we downgraded to 5.3 @Felix please push the 5.4.1 to prod as soon as possible
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5443