-
Notifications
You must be signed in to change notification settings - Fork 3
/
report.html
135 lines (112 loc) · 5.02 KB
/
report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="DITA-OT" /><meta name="DC.type" content="task" />
<meta name="DC.title" content="Problems displaying reports" />
<meta name="copyright" content="Copyright (c) 2020, 2023 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ " type="primary" />
<meta name="DC.rights.owner" content="Copyright (c) 2020, 2023 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ " type="primary" />
<meta name="DC.format" content="XHTML" />
<meta name="DC.identifier" content="task_configure_mat" />
<meta name="DC.language" content="en-us" />
<link rel="stylesheet" type="text/css" href="../styles/commonltr.css" />
<title>Problems displaying reports</title>
</head>
<body id="task_configure_mat">
<h1 class="title topictitle1" id="ariaid-title1">Problems displaying reports</h1>
<div class="body taskbody">
<div class="section context">
<p class="p">
Sometimes Memory Analyzer does not display reports such as Leak
Suspects report
or Component report and displays a message such as:</p>
<ul class="ul">
<li class="li"><samp class="ph msgph">
Failed to create a browser because of:
org.eclipse.swt.SWTException:
Failed to execute runnable
(org.eclipse.swt.SWTError: No more
handles because no underlying
browser available.
</samp></li>
<li class="li"><samp class="ph msgph">org.eclipse.swt.SWTException: Failed to execute runnable
(org.eclipse.swt.SWTError: XPCOM error -2147467259)
</samp></li>
<li class="li"><samp class="ph msgph">Failed to create a browser because of: No more handles because no underlying browser available.
Please ensure Webkit with its Gtk 3.x bindings installed. Webkit2 API level preferred.</samp></li>
</ul>
</div>
<ol class="ol steps"><li class="li step stepexpand">
<span class="ph cmd">
Close Memory Analyzer.
</span>
</li>
<li class="li step stepexpand">
<div class="note"><span class="notetitle">Note:</span>
<p class="p">
On a Linux®<a name="fnsrc_1" href="#fntarg_1"><sup>1</sup></a> system, make sure that
<span class="keyword cmdname">webkit2gtk-4.0</span>
is installed.
</p>
</div>
<span class="ph cmd">
<span class="keyword cmdname">Select the latest version available of webkit2gtk-4.0
and install it.
</span>
</span>
<ul class="ul choices">
<li class="li choice">
<div class="p">
On an
Ubuntu®<a name="fnsrc_2" href="#fntarg_2"><sup>2</sup></a>
Linux® system use commands such as
<pre class="pre"><kbd class="ph userinput">sudo apt-get update
sudo apt-get install libwebkit2gtk-4.0
</kbd></pre>
</div>
</li>
<li class="li choice">
<div class="p">
On a
Red Hat®<a name="fnsrc_3" href="#fntarg_3"><sup>3</sup></a>
Linux® system use
<span class="keyword cmdname">yum</span>
<pre class="pre"><kbd class="ph userinput">yum install webkitgtk4</kbd></pre>
</div>
</li>
</ul>
<div class="itemgroup stepresult">
<p class="p">
The operating system should confirm that webkit2gtk-4 has
been properly installed
</p>
</div>
</li>
<li class="li step stepexpand">
<span class="ph cmd">
Restart Memory Analyzer
</span>
</li>
<li class="li step stepexpand">
<span class="ph cmd">
Open a heap dump.
</span>
</li>
<li class="li step stepexpand">
<span class="ph cmd">
Run a report such as
<a class="xref" href="runningleaksuspectreport.html">Leak Suspects report</a>
or
<a class="xref" href="../reference/inspections/component_report.html#ref_inspections_component_report__run">Component report</a>
and check how the report looks.
</span>
<div class="itemgroup stepresult">
Check the HTML report is displayed.
<br /><img class="image" src="../mimes/leaksuspects.png" alt="screen shot of leak suspects" /><br />
</div>
</li>
</ol>
</div>
<div class="fn"><a name="fntarg_1" href="#fnsrc_1"><sup>1</sup></a> Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.</div><div class="fn"><a name="fntarg_2" href="#fnsrc_2"><sup>2</sup></a> Ubuntu and Canonical are registered trademarks of Canonical Ltd.</div><div class="fn"><a name="fntarg_3" href="#fnsrc_3"><sup>3</sup></a> Red Hat is a registered trademark of Red Hat, Inc.</div></body>
</html>