Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Call Counting Problem

Moderators: Vladimir Kondratyev, Anton Katilin

Call Counting Problem

Postby KarolisG » Tue May 17, 2016 10:22 am

Hi when i try to start CPU profiling on Call counting i get this exseption:

[5/17/16 13:14:00:383 EEST] 00000026 SystemErr R java.lang.NullPointerException
[5/17/16 13:14:00:384 EEST] 00000026 SystemErr R at java.lang.Long.valueOf(Long.java)
[5/17/16 13:14:00:384 EEST] 00000026 SystemErr R at com.yourkit.probes.ResourceCounter.getValuesAndResetMinMax(ResourceCounter.java:134)
[5/17/16 13:14:00:384 EEST] 00000026 SystemErr R at com.yourkit.runtime.TelemetryThread$TelemetryCounter.readValues(TelemetryThread.java:914)
[5/17/16 13:14:00:384 EEST] 00000026 SystemErr R at com.yourkit.runtime.TelemetryThread.fillValues(TelemetryThread.java:464)
[5/17/16 13:14:00:385 EEST] 00000026 SystemErr R at com.yourkit.runtime.TelemetryThread.run(TelemetryThread.java:588)

Can you help me to solve this problem?
KarolisG
 
Posts: 2
Joined: Tue May 17, 2016 10:17 am

Re: Call Counting Problem

Postby Anton Katilin » Tue May 17, 2016 12:28 pm

Could you please provide the profiler agent log file <user home>/.yjp/log/<session name>-<pid>.log
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Re: Call Counting Problem

Postby KarolisG » Wed May 18, 2016 11:07 am

15044 0.014: Command line:
C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\bin\javaw.exe
-XX:+HeapDumpOnOutOfMemoryError
-Xmx4G
-XX:PermSize=256m
-XX:MaxPermSize=256m
-jar
..\lib\yjp.jar
15044 0.014: Executable: C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\bin\javaw.exe
15044 0.014: Windows 8.1; version 6.3; 64-bit process
15044 0.015: hid: 16012175ZU606ZZ0 64-bit machine
15044 0.015: Today is 20160518
15044 0.015: full_build_stamp: 15044 201504071455
15044 0.015: Agent library path: C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\bin\win64\yjpagent.dll
15044 0.015:
---------------------------------------------------------------------
Product: YourKit Java Profiler 2015 build 15044
Build: 15044 on 201504071455
JDK: 1.8.0_40
VM: Java HotSpot(TM) 64-Bit Server VM
Vendor: Oracle Corporation
OS: Windows 8.1
OS version: 6.3
OS arch: amd64
Properties:
awt.toolkit=sun.awt.windows.WToolkit
file.encoding.pkg=sun.io
file.encoding=Cp1252
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=..\lib\yjp.jar
java.class.version=52.0
java.endorsed.dirs=C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\endorsed
java.ext.dirs=C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home=C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64
java.io.tmpdir=C:\Users\KGRAZE~1\AppData\Local\Temp\
java.library.path=C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\RSA SecurID Token Common;C:\Program Files (x86)\HP\NV\lib\shunra\vcat;C:\ProgramData\Oracle\Java\javapath;E:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Google\Google Apps Sync\;C:\Program Files\Google\Google Apps Migration\;C:\Program Files\TortoiseHg\;C:\Program Files (x86)\RadView\WebLOAD\bin;C:\Program Files (x86)\RadView\WebLOAD\bin\jre\bin;C:\apache-ant\bin;C:\maven33\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\HP\LoadRunner\strawberry-perl\perl\bin;C:\Program Files (x86)\HP\NV\lib\thirdparty\safenet\LDK\7.0;C:\Program Files (x86)\HP\NV\lib\shunra\snv;C:\Program Files (x86)\Skype\Phone\;.
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_40-b25
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.8
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.vendor.url=http://java.oracle.com/
java.vendor=Oracle Corporation
java.version=1.8.0_40
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.8
java.vm.vendor=Oracle Corporation
java.vm.version=25.40-b25
line.separator=


os.arch=amd64
os.name=Windows 8.1
os.version=6.3
path.separator=;
sun.arch.data.model=64
sun.awt.enableExtraMouseButtons=true
sun.boot.class.path=C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\resources.jar;C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\rt.jar;C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\sunrsasign.jar;C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\jsse.jar;C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\jce.jar;C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\charsets.jar;C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\lib\jfr.jar;C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\classes
sun.boot.library.path=C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\jre64\bin
sun.cpu.endian=little
sun.cpu.isalist=amd64
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.java.command=..\lib\yjp.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=
user.country=US
user.dir=C:\Program Files (x86)\YourKit Java Profiler 2015 build 15044\bin
user.home=C:\Users\kgrazevicius
user.language=en
user.name=kgrazevicius
user.script=
user.timezone=Europe/Helsinki
user.variant=
Environment:
ALLUSERSPROFILE=C:\ProgramData
ANALYSIS_PATH=C:\Program Files (x86)\HP\LoadRunner\
APPDATA=C:\Users\kgrazevicius\AppData\Roaming
BuildLab=9600.winblue_ltsb.160119-0600
BuildLabEx=9600.18202.amd64fre.winblue_ltsb.160119-0600
COMPUTERNAME=KGRAZEVICIUS
ComSpec=C:\Windows\system32\cmd.exe
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramW6432=C:\Program Files\Common Files
ESET_OPTIONS=
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\kgrazevicius
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_71
LG_PATH=C:\Program Files (x86)\HP\LoadRunner\
LOCALAPPDATA=C:\Users\kgrazevicius\AppData\Local
LOGONSERVER=\\VNOEISDC01
LOG_FILE=C:\Users\KGRAZE~1\AppData\Local\Temp\\ihp_custom_batches.log
LR_PATH=C:\Program Files (x86)\HP\LoadRunner\
M_HOME=C:\maven33
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3c03
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
Path=C:\Program Files (x86)\RSA SecurID Token Common;C:\Program Files (x86)\HP\NV\lib\shunra\vcat;C:\ProgramData\Oracle\Java\javapath;E:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Google\Google Apps Sync\;C:\Program Files\Google\Google Apps Migration\;C:\Program Files\TortoiseHg\;C:\Program Files (x86)\RadView\WebLOAD\bin;C:\Program Files (x86)\RadView\WebLOAD\bin\jre\bin;C:\apache-ant\bin;C:\maven33\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\HP\LoadRunner\strawberry-perl\perl\bin;C:\Program Files (x86)\HP\NV\lib\thirdparty\safenet\LDK\7.0;C:\Program Files (x86)\HP\NV\lib\shunra\snv;C:\Program Files (x86)\Skype\Phone\
ProgramData=C:\ProgramData
ProgramFiles(x86)=C:\Program Files (x86)
ProgramFiles=C:\Program Files
ProgramW6432=C:\Program Files
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\KGRAZE~1\AppData\Local\Temp
TMP=C:\Users\KGRAZE~1\AppData\Local\Temp
USERDNSDOMAIN=EXIGENGROUP.COM
USERDOMAIN=EXIGEN
USERDOMAIN_ROAMINGPROFILE=EXIGEN
USERNAME=kgrazevicius
USERPROFILE=C:\Users\kgrazevicius
VUGEN_PATH=C:\Program Files (x86)\HP\LoadRunner\
windir=C:\Windows
---------------------------------------------------------------------


