Constantly asking to download index.html [message #1852610] |
Fri, 27 May 2022 03:30  |
Eclipse User |
|
|
|
Whatever report I try to open I'm asked 3 times to download index.html file.
I can't open any report inside eclipse and these index files don't contain style, so it's just a column of text.
Why is Eclipse MAT asking to download these files instead previewing them in new tab?
[Updated on: Fri, 27 May 2022 16:25] by Moderator
|
|
|
|
Re: Constantly asking to download index.html [message #1852642 is a reply to message #1852639] |
Sun, 29 May 2022 10:40   |
Eclipse User |
|
|
|
>Which version of MAT?
Memory Analyzer 1.12.0.202106020830
>Which operating system?
ArchLinux
I have the following webkits installed:
❯ pacman -Q | grep webkit
webkit2gtk 2.36.3-1
webkit2gtk-4.1 2.36.3-1
webkit2gtk-5.0 2.36.3-1
>Have you followed the advice for Problems displaying reports
I don't get the error described on top of this page.
I only get asked to download index.html without styles.
Example content of such file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-type" content="text/html;charset=UTF-8"><title>Leak Suspects</title><link rel="stylesheet" type="text/css" href="styles.css"><link rel="contents" href="toc.html"><link rel="start" href="index.html"><script src="code.js" type="text/javascript"></script></head><body onload="preparepage();"><div><input type="hidden" id="imageBase" value="img/" title="hide / unhide"></div><div id="header"><a class="sr-only" href="#content">Skip to main content</a><ul><li><a href="#content">Leak Suspects</a></li></ul></div>
<div id="content"><h1 id="i1">Leak Suspects</h1><h2 id="i2"><a href="pages/System_Overview2.html">System Overview</a></h2><h2 id="i8"><a href="#" onclick="hide(this, 'exp8'); return false;" title="hide / unhide"><img src="img/opened.gif" alt=""></a> <img src="img/error.gif" alt="Status: error."> Leaks <a href="mat://query/leakhunter" title="Open in Memory Analyzer: leakhunter"><img src="img/open.gif" alt=""></a></h2><div id="exp8"><h5 id="i16"><a href="#" onclick="hide(this, 'exp16'); return false;" title="hide / unhide"><img src="img/opened.gif" alt=""></a> Overview</h5><div id="exp16"><map name='chart16map'><area shape="poly" coords="686,146,836,146,836,160,686,160" alt="Slice (a) Problem Suspect 1: Shallow Size: 16 B Retained Size: 28.1 MB" href="mat://object/0xa2f3fd10" title="(a) Problem Suspect 1: Shallow Size: 16 B Retained Size: 28.1 MB"><area shape="poly" coords="686,168,836,168,836,182,686,182" alt="Slice (b) Problem Suspect 2: Shallow Size: 24 B Retained Size: 24.5 MB" href="mat://object/0xa240ba78" title="(b) Problem Suspect 2: Shallow Size: 24 B Retained Size: 24.5 MB"><area shape="poly" coords="686,189,836,189,836,203,686,203" alt="Slice (c) Remainder: Retained Size: 151.3 MB" title="(c) Remainder: Retained Size: 151.3 MB"></map><img src="chart16.png" width="850" height="350" usemap='#chart16map' alt="Pie chart with 3 slices: Total: 203.8 MB" title="Pie chart with 3 slices"></div><h3 id="i17"><a href="#" onclick="hide(this, 'exp17'); return false;" title="hide / unhide"><img src="img/opened.gif" alt=""></a> <img src="img/error.gif" alt="Status: error."> Problem Suspect 1</h3><div id="exp17"><div class="important"><div><p>13 instances of <strong><q>org.infinispan.container.impl.DefaultSegmentedDataContainer</q></strong>, loaded by <strong><q>jdk.internal.loader.ClassLoaders$AppClassLoader @ 0xa24006f8</q></strong> occupy <strong>28.06 MB (13.77%)</strong> bytes. <p>Biggest instances:</p><ul title="Biggest instances:"><li>org.infinispan.container.impl.DefaultSegmentedDataContainer @ 0xa30380e0 - 12.93 MB (6.34%) bytes. </li><li>org.infinispan.container.impl.DefaultSegmentedDataContainer @ 0xa30249d8 - 7.96 MB (3.91%) bytes. </li><li>org.infinispan.container.impl.DefaultSegmentedDataContainer @ 0xa2cb0e60 - 3.98 MB (1.95%) bytes. </li><li>org.infinispan.container.impl.DefaultSegmentedDataContainer @ 0xa568fff0 - 2.07 MB (1.01%) bytes. </li></ul><p><strong>Keywords</strong></p><ul style="list-style-type:none;" title="Keywords"><li>org.infinispan.container.impl.DefaultSegmentedDataContainer</li><li>jdk.internal.loader.ClassLoaders$AppClassLoader @ 0xa24006f8</li></ul></div><div><a href="pages/19.html">Details »</a></div></div></div><h3 id="i18"><a href="#" onclick="hide(this, 'exp18'); return false;" title="hide / unhide"><img src="img/opened.gif" alt=""></a> <img src="img/error.gif" alt="Status: error."> Problem Suspect 2</h3><div id="exp18"><div class="important"><div><p>171,461 instances of <strong><q>java.lang.String</q></strong>, loaded by <strong><q><system class loader></q></strong> occupy <strong>24.53 MB (12.04%)</strong> bytes. <p><strong>Keywords</strong></p><ul style="list-style-type:none;" title="Keywords"><li>java.lang.String</li></ul></div><div><a href="pages/23.html">Details »</a></div></div></div></div><br></div><div id="footer" class="toc"><a href="toc.html">Table Of Contents</a><div class="mat">Created by <a href="http://www.eclipse.org/mat/" target="_blank">Eclipse Memory Analyzer</a></div></div>
</body></html>
The tab where report should be displayed can be inspected and looks like this:

The following messages are logged:
❯ eclipse-mat
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.eclipse.osgi.internal.framework.SystemBundleActivator (file:/opt/eclipse-mat/plugins/org.eclipse.osgi_3.16.300.v20210525-1715.jar)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.internal.framework.SystemBundleActivator
WARNING: System::setSecurityManager will be removed in a future release
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:83:29: The style property GtkStatusbar:shadow-type is deprecated and shouldn't be used anymore. It will be removed in a future version
(WebKitWebProcess:117438): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(WebKitWebProcess:117438): Gtk-WARNING **: 15:39:23.035: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(WebKitWebProcess:117438): Gtk-WARNING **: 15:39:23.036: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(WebKitWebProcess:117438): Gtk-WARNING **: 15:39:23.036: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.049: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.049: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.049: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.049: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.049: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.049: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-WARNING **: 15:39:23.049: Theme parsing error: gtk.css:83:29: The style property GtkStatusbar:shadow-type is deprecated and shouldn't be used anymore. It will be removed in a future version
(Eclipse Memory Analyzer:117100): Gtk-CRITICAL **: 15:39:26.311: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(WebKitWebProcess:118873): Gtk-WARNING **: 15:39:32.236: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(WebKitWebProcess:118873): Gtk-WARNING **: 15:39:32.236: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(WebKitWebProcess:118873): Gtk-WARNING **: 15:39:32.236: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(WebKitWebProcess:118873): Gtk-WARNING **: 15:39:32.236: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
|
|
|
|
|
|
Re: Constantly asking to download index.html [message #1867629 is a reply to message #1852610] |
Tue, 02 July 2024 05:32  |
Eclipse User |
|
|
|
akeryw_name akeryw_lastname wrote on Fri, 27 May 2022 07:30Whatever report I try to open I'm asked 3 times to download index.html file.
I can't open any report inside eclipse and these index files don't contain style, so it's just a column of text.
Why is Eclipse MAT asking to download these files instead previewing them in new tab?
Your reports may not be shown appropriately by the Eclipse Memory Analyzer Tool. It asks you to download an "index.html" file with an incorrect layout and style instead of previewing the reports.
[There are several possible causes for this behavior:
The report files may be corrupted or not in the right format.
Your Eclipse installation or the Eclipse MAT plugin may be having configuration problems.
The report files may be referenced outside resources (such as CSS files) that the Eclipse MAT cannot access.
Here are some things you can attempt to troubleshoot this issue:
Check that the report files are intact. To check if they display correctly, try opening them in a web browser or with another program.
Make sure the Eclipse MAT plugin is configured appropriately by checking it.
Instead of opening the reports through Eclipse MAT, try opening them directly in a web browser. This will assist you in identifying whether the problem is with the report files themselves or the Eclipse MAT specifically.
Try incorporating the external resources with the report files or changing the report files to utilize inline styles if the reports are referring them.
Should the problem continue, you might need to ask the Eclipse MAT support group or the creators of the program you're using to create the reports for more help.
With any luck, this clarifies the issue and offers some suggestions for resolving it. Please contact me with any more queries.
|
|
|
Powered by
FUDForum. Page generated in 0.04558 seconds