Re: Netbeans 9 profiler
On 07/14/2018 10:49 AM, Glenn Holmer wrote: > Source level is set to 9, Java platform is JDK10. Running under OpenJDK > 10. I was also on the profiler tribe for NetCAT. We only tested against > 8 and 10 since we knew that 9 would be superseded by the time NetBeans > 9.0 was released. Tried with both Maven and Ant project types. P.S. This was under Linux (Debian "Stretch"). -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Netbeans 9 profiler
On 07/14/2018 05:59 AM, Peter Hull wrote: > Do you agree that there are two (probably independent) problems here, > first the reflection warning, second the JVM crash? (I'm assuming this > is reproducible for everyone?) I don't get the VM crash. Followed Alan's steps: > Create new java application with main class. > Add System.out.println("Hello world"); > Change java platform to java9 (properties). > Change source/binary format to java9 (properties). > Run profiler, methods, all classes. Source level is set to 9, Java platform is JDK10. Running under OpenJDK 10. I was also on the profiler tribe for NetCAT. We only tested against 8 and 10 since we knew that 9 would be superseded by the time NetBeans 9.0 was released. Tried with both Maven and Ant project types. 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 Profiler Agent: Initializing... Profiler Agent: Options: >/mnt/common/netbeans-9.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. Hello World Profiler Agent: Connection with agent closed Profiler Agent: Connection with agent closed Profiler Agent: 250 classes cached. BUILD SUCCESS Total time: 7.359 s Finished at: 2018-07-14T10:37:19-05:00 Final Memory: 7M/34M -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 9 profiler
Hi Everyone, I also have no issues with the profiler (ran through the same steps as outlined by Alan) on OS X 10.13.5. I was part of the NetCAT for profiler as well. I am leaning towards a Windows-specific issue perhaps. Josh Juneau juneau...@gmail.com http://jj-blogger.blogspot.com https://www.apress.com/index.php/author/author/view/id/1866 On Sat, Jul 14, 2018 at 7:51 AM, Sven Reimers wrote: > Hi all.. > > I was part of the NetCat Profiler tribe and I remember having some > problems in the early phase but nothing later on... > > I am using OS X... so maybe something > specific with Windows? > > What version of Windows are you using... > > @NetCat anyone able to reproduce? > > I still have to check the crashdump... > > But probably some feedback grom the JBS may be helpful > > -Sven > > Geertjan Wielenga schrieb am > Sa., 14. Juli 2018, 11:39: > >> That’s correct vc3 is the one to use. >> >> Note that at this stage it is very unlikely we’re going to fix anything >> for the 9.0 release. That is set to be released in August, the voting going >> well so far. However, we intend to have quarterly releases and this can be >> included in the next release — note that some problems in the Profiler area >> have already been fixed and so this must be something different. >> >> I hope you understand. We can’t create another whole new build and >> restart voting from scratch at this stage, unless we as a community decide >> that this is what must be done, delaying the release significantly. >> >> Gj >> >> >> On Saturday, July 14, 2018, Peter Hull wrote: >> >>> Obviously I can't speak for anyone else, but I am using vc3 which I >>> understand is the latest version (newer than rc1, is that correct?) >>> Pete >>> >>> >>> On Sat, 14 Jul 2018 at 08:02 Geertjan Wielenga < >>> geertjan.wiele...@googlemail.com> wrote: >>> Are you using rc1 or the vc3 build? See blogs.apache.org/netbeans. Thanks, Gj On Saturday, July 14, 2018, Peter Hull wrote: > On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer > wrote: > > > > [Sorry if this appears twice, T-bird crashed while sending.] > I only saw it once! > > > Yes, I couldn't find it either. FYI, this was reported during NetCAT: > > > > https://issues.apache.org/jira/browse/NETBEANS-298 > I'm not sure it's the same thing; Alan's report does include that > reflection warning, but there's also a 'hard' crash in the JVM itself > where it gets a EXCEPTION_ACCESS_VIOLATION. > > Pete > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
Re: Netbeans 9 profiler
Hi all.. I was part of the NetCat Profiler tribe and I remember having some problems in the early phase but nothing later on... I am using OS X... so maybe something specific with Windows? What version of Windows are you using... @NetCat anyone able to reproduce? I still have to check the crashdump... But probably some feedback grom the JBS may be helpful -Sven Geertjan Wielenga schrieb am Sa., 14. Juli 2018, 11:39: > That’s correct vc3 is the one to use. > > Note that at this stage it is very unlikely we’re going to fix anything > for the 9.0 release. That is set to be released in August, the voting going > well so far. However, we intend to have quarterly releases and this can be > included in the next release — note that some problems in the Profiler area > have already been fixed and so this must be something different. > > I hope you understand. We can’t create another whole new build and restart > voting from scratch at this stage, unless we as a community decide that > this is what must be done, delaying the release significantly. > > Gj > > > On Saturday, July 14, 2018, Peter Hull wrote: > >> Obviously I can't speak for anyone else, but I am using vc3 which I >> understand is the latest version (newer than rc1, is that correct?) >> Pete >> >> >> On Sat, 14 Jul 2018 at 08:02 Geertjan Wielenga < >> geertjan.wiele...@googlemail.com> wrote: >> >>> Are you using rc1 or the vc3 build? >>> >>> See blogs.apache.org/netbeans. >>> >>> Thanks, >>> >>> Gj >>> >>> >>> On Saturday, July 14, 2018, Peter Hull wrote: >>> On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer wrote: > > [Sorry if this appears twice, T-bird crashed while sending.] I only saw it once! > Yes, I couldn't find it either. FYI, this was reported during NetCAT: > > https://issues.apache.org/jira/browse/NETBEANS-298 I'm not sure it's the same thing; Alan's report does include that reflection warning, but there's also a 'hard' crash in the JVM itself where it gets a EXCEPTION_ACCESS_VIOLATION. Pete - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 9 profiler
Well, I’m a little bit surprised by these developments since fixes have been put in specificslly to enable the Profiler to work with JDK 9 and 10, by Sven Reimers and Jan Lahoda, so a bit more investigation needs to be done before drawing any conclusions here. Gj On Saturday, July 14, 2018, Peter Hull wrote: > On Sat, Jul 14, 2018 at 10:39 AM Geertjan Wielenga > wrote: > > I hope you understand. We can’t create another whole new build and > restart voting from scratch at this stage, unless we as a community decide > that this is what must be done, delaying the release significantly. > I do understand. > Do you agree that there are two (probably independent) problems here, > first the reflection warning, second the JVM crash? (I'm assuming this > is reproducible for everyone?) > The first is NETBEANS-298 and it is a warning that can be dealt with > in a future release. > The second is not Netbean's fault - as I understand it, it should not > be possible to crash the JVM like this from Java code (correct me if > I'm wrong!). Alan has reported this to Oracle and I will be interested > to see the response. However, wherever the problem lies, the result is > that NB's profiler doesn't work. Is there a JIRA issue filed on this? > The community may decide this is a blocker but they can't judge that > if there's no issue on record. > Thanks as always for your help on this. > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
Re: Netbeans 9 profiler
On Sat, Jul 14, 2018 at 10:39 AM Geertjan Wielenga wrote: > I hope you understand. We can’t create another whole new build and restart > voting from scratch at this stage, unless we as a community decide that this > is what must be done, delaying the release significantly. I do understand. Do you agree that there are two (probably independent) problems here, first the reflection warning, second the JVM crash? (I'm assuming this is reproducible for everyone?) The first is NETBEANS-298 and it is a warning that can be dealt with in a future release. The second is not Netbean's fault - as I understand it, it should not be possible to crash the JVM like this from Java code (correct me if I'm wrong!). Alan has reported this to Oracle and I will be interested to see the response. However, wherever the problem lies, the result is that NB's profiler doesn't work. Is there a JIRA issue filed on this? The community may decide this is a blocker but they can't judge that if there's no issue on record. Thanks as always for your help on this. - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 9 profiler
That’s correct vc3 is the one to use. Note that at this stage it is very unlikely we’re going to fix anything for the 9.0 release. That is set to be released in August, the voting going well so far. However, we intend to have quarterly releases and this can be included in the next release — note that some problems in the Profiler area have already been fixed and so this must be something different. I hope you understand. We can’t create another whole new build and restart voting from scratch at this stage, unless we as a community decide that this is what must be done, delaying the release significantly. Gj On Saturday, July 14, 2018, Peter Hull wrote: > Obviously I can't speak for anyone else, but I am using vc3 which I > understand is the latest version (newer than rc1, is that correct?) > Pete > > > On Sat, 14 Jul 2018 at 08:02 Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> Are you using rc1 or the vc3 build? >> >> See blogs.apache.org/netbeans. >> >> Thanks, >> >> Gj >> >> >> On Saturday, July 14, 2018, Peter Hull wrote: >> >>> On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer >>> wrote: >>> > >>> > [Sorry if this appears twice, T-bird crashed while sending.] >>> I only saw it once! >>> >>> > Yes, I couldn't find it either. FYI, this was reported during NetCAT: >>> > >>> > https://issues.apache.org/jira/browse/NETBEANS-298 >>> I'm not sure it's the same thing; Alan's report does include that >>> reflection warning, but there's also a 'hard' crash in the JVM itself >>> where it gets a EXCEPTION_ACCESS_VIOLATION. >>> >>> Pete >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>> For additional commands, e-mail: users-h...@netbeans.apache.org >>> >>> For further information about the NetBeans mailing lists, visit: >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>> >>>
Re: Netbeans 9 profiler
Obviously I can't speak for anyone else, but I am using vc3 which I understand is the latest version (newer than rc1, is that correct?) Pete On Sat, 14 Jul 2018 at 08:02 Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Are you using rc1 or the vc3 build? > > See blogs.apache.org/netbeans. > > Thanks, > > Gj > > > On Saturday, July 14, 2018, Peter Hull wrote: > >> On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer >> wrote: >> > >> > [Sorry if this appears twice, T-bird crashed while sending.] >> I only saw it once! >> >> > Yes, I couldn't find it either. FYI, this was reported during NetCAT: >> > >> > https://issues.apache.org/jira/browse/NETBEANS-298 >> I'm not sure it's the same thing; Alan's report does include that >> reflection warning, but there's also a 'hard' crash in the JVM itself >> where it gets a EXCEPTION_ACCESS_VIOLATION. >> >> Pete >> >> - >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >> For additional commands, e-mail: users-h...@netbeans.apache.org >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >>
Re: Netbeans 9 profiler
Are you using rc1 or the vc3 build? See blogs.apache.org/netbeans. Thanks, Gj On Saturday, July 14, 2018, Peter Hull wrote: > On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer > wrote: > > > > [Sorry if this appears twice, T-bird crashed while sending.] > I only saw it once! > > > Yes, I couldn't find it either. FYI, this was reported during NetCAT: > > > > https://issues.apache.org/jira/browse/NETBEANS-298 > I'm not sure it's the same thing; Alan's report does include that > reflection warning, but there's also a 'hard' crash in the JVM itself > where it gets a EXCEPTION_ACCESS_VIOLATION. > > Pete > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
Re: Netbeans 9 profiler
On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer wrote: > > [Sorry if this appears twice, T-bird crashed while sending.] I only saw it once! > Yes, I couldn't find it either. FYI, this was reported during NetCAT: > > https://issues.apache.org/jira/browse/NETBEANS-298 I'm not sure it's the same thing; Alan's report does include that reflection warning, but there's also a 'hard' crash in the JVM itself where it gets a EXCEPTION_ACCESS_VIOLATION. Pete - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 9 profiler
[Sorry if this appears twice, T-bird crashed while sending.] On 07/13/2018 07:09 AM, Peter Hull wrote: > On Fri, 13 Jul 2018 at 12:51 Alan Mathewson > wrote: >> >> Yes, I've just reported the bug. >> > As a matter of interest, could you let us know the bug report number > as I'd like to see how it progresses? Yes, I couldn't find it either. FYI, this was reported during NetCAT: https://issues.apache.org/jira/browse/NETBEANS-298 -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 9 profiler
On Fri, 13 Jul 2018 at 12:51 Alan Mathewson wrote: > > Yes, I've just reported the bug. > As a matter of interest, could you let us know the bug report number as I'd like to see how it progresses? I tried to find it on the bug report site but the search feature is really limited. Pete - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 9 profiler
Yes, I've just reported the bug. I also get the same profiler crash with java 10. From: Peter Hull Sent: 13 July 2018 11:43 To: users@netbeans.apache.org Subject: Re: Netbeans 9 profiler On Fri, Jul 13, 2018 at 11:18 AM Alan Mathewson mailto:mathewson_a...@hotmail.com>> wrote: I get a very similar error on Windows 10 64-bit/Oracle JDK 10. Did you also report it to the bugreport.java.com<http://bugreport.java.com> link given in the error log? Pete
Re: Netbeans 9 profiler
On Fri, Jul 13, 2018 at 11:18 AM Alan Mathewson wrote: I get a very similar error on Windows 10 64-bit/Oracle JDK 10. Did you also report it to the bugreport.java.com link given in the error log? Pete hs_err_pid12032.log Description: Binary data - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Netbeans 9 profiler
Create new java application with main class. Add System.out.println("Hello world"); Change java platform to java9 (properties). Change source/binary format to java9 (properties). Run profiler, methods, all classes. profile: 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 Hello world # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x55ba09c5, pid=4984, tid=8716 # # JRE version: OpenJDK Runtime Environment (9.0+181) (build 9+181) # Java VM: OpenJDK 64-Bit Server VM (9+181, mixed mode, tiered, compressed oops, g1 gc, windows-amd64) # Problematic frame: # V [jvm.dll+0x5009c5] # # 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:\000Imaging\JavaApplication5\hs_err_pid4984.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\Otto\Downloads\incubating-netbeans-java-9.0-bin\netbeans\profiler\lib,5140,10< Profiler Agent: Initialized successfully Profiler Agent: 250 classes cached. Profiler Agent: 250 classes cached. Profiler Agent: 250 classes cached. C:\Users\Otto\AppData\Local\NetBeans\Cache\9.0\executor-snippets\profile.xml:126: The following error occurred while executing this line: C:\Users\Otto\AppData\Local\NetBeans\Cache\9.0\executor-snippets\profile.xml:80: Java returned: 1 BUILD FAILED (total time: 5 seconds) hs_err_pid4984.log Description: hs_err_pid4984.log - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans 9 profiler
Step by step instructions and then someone can try them out. Thanks, Gj On Thu, Jul 12, 2018 at 5:36 PM, Alan Mathewson wrote: > Hi, I cannot seem to be able to run the netbeans 9 profiler properly. > > > Telemetry and Objects(all classes) work fine. > > > For Methods I get the error below. > > > Note the error also occurs with jdk 10. > > > Please advise, > > Thanks, > > Alan. > > > profile: > 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 > logger active... > # > # A fatal error has been detected by the Java Runtime Environment: > # > # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6f7a09c5, > pid=492, tid=6488 > # > # JRE version: OpenJDK Runtime Environment (9.0+181) (build 9+181) > # Java VM: OpenJDK 64-Bit Server VM (9+181, mixed mode, tiered, compressed > oops, g1 gc, windows-amd64) > # Problematic frame: > # V [jvm.dll+0x5009c5] > # > # 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:\000Imaging\ImagingTest0766-java9\hs_err_pid492.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\Otto\Downloads\ > incubating-netbeans-java-9.0-bin\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. > C:\Users\Otto\AppData\Local\NetBeans\Cache\9.0\executor-snippets\profile.xml:126: > The following error occurred while executing this line: > C:\Users\Otto\AppData\Local\NetBeans\Cache\9.0\executor-snippets\profile.xml:50: > Java returned: 1 > BUILD FAILED (total time: 3 seconds) > > > > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >