felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Valchev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-2713) Problem in HtmlConfigurationWriter
Date Wed, 01 Dec 2010 07:39:13 GMT

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

Valentin Valchev updated FELIX-2713:
------------------------------------

    Attachment: stackoverflow.patch

> Problem in HtmlConfigurationWriter
> ----------------------------------
>
>                 Key: FELIX-2713
>                 URL: https://issues.apache.org/jira/browse/FELIX-2713
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.6
>            Reporter: Valentin Valchev
>         Attachments: stackoverflow.patch
>
>
> With some Skelmir VM and some J9 versions, when switching to the Web Console Configuration
Render plugin, an exception will occur and no data will be shown. In some cases, this will
even cause the death of the VM process.
> The exception is because of different PrintWriter implementation that cases StackOverflowError,
caused by an endless loop:
> 	at java.io.PrintWriter.write(PrintWriter.java:396)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:495)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:541)
> 	at java.io.PrintWriter.write(PrintWriter.java:396)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:495)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:541)
> 	at java.io.PrintWriter.write(PrintWriter.java:396)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:495)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:541)
> 	at java.io.PrintWriter.write(PrintWriter.java:396)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:495)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:541)
> 	at java.io.PrintWriter.write(PrintWriter.java:396)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:495)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:541)
> 	at java.io.PrintWriter.write(PrintWriter.java:396)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:483)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:541)
> 	at java.io.PrintWriter.write(PrintWriter.java:396)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.write(ConfigurationRender.java:513)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender$HtmlConfigurationWriter.println(ConfigurationRender.java:463)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender.printConfigurationPrinter(ConfigurationRender.java:355)
> 	at org.apache.felix.webconsole.internal.misc.ConfigurationRender.doGet(ConfigurationRender.java:163)
> I provide a patch as a solution for the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message