You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (Created) (JIRA)" <ji...@apache.org> on 2012/03/28 09:18:26 UTC
[jira] [Created] (FELIX-3405) NPE in Web Console
NPE in Web Console
------------------
Key: FELIX-3405
URL: https://issues.apache.org/jira/browse/FELIX-3405
Project: Felix
Issue Type: Bug
Components: Web Console
Affects Versions: webconsole-3.1.8
Reporter: Valentin Valchev
Assignee: Valentin Valchev
I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
{noformat}
fw>$start 18
[ERROR]0 : Error occurred while trying to activate bundle!
java.lang.NullPointerException
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
at javax.servlet.GenericServlet.log(GenericServlet.java:253)
at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
at com.prosyst.util.impl.console.ConsoleAc
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FELIX-3405) NPE in Web Console
Posted by "Valentin Valchev (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Valchev updated FELIX-3405:
------------------------------------
Description:
I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
{code}
fw>$start 18
[ERROR]0 : Error occurred while trying to activate bundle!
java.lang.NullPointerException
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
at javax.servlet.GenericServlet.log(GenericServlet.java:253)
at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
at com.prosyst.util.impl.console.ConsoleAc
{code}
was:
I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
{noformat}
fw>$start 18
[ERROR]0 : Error occurred while trying to activate bundle!
java.lang.NullPointerException
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
at javax.servlet.GenericServlet.log(GenericServlet.java:253)
at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
at com.prosyst.util.impl.console.ConsoleAc
{noformat}
> NPE in Web Console
> ------------------
>
> Key: FELIX-3405
> URL: https://issues.apache.org/jira/browse/FELIX-3405
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
>
> I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
> {code}
> fw>$start 18
> [ERROR]0 : Error occurred while trying to activate bundle!
> java.lang.NullPointerException
> at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
> at javax.servlet.GenericServlet.log(GenericServlet.java:253)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
> at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
> at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
> at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
> at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
> at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
> at com.prosyst.util.impl.console.ConsoleAc
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (FELIX-3405) NPE in Web Console
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-3405.
------------------------------------
Close after release
> NPE in Web Console
> ------------------
>
> Key: FELIX-3405
> URL: https://issues.apache.org/jira/browse/FELIX-3405
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
> Fix For: webconsole-4.0.0
>
>
> I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
> {code}
> fw>$start 18
> [ERROR]0 : Error occurred while trying to activate bundle!
> java.lang.NullPointerException
> at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
> at javax.servlet.GenericServlet.log(GenericServlet.java:253)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
> at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
> at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
> at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
> at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
> at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
> at com.prosyst.util.impl.console.ConsoleAc
> {code}
--
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
[jira] [Updated] (FELIX-3405) NPE in Web Console
Posted by "Felix Meschberger (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-3405:
-------------------------------------
Fix Version/s: webconsole-3.2.2
> NPE in Web Console
> ------------------
>
> Key: FELIX-3405
> URL: https://issues.apache.org/jira/browse/FELIX-3405
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
> Fix For: webconsole-3.2.2
>
>
> I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
> {code}
> fw>$start 18
> [ERROR]0 : Error occurred while trying to activate bundle!
> java.lang.NullPointerException
> at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
> at javax.servlet.GenericServlet.log(GenericServlet.java:253)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
> at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
> at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
> at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
> at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
> at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
> at com.prosyst.util.impl.console.ConsoleAc
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FELIX-3405) NPE in Web Console
Posted by "Valentin Valchev (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Valchev resolved FELIX-3405.
-------------------------------------
Resolution: Fixed
Fixed in svn. Felix, please set the fix version.
> NPE in Web Console
> ------------------
>
> Key: FELIX-3405
> URL: https://issues.apache.org/jira/browse/FELIX-3405
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
>
> I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
> {code}
> fw>$start 18
> [ERROR]0 : Error occurred while trying to activate bundle!
> java.lang.NullPointerException
> at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
> at javax.servlet.GenericServlet.log(GenericServlet.java:253)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
> at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
> at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
> at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
> at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
> at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
> at com.prosyst.util.impl.console.ConsoleAc
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FELIX-3405) NPE in Web Console
Posted by "Felix Meschberger (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-3405:
-------------------------------------
Fix Version/s: (was: webconsole-3.4.2)
webconsole-3.4.0
> NPE in Web Console
> ------------------
>
> Key: FELIX-3405
> URL: https://issues.apache.org/jira/browse/FELIX-3405
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
> Fix For: webconsole-3.4.0
>
>
> I've created a plugin but forgot to add the template. So normally it failed, but with NPE. This shouldn't happen at all:
> {code}
> fw>$start 18
> [ERROR]0 : Error occurred while trying to activate bundle!
> java.lang.NullPointerException
> at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
> at javax.servlet.GenericServlet.log(GenericServlet.java:253)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:864)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.readTemplateFile(AbstractWebConsolePlugin.java:832)
> at com.prosyst.mbs.impl.services.tee.webconsole.TeePlugin.<init>(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.registerPlugin(Unknown Source)
> at com.prosyst.mbs.impl.services.tee.webconsole.Activator.start(Unknown Source)
> at com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:4304)
> at com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:1744)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1642)
> at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:1515)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1350)
> at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:1060)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1295)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.start(DefaultFrameworkPlugable.java:1277)
> at com.prosyst.util.impl.parser.DefaultFrameworkPlugable.executeCommand(DefaultFrameworkPlugable.java:499)
> at com.prosyst.util.PluggableCommandsProxy.executeCommand(PluggableCommandsProxy.java:103)
> at com.prosyst.util.impl.parser.ParserServiceImpl.parseCommand(ParserServiceImpl.java:323)
> at com.prosyst.util.impl.console.ConsoleAc
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira