felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4872) Error while downloadig full text config in BundlesServlet: IllegalArgumentException: Invalid local link
Date Wed, 29 Apr 2015 16:09:06 GMT

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

Carsten Ziegeler resolved FELIX-4872.
-------------------------------------
    Resolution: Fixed

> Error while downloadig full text config in BundlesServlet: IllegalArgumentException:
Invalid local link
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-4872
>                 URL: https://issues.apache.org/jira/browse/FELIX-4872
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Joel Richard
>            Assignee: Carsten Ziegeler
>             Fix For: webconsole-ds-plugin-1.0.2
>
>
> When downloading the full text config from /system/console/config, it logs the following
error:
> {code}29.04.2015 16:39:18.692 *ERROR* [qtp1487714743-156] org.apache.felix.http.jetty
%bundles.pluginTitle: Problem rendering Bundle details for configuration status (java.lang.IllegalArgumentException:
Inval
> java.lang.IllegalArgumentException: Invalid local link
>         at org.apache.felix.webconsole.bundleinfo.BundleInfoType.validate(BundleInfoType.java:96)
>         at org.apache.felix.webconsole.bundleinfo.BundleInfo.<init>(BundleInfo.java:54)
>         at org.apache.felix.webconsole.plugins.ds.internal.InfoProvider.toInfo(InfoProvider.java:110)
>         at org.apache.felix.webconsole.plugins.ds.internal.InfoProvider.getBundleInfo(InfoProvider.java:92)
>         at org.apache.felix.webconsole.internal.core.BundlesServlet.bundleInfoDetails(BundlesServlet.java:844)
>         at org.apache.felix.webconsole.internal.core.BundlesServlet.bundleDetails(BundlesServlet.java:826)
>         at org.apache.felix.webconsole.internal.core.BundlesServlet.bundleInfo(BundlesServlet.java:731)
>         at org.apache.felix.webconsole.internal.core.BundlesServlet.writeJSON(BundlesServlet.java:626)
>         at org.apache.felix.webconsole.internal.core.BundlesServlet.printConfiguration(BundlesServlet.java:199)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.felix.inventory.impl.webconsole.ConfigurationPrinterAdapter.invoke(ConfigurationPrinterAdapter.java:313)
>         at org.apache.felix.inventory.impl.webconsole.ConfigurationPrinterAdapter.printConfiguration(ConfigurationPrinterAdapter.java:257)
>         at org.apache.felix.inventory.impl.webconsole.WebConsoleAdapter$WebConsolePrinter.print(WebConsoleAdapter.java:215)
>         at org.apache.felix.inventory.impl.InventoryPrinterAdapter.print(InventoryPrinterAdapter.java:148)
>         at org.apache.felix.inventory.impl.helper.ConfigurationWriter.printInventory(ConfigurationWriter.java:52)
>         at org.apache.felix.inventory.impl.AbstractWebConsolePlugin.printConfigurationInventory(AbstractWebConsolePlugin.java:66)
>         at org.apache.felix.inventory.impl.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:130)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
>         at org.apache.felix.webconsole.internal.WebConsolePluginAdapter.renderContent(WebConsolePluginAdapter.java:123)
>         at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:202)
> {code}
> The path of the problematic component is "null/components/1339". The null is taken from
a null webConsoleRoot which originates from a null pluginRoot passed to writeJSON in printConfiguration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message