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 145562 [details] snapshots for issue 4. Issue 1: Start Netbeans on Non- English locale system. CPU Profiler on a Jave MEEP Application, Save the snapshot in XML and HTML format Open the XML and HTML file on web Browser, Shown incorrect. This bug caused by encode conflict : 1. XML and HTML file was saved in ANSI encoding 2. Properties encoding/charset was set to UTF-8 in xml and HTML. Issue 2: CPU Profiler on a Jave MEEP Application, Save the snapshot in html format Open the html file, you will find there is no time unit in 'Total Time' column. Issue 3: CPU Profiler on a Jave MEEP Application, Save the snapshot in XML format Open the XML File: <?xml version="1.0" encoding="UTF-8"?> <ExportedView Name="Call Tree" type="tree"> <tree> <node> <Name>All threads</Name> <Parent>none</Parent> <Time_Relative>0.00%</Time_Relative> <Time>0</Time> <Invocations>0</Invocations> <node> <Name></Name> <Parent>All threads</Parent> <Time_Relative>100.00%</Time_Relative> <Time>20280000</Time> <Invocations>1</Invocations> <node> Here Hot Spots for 'All threads' Node should not shown as '0.00%' I think the expect result should be : <?xml version="1.0" encoding="UTF-8"?> <ExportedView Name="Call Tree" type="tree"> <tree> <node> <Name>All threads</Name> <Parent>none</Parent> <Time_Relative>100.00%</Time_Relative> <Time>20280000</Time> <Invocations>1</Invocations> <node> Issue 4: 1. CPU Profiler on a Jave MEEP Application, 2. Save the snapshot in .nps format 3. Stop the application and close the CPU Profiler editor. 4. CPU Profiler on a Jave MEE Application again, Compare currently snapshot with the .nps file saved in step 2. Save the snapshot comparision result in a html file. Open the html file, you will find the total Time [%] column always shown as 0.00% or -0.00%.
Can you please create separate issue for each problem?
There are 3 new bugs for Issue 1,2 and 3, Issue 1: Bug 242347 Issue 2: Bug 242348 Issue 3: Bug 242349 please just focused on Issue 4 in this bug.
I am unable to reproduce the issue. whenever I compare the snapshots, the differences which are shown in the ui in the call tree diff are exported correctly. That is if there are some rows with 0.00% or -0.00% these are the rows which are not shown in ui (not having any difference between the snapshots). If you are able to reproduce the problem, please provide the detailed steps to reproduce and perhaps even the two snapshots which were used for the comparison.