15044 0.015: com.yourkit.Main1: starting...
15044 0.015: com.yourkit.Main1: number of args: 0
15044 0.116: com.yourkit.Main1: oomeDumperStatus: 1
15044 0.216: com.yourkit.i.f.a.a: FYI: native (current) LAF font: javax.swing.plaf.FontUIResource[family=Tahoma,name=Tahoma,style=plain,size=11]
15044 0.216: com.yourkit.i.f.a.a: FYI: metal font: javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
15044 0.218: com.yourkit.i.f.a.a: general font: javax.swing.plaf.FontUIResource[family=Segoe UI,name=Segoe UI,style=plain,size=12]
15044 0.218: com.yourkit.i.f.a.a: menu font: javax.swing.plaf.FontUIResource[family=Segoe UI,name=Segoe UI,style=plain,size=12]
15044 0.632: com.yourkit.i.i.c.c: ParallelExecutor: pool size 8
15044 0.731: shmem: Global\YOURKIT SHARE G: NULL (1)
15044 0.731: shmem: Local\YOURKIT SHARE L: OK, isFirst=1
15044 0.740: shmem: Global\YOURKIT SHARE2 G: NULL (1)
15044 0.740: shmem: Local\YOURKIT SHARE2 L: OK, isFirst=1
15044 0.782: shmem: Global\YOURKIT SHARE5 G: NULL (1)
15044 0.782: shmem: Local\YOURKIT SHARE5 L: OK, isFirst=1
15044 0.844: com.yourkit.i.b6: marker: created C:\Users\kgrazevicius\.yjp\.yjp_20071015_ui32415
15044 1.065: uidCount: 270
15044 5.267: com.yourkit.d.a5: snapshot_outer: starting: null
15044 5.267: com.yourkit.d.a5: controller telemetry limit: 3600
15044 5.270: com.yourkit.d.a5: snapshot_outer: done in 0 sec: null
15044 1126.047: com.yourkit.i.h$a: com.yourkit.runtime.PresentableException: There's no application running at nwperf01.internal.corp with profiler agent configured to listen on port 10001
at com.yourkit.api.ControllerImpl.a(a:467)
at com.yourkit.api.ControllerImpl.a(a:372)
at com.yourkit.api.ControllerImpl.getStatus(a:35)
at com.yourkit.api.ControllerImpl.cacheStatuses(a:229)
at com.yourkit.i.h.if(a:71)
at com.yourkit.i.h.if(a:262)
at com.yourkit.i.h$a$1.run(a:4)
at com.yourkit.api.ControllerImpl$31.perform(a:3)
at com.yourkit.api.ControllerImpl.a(a:292)
at com.yourkit.api.ControllerImpl.runBatch(a:388)
at com.yourkit.i.h$a.run(a:57)

15044 1130.106: com.yourkit.i.h$a: com.yourkit.runtime.PresentableException: There's no application running at nwperf01.internal.corp with profiler agent configured to listen on port 10001
at com.yourkit.api.ControllerImpl.a(a:467)
at com.yourkit.api.ControllerImpl.a(a:372)
at com.yourkit.api.ControllerImpl.runBatch(a:388)
at com.yourkit.i.h$a.run(a:57)

15044 1134.171: com.yourkit.i.h$a: com.yourkit.runtime.PresentableException: There's no application running at nwperf01.internal.corp with profiler agent configured to listen on port 10001
at com.yourkit.api.ControllerImpl.a(a:467)
at com.yourkit.api.ControllerImpl.a(a:372)
at com.yourkit.api.ControllerImpl.runBatch(a:388)
at com.yourkit.i.h$a.run(a:57)
KarolisG
 
Posts: 2
Joined: Tue May 17, 2016 10:17 am

Re: Call Counting Problem

Postby Anton Katilin » Thu May 19, 2016 5:43 am

1. Version 2015 is not supported. Please use the latest version 2016.02 instead.
2. The log file you've sent is the profiler UI's log. To investigate the issue we need the profiled application's log file instead. If you profile a remote application, the log file is located in the remote machine's file system.
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot] and 9 guests