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/11/17 00:26:31 UTC

[Bug 65685] New: Not able to generate report at end of Jmeter test

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

            Bug ID: 65685
           Summary: Not able to generate report at end of Jmeter test
           Product: JMeter
           Version: 5.4.1
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: rimjhimdoshi1311@gmail.com
  Target Milestone: JMETER_5.5

I am using Apache Jmeter 5.4.1, MacOS (Big Sur) and Java version 1.8.0_311.

When I am running the jmeter in nonGUI moe, while generating the report, I am
getting following error :

Error generating the report:
org.apache.jmeter.report.dashboard.GenerationException: Error while processing
samples: Consumer failed with message :Consumer failed with message :Consumer
failed with message :Consumer failed with message :Begin size 1 is not equal to
fixed size 5
... end of run

The log file suggests this error :

Caused by: java.lang.IllegalStateException: Begin size 1 is not equal to fixed
size 5
    at java.util.stream.Nodes$FixedNodeBuilder.begin(Nodes.java:1214) ~[?:?]
    at java.util.stream.Sink$ChainedReference.begin(Sink.java:253) ~[?:?]
    at java.util.stream.SliceOps$1$1.begin(SliceOps.java:192) ~[?:?]
    at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:354)
~[?:?]
    at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:528)
~[?:?]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
~[?:?]
    at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
~[?:?]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
~[?:?]
    at
java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
~[?:?]
    at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
~[?:?]
    at
org.apache.jmeter.report.processor.Top5ErrorsSummaryData.getTop5ErrorsMetrics(Top5ErrorsSummaryData.java:82)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.Top5ErrorsBySamplerConsumer.createDataResult(Top5ErrorsBySamplerConsumer.java:97)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.Top5ErrorsBySamplerConsumer.createDataResult(Top5ErrorsBySamplerConsumer.java:29)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.AbstractSummaryConsumer.createResultFromKey(AbstractSummaryConsumer.java:200)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.AbstractSummaryConsumer.stopConsuming(AbstractSummaryConsumer.java:261)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.AbstractSampleConsumer.stopProducing(AbstractSampleConsumer.java:241)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.FilterConsumer.stopConsuming(FilterConsumer.java:111)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.AbstractSampleConsumer.stopProducing(AbstractSampleConsumer.java:241)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.FilterConsumer.stopConsuming(FilterConsumer.java:111)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.AbstractSampleConsumer.stopProducing(AbstractSampleConsumer.java:241)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.NormalizerSampleConsumer.stopConsuming(NormalizerSampleConsumer.java:125)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.CsvFileSampleSource$PrivateProducer.stopProducing(CsvFileSampleSource.java:335)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.CsvFileSampleSource.produce(CsvFileSampleSource.java:182)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.processor.CsvFileSampleSource.run(CsvFileSampleSource.java:235)
~[ApacheJMeter_core.jar:5.4.1]
    at
org.apache.jmeter.report.dashboard.ReportGenerator.generate(ReportGenerator.java:240)
~[ApacheJMeter_core.jar:5.4.1]

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

[Bug 65685] Not able to generate report at end of Jmeter test

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello Rimjhim,
Can you try a nightly build:
https://ci.apache.org/projects/jmeter/nightlies/

And give us your feedback ?
If issue persists, please share jmeter.log file.

Thanks

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

[Bug 65685] Not able to generate report at end of Jmeter test

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

Rimjhim <ri...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rimjhimdoshi1311@gmail.com
           Hardware|PC                          |Macintosh
           Severity|normal                      |blocker

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

[Bug 65685] Not able to generate report at end of Jmeter test when using Java 17

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|other                       |All
           Hardware|Macintosh                   |All
            Summary|Not able to generate report |Not able to generate report
                   |at end of Jmeter test       |at end of Jmeter test when
                   |                            |using Java 17

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

[Bug 65685] Not able to generate report at end of Jmeter test

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

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

[Bug 65685] Not able to generate report at end of Jmeter test

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lerose33@grr.la

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 65618 has been marked as a duplicate of this bug. ***

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

[Bug 65685] Not able to generate report at end of Jmeter test when using Java 17

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

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

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

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

[Bug 65685] Not able to generate report at end of Jmeter test

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

--- Comment #1 from Vladimir Sitnikov <si...@gmail.com> ---
I saw the same exception when upgrading JMeter to Java 17:
https://github.com/apache/jmeter/commit/0c7af0ce99d0fd1136de5aaf1a0ac8bd4eec66b3#diff-c3b565c1ec51140a42e1e13d818dbc584c3e688f9dd2ed582896d9df0cdb280bR82

So I believe the issue is fixed in Git, and the next nightly build should
resolve the issue.

Thanks for the report.

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

[Bug 65685] Not able to generate report at end of Jmeter test

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

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

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

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 65838 has been marked as a duplicate of this bug. ***

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