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

UCanAccess data exception: numeric value out of range
Can I not do System.out.println(Item.toString());?
Bluetooth LE data JSON in 20 bytes
While loop not cancelling out
Static Employee number, file handling issue
Spring Rest Controller, Path Variables on an overriden method's arguement
How do I improve the runtime complexity of this algorithm?
org.mule.api.config.ConfigurationException: Error creating bean with name '_muleSimpleRegistryBootstrap'
How to store a 2D array in a regular array? Java
How to use with Neo4j with Java simply using JDK Tools?
repainting a JPanel and update the screen
Filter stream until Predicate [duplicate]
right way to set a Path to readonly in java.nio2
What happens to native code (JNI) when an android app is compiled?
Select FindBugs plugins via command line
Reference of a non static variable

Categories

HOME
testing
arduino-uno
bluetooth
openstack
oracle11g
activiti
dictionary
tinymce
jgroups
jxls
gps
ojdbc
enterprise-library-5
acquia
elasticsearch-hadoop
izpack
row
commonmark
event-handling
try-catch
serverless-framework
http-status-code-504
oracle-coherence
nhibernate-envers
immutable.js
nas
web-sql
bootstrap-tour
claims-based-identity
h2db
tdd
qhull
strncpy
replaceall
facebook-apps
jaxb2
preg-match-all
framemaker
uiswipegesturerecognizer
serve
automake
swift3.0.2
theano.scan
vapor
galen
g-code
http-live-streaming
bootstrap-dialog
import-from-excel
reactive-cocoa-5
avconv
blogengine.net
powercli
recursive-datastructures
knpmenubundle
qtwebview
flutterwave
gcsfuse
bind9
crosswalk-runtime
time-and-attendance
httplistener
radtreelist
trash
django-debug-toolbar
multiple-regression
lua-5.1
make-install
oauth2client
phpcas
r-tree
qtableview
t4mvc
coveralls
arcanist
sailfish-os
composite
angular-local-storage
bridge.net
npapi
formatjs
fpml
qcodo
preferences
tld
fluentautomation
jquery-layout
comexception
meteor-velocity
prettify
jsctypes
dataadapter
sabredav
delphi-6
wsdl-2.0
osql
qt-jambi
sql-server-profiler
w3wp.exe
google-friend-connect
infrastructure
ext3
castle-monorail
web-architecture
misv

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App