[ 
https://issues.apache.org/jira/browse/FELIX-2952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated FELIX-2952:
-----------------------------------

    Description: 
Using Web Console 3.1.8 and Web Console Memory Usage Plugin 1.0.2 the result of 
the POST-Request after clicking "Dump Heap" is swallowed, because the page is 
automatically reloaded just after the pop-up dialog was shown. The timeframe is 
much too short to be able to read the message in the dialog. This is especially 
annoying in a case where the dialog says, something like: Failed dumping the 
heap, JVM does not provide known mechanism to create a Heap Dump. I can 
reproduce the behaviour with Chrome (11.0), Firefox (4.0.1). 

With IE7 I only get a Javascript error message when I load the Memory Usage 
plugin in the browser because of line 169:
var __overall__ = {'Verbose Memory Output':'yes','Pending Finalizable 
Objects':'0','Overall Heap Memory Usage':'init = 1610612736(1572864K) used = 
1705655200(1665678K) committed = 2147287040(2096960K) max = 
2147287040(2096960K)','Overall Non-Heap Memory Usage':'init = 
136773632(133568K) used = 421843952(411956K) committed = 671977472(656228K) max 
= 2197815296(2146304K)',};

IE does not like that after the last comma (character 374 in that line) doesn't 
follow a string, label or number


  was:
Using Web Console 3.1.8 and Web Console Memory Usage Plugin 1.0.2 the result of 
the POST-Request after clicking "Dump Heap" is swallowed, because the page is 
automatically reloaded just after the pop-up dialog was shown. The timeframe is 
much too short to be able to read the message in the dialog. This is especially 
annoying in a case where the dialog says, something like: Failed dumping the 
heap, JVM does not provide known mechanism to create a Heap Dump. I can 
reproduce the behaviour with Chrome (11.0), Firefox (4.0.1). 

With IE7 I only get a Javascript error message when I load the Memory Usage 
plugin in the browser because of line 169:
var __overall__ = {'Verbose Memory Output':'yes','Pending Finalizable 
Objects':'0','Overall Heap Memory Usage':'init = 1610612736(1572864K) used = 
1705655200(1665678K) committed = 2147287040(2096960K) max = 
2147287040(2096960K)','Overall Non-Heap Memory Usage':'init = 
136773632(133568K) used = 421843952(411956K) committed = 671977472(656228K) max 
= 2197815296(2146304K)',};

IE does not like that after the last comma follows nothing.



> Error messages in memoryusage plugin swallowed
> ----------------------------------------------
>
>                 Key: FELIX-2952
>                 URL: https://issues.apache.org/jira/browse/FELIX-2952
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Konrad Windszus
>
> Using Web Console 3.1.8 and Web Console Memory Usage Plugin 1.0.2 the result 
> of the POST-Request after clicking "Dump Heap" is swallowed, because the page 
> is automatically reloaded just after the pop-up dialog was shown. The 
> timeframe is much too short to be able to read the message in the dialog. 
> This is especially annoying in a case where the dialog says, something like: 
> Failed dumping the heap, JVM does not provide known mechanism to create a 
> Heap Dump. I can reproduce the behaviour with Chrome (11.0), Firefox (4.0.1). 
> With IE7 I only get a Javascript error message when I load the Memory Usage 
> plugin in the browser because of line 169:
> var __overall__ = {'Verbose Memory Output':'yes','Pending Finalizable 
> Objects':'0','Overall Heap Memory Usage':'init = 1610612736(1572864K) used = 
> 1705655200(1665678K) committed = 2147287040(2096960K) max = 
> 2147287040(2096960K)','Overall Non-Heap Memory Usage':'init = 
> 136773632(133568K) used = 421843952(411956K) committed = 671977472(656228K) 
> max = 2197815296(2146304K)',};
> IE does not like that after the last comma (character 374 in that line) 
> doesn't follow a string, label or number

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to