java


Jmeter - Unknown Error Writing Event


I got an output error while running a JMeter test: Logging Error: Unknown error writing event.
I've seen these before but they usually relate to Java being out of memory. However, this time the related error was listed as:
java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at java.io.PrintWriter.<init>(PrintWriter.java:116)
at java.io.PrintWriter.<init>(PrintWriter.java:100)
at org.apache.log.format.PatternFormatter.getStackTrace(PatternFormatter.java:555)
at org.apache.log.format.PatternFormatter.formatPatternRun(PatternFormatter.java:472)
at org.apache.log.format.PatternFormatter.format(PatternFormatter.java:446)
at org.apache.log.output.AbstractOutputTarget.format(AbstractOutputTarget.java:118)
at org.apache.log.output.AbstractOutputTarget.doProcessEvent(AbstractOutputTarget.java:77)
at org.apache.log.output.AbstractTarget.processEvent(AbstractTarget.java:108)
at org.apache.log.Logger.fireEvent(Logger.java:632)
at org.apache.log.Logger.output(Logger.java:607)
at org.apache.log.Logger.output(Logger.java:590)
at org.apache.log.Logger.error(Logger.java:229)
It normally indicates an issue with your script, i.e. endless recursion, cyclic regular expression or whatever so my suggestions are:
Double check your script consistency, i.e. run it with 1-2 users with View Results Tree listener enabled to make sure it does what it is supposed to do.
Increase Java stack size via -Xss4 JVM argument.
Make sure you are following recommendations from 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure guide, at least basic ones such as:
Run your test in non-GUI mode
Increase JVM Heap space for JMeter
Disable all the listeners during test execution

Related Links

Java try/catch procedure in matrix
Showing error-no suitable driver found for jdbc:oracle:thin:#localhost:1521:orcl
Java 2D Game NullPointerException [duplicate]
how to store a birt report in database
Generate a file next to the jar file containing the code
How to call an increment method() in HistoricalMoment class?
Why use an integer versus a double?
Use Java Sockets to connect a DNS server and download a picture from internet
Cast list of Object to list of class' type parameter
JavaFX Nodes Not Registering Mouse Events
JavaFx WebEngine - Overwriting a website's stylesheet with (local) files
Java Lemonade Calculator
Pentaho Maven Dependencies
I have an error with my if statement [duplicate]
Need help for a arithmetic puzzle (about string and letters)
How do I translate a WSDl generated for Java Webservice into a C# client?

Categories

HOME
java
arduino-uno
ionic-framework
webpack
keras
cplex
octobercms
at-command
filtering
youtube-api-v3
twitter-bootstrap-4
jgroups
enterprise-library-5
convolution
autotools
gorm
metatrader4
node-pdfkit
correlation
usergrid
moonmail
gz
foselasticabundle
apache-metamodel
pythonanywhere
swingx
conemu
arabic
tar
crosstab
angular2-aot
poltergeist
url-scheme
kannel
windows-error-reporting
publish
elasticsearch-net
atlassian-crucible
tasklet
skia
phonegap
create-table
atl
y86
mmenu
picasso
wixsharp
main
code-search-engine
midl
bootstrap-dialog
gpx
acoustics
flickr-api
pubmed
dandelion
typescript1.8
mu
yii2-extension
lowpass-filter
knockout-components
typed-lambda-calculus
google-perftools
nbconvert
sonarlint-vs
query-performance
pintos
watchconnectivity
py2app
hill-climbing
packagist
rvest
ipconfig
energy
browser-link
cartesian-product
t4mvc
tmuxinator
varargs
tableau-online
method-parameters
apache-commons-fileupload
c++03
geonetwork
c3
asp.net-dynamic-data
php-5.4
dml
funcunit
mbr
viadeo
floating-point-precision
cdc
inbox
jmapviewer
shellexecute
qt-faststart
pushbackinputstream
spring-validator
sharp-repository
jelly
cassini-dev
clipper
simba
browser-detection
funscript
bluepill
runas
multipage
nsmanagedobject
pendrive
subscript
pydot
external-accessory
appendto
jmock
lpeg
google-friend-connect
zend-translate
dmx512
wise
getresponsestream
private-members
grid-system

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App