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

Lisa Ruby edited comment on NETBEANS-1428 at 11/28/20, 5:01 AM:
----------------------------------------------------------------

I am having this problem with AdoptOpenJDK 11.0.9 and Netbeans 12.0 LTS. Only 
happens when I try to profile Methods. It happens with even the simplest Java 
program/Netbeans Project. I reported it to AdoptOpenJDK, and they pointed me to 
this JIRA report. This is what I see: 


{{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
Starting main
In TestClass Constructor
In RunTestClass
Type something: 
48484848484848484848
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff893055fab, pid=11300, 
tid=18484
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.9+11) (build 
11.0.9+11)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.9+11, mixed mode, 
tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0x5a5fab]
#
# 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:
# D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\hs_err_pid11300.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
#
Profiler Agent: Initializing...
Profiler Agent: Options: >C:\Program 
Files\NetBeans-12.0\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.
D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\nbproject\build-impl.xml:1460:
 The following error occurred while executing this line:
D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\nbproject\build-impl.xml:1330:
 The following error occurred while executing this line:
D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\nbproject\build-impl.xml:936:
 Java returned: 1
BUILD FAILED (total time: 2 seconds)}}


was (Author: lbruby):
I am having this problem with this with AdoptOpenJDK 11.0.9 and Netbeans 12.0 
LTS. Only happens when I try to profile Methods. It happens with even the 
simplest Java program/Netbeans Project. I reported it to AdoptOpenJDK, and they 
pointed me to this JIRA report. This is what I see: 


{{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
Starting main
In TestClass Constructor
In RunTestClass
Type something: 
48484848484848484848
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff893055fab, pid=11300, 
tid=18484
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.9+11) (build 
11.0.9+11)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.9+11, mixed mode, 
tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0x5a5fab]
#
# 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:
# D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\hs_err_pid11300.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
#
Profiler Agent: Initializing...
Profiler Agent: Options: >C:\Program 
Files\NetBeans-12.0\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.
D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\nbproject\build-impl.xml:1460:
 The following error occurred while executing this line:
D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\nbproject\build-impl.xml:1330:
 The following error occurred while executing this line:
D:\mysoftware\NB12.0_TestProjects\TestProfilerNoFX\nbproject\build-impl.xml:936:
 Java returned: 1
BUILD FAILED (total time: 2 seconds)}}

> Fatal error when profiling
> --------------------------
>
>                 Key: NETBEANS-1428
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1428
>             Project: NetBeans
>          Issue Type: Bug
>          Components: profiler - Base
>    Affects Versions: 9.0, 10.0, 11.0
>         Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>            Reporter: Peter Hull
>            Priority: Major
>              Labels: netcat, pull-request-available
>         Attachments: hs_err_pid2496.log, hs_err_pid38528.log
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, 
> Step 2)
> I get the following error
> {{#}}
> {{# A fatal error has been detected by the Java Runtime Environment:}}
> {{#}}
> {{#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff8e831c775, 
> pid=38528, tid=38596}}
> {{#}}
> {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}}
> {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed 
> oops, g1 gc, windows-amd64)}}
> {{# Problematic frame:}}
> {{# V  [jvm.dll+0x5ec775]}}
> {{#}}
> {{# 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:}}
> {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}}
> {{#}}
> {{# If you would like to submit a bug report, please visit:}}
> {{#   http://bugreport.java.com/bugreport/crash.jsp}}
> {{#}}
> Seems reproducible, I have attached the crash log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to