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.

Unable to launch profiler from IntelliJ 15

Moderators: Vladimir Kondratyev, Anton Katilin

Unable to launch profiler from IntelliJ 15

Postby elcota » Wed Jan 27, 2016 9:48 pm

I've installed it via the yourkit gui (using the zipped binaries), though I keep getting an error which states the following:

Java(TM) Platform SE binary has stopped working

Problem signature:
Problem Event Name: APPCRASH
Application Name: java.exe
Application Version: 7.0.550.13
Application Timestamp: 5327b4dc
Fault Module Name: jvm.dll
Fault Module Version: 24.55.0.3
Fault Module Timestamp: 5327be45
Exception Code: c00000fd
Exception Offset: 0000000000002cd9
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional Information 1: 85c8
Additional Information 2: 85c830103583f5b2cc5489744bf0dc02
Additional Information 3: efa3
Additional Information 4: efa3049657cc62dca9a1e417688ac810

elcota
 
Posts: 3
Joined: Wed Jan 27, 2016 9:44 pm

Re: Unable to launch profiler from IntelliJ 15

Postby Anton Katilin » Wed Jan 27, 2016 9:59 pm

Where did you see this error output? Could you please provide it in full, it looks truncated.

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

Re: Unable to launch profiler from IntelliJ 15

Postby elcota » Wed Jan 27, 2016 10:28 pm

Log contents:

15082 0.026: Command line:
C:\Program Files\Java\jdk1.8.0_40\bin\java
-Dlog4j.configurationFile=log4j2.xml
-Xmx4096m
-agentpath:C:\usr\bin\yourkit\bin\win64\yjpagent.dll=sampling,sessionname=YJPQUOTED4344582045626f6f6b,profiler_dir=YJPQUOTED433a5c7573725c62696e5c796f75726b6974,ideport=64458,onexit=snapshot
-Didea.launcher.port=7533
-Didea.launcher.bin.path=C:\usr\bin\IntelliJ\15.0.3\bin
-Dfile.encoding=UTF-8
-classpath
C:\code\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\code\.m2\repository\asm\asm\3.3.1\asm-3.3.1.jar;C:\code\.m2\repository\cglib\cglib-nodep\2.2\cglib-nodep-2.2.jar;C:\code\.m2\repository\cglib\cglib\2.2.2\cglib-2.2.2.jar;C:\code\.m2\repository\com\espertech\esper\4.11.0\esper-4.11.0.jar;C:\code\.m2\repository\com\google\code\findbugs\jsr305\2.0.3\jsr305-2.0.3.jar;C:\code\.m2\repository\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;C:\code\.m2\repository\com\google\guava\guava\18.0\guava-18.0.jar;C:\code\.m2\repository\com\google\protobuf\protobuf-java\2.4.1\protobuf-java-2.4.1.jar;C:\code\.m2\repository\com\googlecode\jcsv\jcsv\1.4.0\jcsv-1.4.0.jar;C:\code\.m2\repository\com\latencybusters\lbm\5.3.6.5\lbm-5.3.6.5.jar;C:\code\.m2\repository\com\latencybusters\umds\1.1.1\umds-1.1.1.jar;C:\code\.m2\repository\com\oracle\ojdbc14\10.2.0.1.0\ojdbc14-10.2.0.1.0.jar;C:\code\.m2\repository\com\solacesystems\sol-jcsmp\6.2.0.64\sol-jcsmp-6.2.0.64.jar;C:\code\.m2\repository\commons-beanutils\commons-beanutils\1.8.1\commons-beanutils-1.8.1.jar;C:\code\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\code\.m2\repository\commons-codec\commons-codec\1.5\commons-codec-1.5.jar;C:\code\.m2\repository\commons-collections\commons-collections\3.2\commons-collections-3.2.jar;C:\code\.m2\repository\commons-dbcp\commons-dbcp\1.2.1\commons-dbcp-1.2.1.jar;C:\code\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\code\.m2\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;C:\code\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\code\.m2\repository\commons-pool\commons-pool\1.1\commons-pool-1.1.jar;C:\code\.m2\repository\daytona\speedwayAPI\3rc0\speedwayAPI-3rc0.jar;C:\code\.m2\repository\db\efx\jninanos\NAN_20101018_1\jninanos-NAN_20101018_1.jar;C:\code\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\code\.m2\repository\javassist\javassist\3.12.1.GA\javassist-3.12.1.GA.jar;C:\code\.m2\repository\javax\jms\jms\1.1\jms-1.1.jar;C:\code\.m2\repository\jfree\jcommon\1.0.16\jcommon-1.0.16.jar;C:\code\.m2\repository\jfree\jfreechart\1.0.13\jfreechart-1.0.13.jar;C:\code\.m2\repository\joda-time\joda-time\2.3\joda-time-2.3.jar;C:\code\.m2\repository\log4j\log4j\1.2.16\log4j-1.2.16.jar;C:\code\.m2\repository\net\jcip\jcip-annotations\1.0\jcip-annotations-1.0.jar;C:\code\.m2\repository\open\mdx\openmdx-kernel\1.0\openmdx-kernel-1.0.jar;C:\code\.m2\repository\org\antlr\antlr-runtime\3.2\antlr-runtime-3.2.jar;C:\code\.m2\repository\org\antlr\stringtemplate\3.2\stringtemplate-3.2.jar;C:\code\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar;C:\code\.m2\repository\org\apache\commons-collections\3.2\commons-collections-3.2.jar;C:\code\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\code\.m2\repository\org\apache\commons\commons-math3\3.5\commons-math3-3.5.jar;C:\code\.m2\repository\org\apache\logging\log4j\log4j-api\2.1\log4j-api-2.1.jar;C:\code\.m2\repository\org\apache\logging\log4j\log4j-core\2.1\log4j-core-2.1.jar;C:\code\.m2\repository\org\apache\logging\log4j\log4j-slf4j-impl\2.1\log4j-slf4j-impl-2.1.jar;C:\code\.m2\repository\org\apache\mina\mina-core\1.1.0\mina-core-1.1.0.jar;C:\code\.m2\repository\org\aspectj\aspectjrt\1.8.1\aspectjrt-1.8.1.jar;C:\code\.m2\repository\org\ejml\all\0.28\all-0.28.jar;C:\code\.m2\repository\org\ejml\core\0.28\core-0.28.jar;C:\code\.m2\repository\org\ejml\dense64\0.28\dense64-0.28.jar;C:\code\.m2\repository\org\ejml\denseC64\0.28\denseC64-0.28.jar;C:\code\.m2\repository\org\ejml\equation\0.28\equation-0.28.jar;C:\code\.m2\repository\org\ejml\simple\0.28\simple-0.28.jar;C:\code\.m2\repository\org\javatuples\javatuples\1.2\javatuples-1.2.jar;C:\code\.m2\repository\org\jfree\jcommon\1.0.23\jcommon-1.0.23.jar;C:\code\.m2\repository\org\jfree\jfreechart\1.0.19\jfreechart-1.0.19.jar;C:\code\.m2\repository\org\mongodb\mongo-java-driver\2.10.1\mongo-java-driver-2.10.1.jar;C:\code\.m2\repository\org\reflections\reflections\0.9.8\reflections-0.9.8.jar;C:\code\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.5\jcl-over-slf4j-1.7.5.jar;C:\code\.m2\repository\org\slf4j\log4j-over-slf4j\1.7.5\log4j-over-slf4j-1.7.5.jar;C:\code\.m2\repository\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar;C:\code\.m2\repository\org\springframework\org.springframework.aop\3.1.4.RELEASE\org.springframework.aop-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\springframework\org.springframework.asm\3.1.4.RELEASE\org.springframework.asm-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\springframework\org.springframework.beans\3.1.4.RELEASE\org.springframework.beans-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\springframework\org.springframework.context\3.1.4.RELEASE\org.springframework.context-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\springframework\org.springframework.core\3.1.4.RELEASE\org.springframework.core-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\springframework\org.springframework.expression\3.1.4.RELEASE\org.springframework.expression-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\springframework\org.springframework.jdbc\3.1.4.RELEASE\org.springframework.jdbc-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\springframework\org.springframework.transaction\3.1.4.RELEASE\org.springframework.transaction-3.1.4.RELEASE.jar;C:\code\.m2\repository\org\w3c\dom\2.3.0-jaxb-1.0.6\dom-2.3.0-jaxb-1.0.6.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_40\jre\lib\rt.jar;C:\usr\bin\IntelliJ\15.0.3\lib\idea_rt.jar
com.intellij.rt.execution.application.AppMain
com.db.qdd.model.QDDMain
15082 0.026: Executable: C:\Program Files\Java\jdk1.8.0_40\bin\java.exe
15082 0.026: Windows 7; version 6.1.7601; 64-bit process
15082 0.030: hid: 16022DUX5WW56WV5ZZZ56WUXXW65YU09Z5UYWWW12U 64-bit machine
15082 0.030: Today is 20160127
15082 0.030: full_build_stamp: 15082 201512021559
15082 0.030: Agent library path: C:\usr\bin\yourkit\bin\win64\yjpagent.dll
15082 0.030: Agent_OnLoad: orig_options=sampling,sessionname=YJPQUOTED4344582045626f6f6b,profiler_dir=YJPQUOTED433a5c7573725c62696e5c796f75726b6974,ideport=64458,onexit=snapshot
full_options=sampling,sessionname=YJPQUOTED4344582045626f6f6b,profiler_dir=YJPQUOTED433a5c7573725c62696e5c796f75726b6974,ideport=64458,onexit=snapshot
15082 0.030: phase: 1
15082 0.030: jvmtiVersion: 30010203
15082 0.030: vendor: Oracle Corporation
15082 0.030: version: 25.40-b25
15082 0.030: info: mixed mode, sharing
15082 0.030: Java 8 detected
15082 0.030: session_id: 34996847460595 (1453932787,8148)
15082 0.033: line_method: 1
15082 0.043: Reusing existing jar file: C:\Windows\TEMP\yjp201512021559.jar
15082 0.045: JVMTI 30010203; 25.40-b25; Oracle Corporation; mixed mode, sharing; JR=0; I=0
15082 0.335: Successfully registered probe classes: 120
Registered: .AWTEvents$EventQueue_dispatchEvent_Probe
Registered: .AgentLoadingSupport$JBoss
Registered: .AgentLoadingSupport$OSGi1
Registered: .AgentLoadingSupport$OSGi2
Registered: .AgentLoadingSupport$OSGi3
Registered: .Databases$Connection_close_Probe
Registered: .Databases$Connection_createStatement_Probe
Registered: .Databases$Connection_prepareStatement_Probe
Registered: .Databases$DataSource_getConnection_Probe
Registered: .Databases$DataSource_setName_Probe
Registered: .Databases$DriverManager_getConnection_Probe
Registered: .Databases$Driver_connect_Probe
Registered: .Databases$InitialContext_lookup_Probe
Registered: .Databases$PooledConnection_getConnection_Probe
Registered: .Databases$PreparedStatement_addBatch_Probe
Registered: .Databases$PreparedStatement_clearBatch_Probe
Registered: .Databases$PreparedStatement_execute_Probe
Registered: .Databases$Statement_addBatch_Probe
Registered: .Databases$Statement_clearBatch_Probe
Registered: .Databases$Statement_close_Probe
Registered: .Databases$Statement_executeBatch_Probe
Registered: .Databases$Statement_execute_Probe
Registered: .DatabasesLW$Connection_close_Probe
Registered: .DatabasesLW$Connection_createStatement_Probe
Registered: .DatabasesLW$Connection_prepareStatement_Probe
Registered: .DatabasesLW$DataSource_getConnection_Probe
Registered: .DatabasesLW$DriverManager_getConnection_Probe
Registered: .DatabasesLW$Driver_connect_Probe
Registered: .DatabasesLW$PooledConnection_getConnection_Probe
Registered: .DatabasesLW$PreparedStatement_execute_Probe
Registered: .DatabasesLW$Statement_close_Probe
Registered: .DatabasesLW$Statement_execute_Probe1
Registered: .DatabasesLW$Statement_execute_Probe2
Registered: .Files$FileChannel_read_Probe
Registered: .Files$FileChannel_write_Probe
Registered: .Files$FileInputStream_close_Probe
Registered: .Files$FileInputStream_open_Probe
Registered: .Files$FileInputStream_readBytes_Probe
Registered: .Files$FileInputStream_read_Probe
Registered: .Files$FileOutputStream_close_Probe
Registered: .Files$FileOutputStream_open_Probe
Registered: .Files$FileOutputStream_writeBytes_Probe
Registered: .Files$FileOutputStream_write_Probe
Registered: .Files$GetChannel_Probe
Registered: .Files$RandomAccessFile_close_Probe
Registered: .Files$RandomAccessFile_open_Probe
Registered: .Files$RandomAccessFile_readBytes_Probe
Registered: .Files$RandomAccessFile_read_Probe
Registered: .Files$RandomAccessFile_writeBytes_Probe
Registered: .Files$RandomAccessFile_write_Probe
Registered: .FilesLW$FileChannelsTelemetry$FileChannel_read_Probe
Registered: .FilesLW$FileChannelsTelemetry$FileChannel_write_Probe
Registered: .FilesLW$FileChannelsTelemetry$GetChannel_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_close_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_open_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_readBytes_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileInputStream_read_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_close_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_open_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_writeBytes_Probe
Registered: .FilesLW$FileStreamsTelemetry$FileOutputStream_write_Probe
Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_close_Probe
Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_open_Probe
Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_readBytes_Probe
Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_read_Probe
Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_writeBytes_Probe
Registered: .FilesLW$RandomAccessFilesTelemetry$RandomAccessFile_write_Probe
Registered: .JNDI$DirContext_1
Registered: .JNDI$DirContext_2
Registered: .JNDI$NamingContext_1
Registered: .JNDI$NamingContext_2
Registered: .JUnitTests$Old_Run_Probe
Registered: .JUnitTests$Old_SetUp_Probe
Registered: .JUnitTests$Old_TearDown_Probe
Registered: .JUnitTests$Run_Probe
Registered: .JUnitTests$SetUp_Probe
Registered: .JUnitTests$TearDown_Probe
Registered: .Processes$FileOutputStream_writeBytes_Probe
Registered: .Processes$FileOutputStream_write_Probe
Registered: .Processes$InputStream_readBytes_Probe
Registered: .Processes$InputStream_read_Probe
Registered: .Processes$ProcessImpl_getErrorStream_Probe
Registered: .Processes$ProcessImpl_getInputStream_Probe
Registered: .Processes$ProcessImpl_getOutputStream_Probe
Registered: .Processes$ProcessImpl_start_Probe
Registered: .Processes$ProcessImpl_waitFor_Probe
Registered: .Processes$.
Registered: .Servlets$Filter_doFilter_Probe
Registered: .Servlets$HttpJspPage_jspService_Probe
Registered: .Servlets$Servlet_service_Probe
Registered: .ServletsLW$Filter_doFilter_Probe
Registered: .ServletsLW$HttpJspPage_jspService_Probe
Registered: .ServletsLW$Servlet_service_Probe
Registered: .Sockets$ServerSocketChannel_accept_Probe
Registered: .Sockets$ServerSocket_accept_Probe
Registered: .Sockets$SocketChannel_close_Probe
Registered: .Sockets$SocketChannel_connect_Probe
Registered: .Sockets$SocketChannel_read_Probe
Registered: .Sockets$SocketChannel_write_Probe
Registered: .Sockets$SocketInputStream_read_Probe
Registered: .Sockets$SocketOutputStream_write_Probe
Registered: .Sockets$Socket_close_Probe
Registered: .Sockets$Socket_connect_Probe
Registered: .Sockets$Socket_getInputStream_Probe
Registered: .Sockets$Socket_getOutputStream_Probe
Registered: .SocketsLW$ServerSocketChannel_accept_Probe
Registered: .SocketsLW$ServerSocket_accept_Probe
Registered: .SocketsLW$SocketChannel_close_Probe
Registered: .SocketsLW$SocketChannel_connect_Probe
Registered: .SocketsLW$SocketChannel_read_Probe
Registered: .SocketsLW$SocketChannel_write_Probe
Registered: .SocketsLW$SocketInputStream_read_Probe
Registered: .SocketsLW$SocketOutputStream_write_Probe
Registered: .SocketsLW$Socket_close_Probe
Registered: .SocketsLW$Socket_connect_Probe
Registered: .TestNG$Test_Probe
Registered: .Threads$Thread_constructor_Probe
Registered: .Threads$Thread_run_Probe
Registered: .Threads$Thread_setName_Probe
Registered: .Threads$Thread_start_Probe
15082 0.488: agentStart: 1
15082 0.488: agentStart: 2
15082 0.493: findClass failed: com/yourkit/runtime/Callback

elcota
 
Posts: 3
Joined: Wed Jan 27, 2016 9:44 pm

Re: Unable to launch profiler from IntelliJ 15

Postby Anton Katilin » Wed Jan 27, 2016 10:42 pm

For some reason, the temporary directory is detected as C:\Windows\TEMP which is not accessible for a regular user.
Do you run under administrator? Did you tweak temporary directory settings somehow?

Anyway, please specify the startup option "tmpdir=c:\foo":
https://www.yourkit.com/docs/java/help/ ... ptions.jsp

...where "c:\foo" should be a directory to which the current user has read and write access.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Re: Unable to launch profiler from IntelliJ 15

Postby elcota » Wed Jan 27, 2016 10:45 pm

Thank you - this fixed the issue!
elcota
 
Posts: 3
Joined: Wed Jan 27, 2016 9:44 pm


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 10 guests

cron