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

Valentin Valchev resolved FELIX-3968.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: webconsole-packageadmin-plugin 1.0.2

fixed in rev.1455592
                
> StringIndexOutOfBoundsException in packageadmin plugin
> ------------------------------------------------------
>
>                 Key: FELIX-3968
>                 URL: https://issues.apache.org/jira/browse/FELIX-3968
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-packageadmin-plugin 1.0.0
>            Reporter: Valentin Valchev
>            Assignee: Valentin Valchev
>            Priority: Minor
>             Fix For: webconsole-packageadmin-plugin 1.0.2
>
>
> To reproduce:
> # open the web console
> # go to packages tab
> # as a package name type "org."
> # click on Filter
> kitman>$ [ERROR]8 : [HTTP] Problem while making answer to request 
> /system/console/depfinder from client address null
> java.lang.StringIndexOutOfBoundsException: String index out of range: 4
>         at java.lang.String.charAt(String.java:658)
>         at 
> org.apache.felix.webconsole.plugins.packageadmin.internal.WebConsolePlugin.getPackageNames(WebConsolePlugin.java:285)
>         at 
> org.apache.felix.webconsole.plugins.packageadmin.internal.WebConsolePlugin.doFindDependencies(WebConsolePlugin.java:160)
>         at 
> org.apache.felix.webconsole.plugins.packageadmin.internal.WebConsolePlugin.doPost(WebConsolePlugin.java:103)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
>         at 
> org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:493)
>         at 
> org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:418)
>         at 
> com.prosyst.mbs.impl.services.http.ServletProperties.service(ServletProperties.java:109)
>         at 
> com.prosyst.mbs.impl.services.http.Response.defaultResponse(Response.java:370)
>         at 
> com.prosyst.mbs.impl.services.http.FiltersManagerImpl.dispatch(FiltersManagerImpl.java:186)
>         at 
> com.prosyst.mbs.impl.services.http.FiltersFactory.dispatch(FiltersFactory.java:38)
>         at 
> com.prosyst.mbs.impl.services.http.Response.makeAnswer(Response.java:172)
>         at 
> com.prosyst.mbs.impl.services.http.ThreadProcess.run(ThreadProcess.java:114)
>         at 
> com.prosyst.util.impl.tpt.threadpool.ExecutorImpl.run(ExecutorImpl.java:191)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to