This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 148281 [details] Profiler log. Profiler writes some class files to project folder while changing session from CPU to memory profiling. To reproduce: - create Anagram sample project - right-click project node and choose Profile - select CPU -> Advanced -> Profile All Classes - click Run - wait until application is started - click "Modify Profiling Session..." - select Memory -> Advanced - click Run and after while it prints error message with list of classes and also those classes are stored in root folder of the project Profiler Agent Error: Redefinition failed for classes: java.util.logging.LogManager$3 java.util.logging.LogManager$2 javax.swing.text.DefaultCaret$Handler java.util.logging.LogManager$1 Product Version: NetBeans IDE Dev (Build 201407240001) Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
It works fine with JDK 7u60.
Fixed in profiler-main changeset: 275894:cdc38fbff446 user: Tomas Hurka <thurka@netbeans.org> date: Thu Jul 24 16:28:44 2014 +0200 summary: bugfix #245960, ClassBytesLoader.getClassFileBytes() can return null for synthetic classes
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cdc38fbff446 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #245960, ClassBytesLoader.getClassFileBytes() can return null for synthetic classes