[ 
https://issues.apache.org/jira/browse/NETBEANS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884926#comment-16884926
 ] 

Heinrich Schuchardt edited comment on NETBEANS-298 at 7/15/19 8:30 AM:
-----------------------------------------------------------------------

Profiling fails completely

But this seems already to be described in #1428

https://issues.apache.org/jira/browse/NETBEANS-1428

 
 *Product Version:* Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)

*Java:* 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12

*Runtime:* OpenJDK Runtime Environment 12.0.1+12

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
{quote}— exec-maven-plugin:1.5.0:exec (default-cli) @ scalgorithms —
 Picked up _JAVA_OPTIONS: 
-Djavax.net.ssl.trustStore=c:\windows\sun\java\deployment\trusted.cacerts
 Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds 
(Protocol version: 18)
 Profiler Agent: Established connection with the tool
 WARNING: An illegal reflective access operation has occurred
 WARNING: Illegal reflective access by 
org.netbeans.lib.profiler.server.ClassLoaderManager to method 
java.lang.ClassLoader.findLoadedClass(java.lang.String)
 WARNING: Please consider reporting this to the maintainers of 
org.netbeans.lib.profiler.server.ClassLoaderManager
 WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
 WARNING: All illegal access operations will be denied in a future release
 Profiler Agent: Local accelerated session
 #
 # A fatal error has been detected by the Java Runtime Environment:
 #
 #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc0e3ec2d5, 
pid=21152, tid=21812
 #
 # JRE version: OpenJDK Runtime Environment (12.0.1+12) (build 12.0.1+12)
 # Java VM: OpenJDK 64-Bit Server VM (12.0.1+12, mixed mode, sharing, tiered, 
compressed oops, g1 gc, windows-amd64)
 # Problematic frame:
 # V  [jvm.dll+0x5ec2d5]
 #
 # No core dump will be written. Minidumps are not enabled by default on client 
versions of Windows
 #
 # An error report file with more information is saved as:
 # C:\Users\user\workspace\scalgorithms\hs_err_pid21152.log
 #
 # If you would like to submit a bug report, please visit:
 #   [http://bugreport.java.com/bugreport/crash.jsp]
 #
 Profiler Agent: Initializing...
 Profiler Agent: Options: 
>C:\Users\user\AppData\Local\Programs\netbeans\profiler\lib,5140,10<
 Profiler Agent: Initialized successfully
 Profiler Agent: 250 classes cached.
 Profiler Agent: 250 classes cached.
 Profiler Agent: 250 classes cached.
 Profiler Agent: 250 classes cached.
 Profiler Agent: 250 classes cached.
 Profiler Agent: 250 classes cached.
 Profiler Agent: 250 classes cached.
 Command execution failed.
 org.apache.commons.exec.ExecuteException: Process exited with an error: 1 
(Exit value: 1)
     at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
     at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
     at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
     at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
     at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
     at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
     at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
     at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
     at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
     at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
     at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
     at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
     at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:567)
     at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
     at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
     at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
     at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356){quote}
 

 


was (Author: xypron):
Profiling fails completely

 
*Product Version:* Apache NetBeans IDE 11.0 (Build 
incubator-netbeans-release-404-on-20190319)

*Java:* 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12

*Runtime:* OpenJDK Runtime Environment 12.0.1+12

*System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
{quote}--- exec-maven-plugin:1.5.0:exec (default-cli) @ scalgorithms ---
Picked up _JAVA_OPTIONS: 
-Djavax.net.ssl.trustStore=c:\windows\sun\java\deployment\trusted.cacerts
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds 
(Protocol version: 18)
Profiler Agent: Established connection with the tool
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.netbeans.lib.profiler.server.ClassLoaderManager to method 
java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.lib.profiler.server.ClassLoaderManager
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Profiler Agent: Local accelerated session
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc0e3ec2d5, pid=21152, 
tid=21812
#
# JRE version: OpenJDK Runtime Environment (12.0.1+12) (build 12.0.1+12)
# Java VM: OpenJDK 64-Bit Server VM (12.0.1+12, mixed mode, sharing, tiered, 
compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0x5ec2d5]
#
# No core dump will be written. Minidumps are not enabled by default on client 
versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\user\workspace\scalgorithms\hs_err_pid21152.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Profiler Agent: Initializing...
Profiler Agent: Options: 
>C:\Users\user\AppData\Local\Programs\netbeans\profiler\lib,5140,10<
Profiler Agent: Initialized successfully
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)
    at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
    at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
    at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
{quote}
 

 

> Warning profiling a JDK9 based process
> --------------------------------------
>
>                 Key: NETBEANS-298
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-298
>             Project: NetBeans
>          Issue Type: Bug
>          Components: profiler - Engine
>    Affects Versions: 9.0, 11.0
>            Reporter: Sven Reimers
>            Priority: Major
>              Labels: Jigsaw
>
> This is not yet a real problem but may become more of an issue with upcoming 
> jdk versions.
> {code:java}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.netbeans.lib.profiler.server.ClassLoaderManager to method 
> java.lang.ClassLoader.findLoadedClass(java.lang.String)
> WARNING: Please consider reporting this to the maintainers of 
> org.netbeans.lib.profiler.server.ClassLoaderManager
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future 
> release{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to