You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/01/12 09:30:54 UTC
[jira] Created: (FELIX-1977) Improve message if a plugin cannot be
installed
Improve message if a plugin cannot be installed
-----------------------------------------------
Key: FELIX-1977
URL: https://issues.apache.org/jira/browse/FELIX-1977
Project: Felix
Issue Type: Improvement
Components: Web Console
Affects Versions: webconsole-2.0.4
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: webconsole-2.0.6
Currently the web console logs a message of the form
Failed to instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. Reason: java.lang.NoClassDefFoundError: org.apache.felix.shell.ShellService
If an embedded plugin cannot be created and installed.
This generic message should be enhanced for the expected use case of not being able to load a plugin due to missing dependency resolution (such as the Apache Felix Shell Service, the Apache Felix SCR API, or any Compendium API).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1977) Improve message if a plugin cannot
be installed
Posted by "Nils Hartmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837133#action_12837133 ]
Nils Hartmann commented on FELIX-1977:
--------------------------------------
In the catch-block you've added to OsgiManager in revision #898253, the line
if ( message.indexOf( ' ' ) < 0 )
can cause a NullPointerException as NoClassDefFoundError.getMessage() is allowed to return null according to the method's javadoc. (I'm running into this while installing the webconsole in Eclipse Equinox 3.3.2 with jdk1.5 on windows).
Can you fix this? Thank you very much!
> Improve message if a plugin cannot be installed
> -----------------------------------------------
>
> Key: FELIX-1977
> URL: https://issues.apache.org/jira/browse/FELIX-1977
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-2.0.6
>
>
> Currently the web console logs a message of the form
> Failed to instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. Reason: java.lang.NoClassDefFoundError: org.apache.felix.shell.ShellService
> If an embedded plugin cannot be created and installed.
> This generic message should be enhanced for the expected use case of not being able to load a plugin due to missing dependency resolution (such as the Apache Felix Shell Service, the Apache Felix SCR API, or any Compendium API).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (FELIX-1977) Improve message if a plugin
cannot be installed
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on FELIX-1977 started by Felix Meschberger.
> Improve message if a plugin cannot be installed
> -----------------------------------------------
>
> Key: FELIX-1977
> URL: https://issues.apache.org/jira/browse/FELIX-1977
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-2.0.6
>
>
> Currently the web console logs a message of the form
> Failed to instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. Reason: java.lang.NoClassDefFoundError: org.apache.felix.shell.ShellService
> If an embedded plugin cannot be created and installed.
> This generic message should be enhanced for the expected use case of not being able to load a plugin due to missing dependency resolution (such as the Apache Felix Shell Service, the Apache Felix SCR API, or any Compendium API).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-1977) Improve message if a plugin cannot be
installed
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-1977.
-----------------------------------
> Improve message if a plugin cannot be installed
> -----------------------------------------------
>
> Key: FELIX-1977
> URL: https://issues.apache.org/jira/browse/FELIX-1977
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-2.0.6
>
>
> Currently the web console logs a message of the form
> Failed to instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. Reason: java.lang.NoClassDefFoundError: org.apache.felix.shell.ShellService
> If an embedded plugin cannot be created and installed.
> This generic message should be enhanced for the expected use case of not being able to load a plugin due to missing dependency resolution (such as the Apache Felix Shell Service, the Apache Felix SCR API, or any Compendium API).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1977) Improve message if a plugin cannot
be installed
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837143#action_12837143 ]
Felix Meschberger commented on FELIX-1977:
------------------------------------------
Thanks for tracking this down, I have created FELIX-2122 to track fixing it.
> Improve message if a plugin cannot be installed
> -----------------------------------------------
>
> Key: FELIX-1977
> URL: https://issues.apache.org/jira/browse/FELIX-1977
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-2.0.6
>
>
> Currently the web console logs a message of the form
> Failed to instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. Reason: java.lang.NoClassDefFoundError: org.apache.felix.shell.ShellService
> If an embedded plugin cannot be created and installed.
> This generic message should be enhanced for the expected use case of not being able to load a plugin due to missing dependency resolution (such as the Apache Felix Shell Service, the Apache Felix SCR API, or any Compendium API).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-1977) Improve message if a plugin cannot be
installed
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-1977.
--------------------------------------
Resolution: Fixed
Implemented an improved message in Rev. 898253.
> Improve message if a plugin cannot be installed
> -----------------------------------------------
>
> Key: FELIX-1977
> URL: https://issues.apache.org/jira/browse/FELIX-1977
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: webconsole-2.0.6
>
>
> Currently the web console logs a message of the form
> Failed to instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. Reason: java.lang.NoClassDefFoundError: org.apache.felix.shell.ShellService
> If an embedded plugin cannot be created and installed.
> This generic message should be enhanced for the expected use case of not being able to load a plugin due to missing dependency resolution (such as the Apache Felix Shell Service, the Apache Felix SCR API, or any Compendium API).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.