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/05 19:05:26 UTC

[Bug 64957] New: When importing example CSVSample.jmx displaying nullpointerexception

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

            Bug ID: 64957
           Summary: When importing example CSVSample.jmx displaying
                    nullpointerexception
           Product: JMeter
           Version: 5.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: srinivas.skc30@gmail.com
  Target Milestone: JMETER_5.4

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]

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
             Status|NEW                         |NEEDINFO

--- Comment #3 from Felix Schumacher <fe...@internetallee.de> ---
@Srinivas could you test the next nightly and report back, whether your problem
was fixed?

commit ba18592c39b1e8446eccfab2daf4d32a27a01422
Author: Felix Schumacher <fe...@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(+)

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

Srinivas Kadiyala <sr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srinivas.skc30@gmail.com
                 OS|                            |All

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|JMETER_5.4                  |JMETER 5.4.1
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

--- Comment #1 from Srinivas Kadiyala <sr...@gmail.com> ---
I am using Java 1.8

C:\Users\srinivas.kadiyala>javac -version
javac 1.8.0_261

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkroot2@gmail.com

--- Comment #5 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 65003 has been marked as a duplicate of this bug. ***

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Created attachment 37589
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37589&action=edit
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

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

--- Comment #8 from Sebastian Boga <se...@endava.com> ---
as a workaround we downgraded to 5.3
@Felix please push the 5.4.1 to prod as soon as possible

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

--- Comment #4 from cafe.bistoule@gmail.com ---
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.

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cfr2017@gmx.net

--- Comment #7 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 65074 has been marked as a duplicate of this bug. ***

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

[Bug 64957] When importing example CSVSample.jmx displaying nullpointerexception

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pushparajannz@gmail.com

--- Comment #6 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 65045 has been marked as a duplicate of this bug. ***

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