You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Vidar Ramdal <vi...@idium.no> on 2010/05/19 10:31:23 UTC

Unable to add factory configs through config admin web console

Hi;

I find myself unable to add factory configurations through the web
console. Can anyone else confirm this?

To reproduce:
1. Go to http://localhost:8080/system/console/configMgr
2. Find the Apache Sling Logger Configuration factory configuration,
and click the "+" next to it
3. Fill in the form
4. Click Save

Expected result:
- The new configuration is listed under "Apache Sling Logger Configuration"

Actual result:
- The new configuration is not listed as expected. Instead, on the top
of the configuration list, I find an item named
[Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save] which is
empty upon inspection.

This occurs in both Chrome and Firefox.

Is this a bug in the Felix web console, or something Sling specific?

-- 
Vidar S. Ramdal <vi...@idium.no> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070

Re: Unable to add factory configs through config admin web console

Posted by Justin Edelson <ju...@gmail.com>.
I saw this (and still have the bogus entry) a week or so ago with fsprovider, but was too wrapped up in something else to dig into it. Although for some reason I remember it only happening on Chrome and since Mac Chrome is still 'beta' I chalked it up to some brows weirdness. I'll try again today.

Justin

On May 19, 2010, at 7:35 AM, Vidar Ramdal <vi...@idium.no> wrote:

> On Wed, May 19, 2010 at 11:18 AM, Felix Meschberger <fm...@gmail.com> wrote:
>> Hi,
>> 
>> On 19.05.2010 10:31, Vidar Ramdal wrote:
>>> Hi;
>>> 
>>> I find myself unable to add factory configurations through the web
>>> console. Can anyone else confirm this?
>>> 
>>> To reproduce:
>>> 1. Go to http://localhost:8080/system/console/configMgr
>>> 2. Find the Apache Sling Logger Configuration factory configuration,
>>> and click the "+" next to it
>>> 3. Fill in the form
>>> 4. Click Save
>>> 
>>> Expected result:
>>> - The new configuration is listed under "Apache Sling Logger Configuration"
>>> 
>>> Actual result:
>>> - The new configuration is not listed as expected. Instead, on the top
>>> of the configuration list, I find an item named
>>> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save] which is
>>> empty upon inspection.
>>> 
>>> This occurs in both Chrome and Firefox.
>> 
>> What happends after reloading the page ?
> 
> Nothing, that is, the bogus item
> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save]  is
> listed on top.
> 
>>> Is this a bug in the Felix web console, or something Sling specific?
>> This would definitely be a bug in the webconsole.
> 
> OK, I'll look more into it - but in the mean time, is anyone else seeing this?
> 
> 
> -- 
> Vidar S. Ramdal <vi...@idium.no> - http://www.idium.no
> Sommerrogata 13-15, N-0255 Oslo, Norway
> + 47 22 00 84 00 / +47 21 531941, ext 2070
> "Quando omni flunkus moritatus! "

Re: config admin web console

Posted by Jos Snellings <Jo...@pandora.be>.
And 1.2.10 solves the issue. Thank you.

Jos
On Wed, 2010-05-19 at 17:07 +0200, Agustín Gañán wrote:
> yep, It's a known issue [1].
> 
> a workaround, try this:
> 
> http://localhost:8080/sling/system/console/configMgr/
> 
> [1] https://issues.apache.org/jira/browse/FELIX-1135
> https://issues.apache.org/jira/browse/FELIX-1028
> 
> 2010/5/19 Jos Snellings <Jo...@pandora.be>:
> > Hi,
> >
> > I set up the prepacked webapp, and notice that:
> >
> > http://localhost:8080/sling/system/console/configMgr
> >
> > results in the following error:
> > java.lang.NullPointerException: Filter cannot be null
> >        org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:59)
> >        org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:102)
> >        org.apache.felix.webconsole.internal.compendium.ConfigManager.renderContent(ConfigManager.java:228)
> >        org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:113)
> >        org.apache.felix.webconsole.internal.compendium.ConfigManager.doGet(ConfigManager.java:201)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> >        org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:311)
> >        org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
> >        org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
> >        org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> >        org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:276)
> >        org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:127)
> >
> > Is this a known problem?
> >
> > Thanks,
> > Jos Snellings
> >
> >
> 



Re: config admin web console

Posted by Agustín Gañán <ag...@gmail.com>.
yep, It's a known issue [1].

a workaround, try this:

http://localhost:8080/sling/system/console/configMgr/

[1] https://issues.apache.org/jira/browse/FELIX-1135
https://issues.apache.org/jira/browse/FELIX-1028

2010/5/19 Jos Snellings <Jo...@pandora.be>:
> Hi,
>
> I set up the prepacked webapp, and notice that:
>
> http://localhost:8080/sling/system/console/configMgr
>
> results in the following error:
> java.lang.NullPointerException: Filter cannot be null
>        org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:59)
>        org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:102)
>        org.apache.felix.webconsole.internal.compendium.ConfigManager.renderContent(ConfigManager.java:228)
>        org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:113)
>        org.apache.felix.webconsole.internal.compendium.ConfigManager.doGet(ConfigManager.java:201)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>        org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:311)
>        org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>        org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
>        org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>        org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:276)
>        org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:127)
>
> Is this a known problem?
>
> Thanks,
> Jos Snellings
>
>

config admin web console

Posted by Jos Snellings <Jo...@pandora.be>.
Hi,

I set up the prepacked webapp, and notice that:

http://localhost:8080/sling/system/console/configMgr

results in the following error:
java.lang.NullPointerException: Filter cannot be null
	org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:59)
	org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:102)
	org.apache.felix.webconsole.internal.compendium.ConfigManager.renderContent(ConfigManager.java:228)
	org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:113)
	org.apache.felix.webconsole.internal.compendium.ConfigManager.doGet(ConfigManager.java:201)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:311)
	org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
	org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
	org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:276)
	org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:127)

Is this a known problem? 

Thanks,
Jos Snellings


Re: Unable to add factory configs through config admin web console

Posted by Vidar Ramdal <vi...@idium.no>.
>>> On 19.05.2010 10:31, Vidar Ramdal wrote:
>>>> I find myself unable to add factory configurations through the web
>>>> console. Can anyone else confirm this?
>>>>
>>>> To reproduce:
>>>> 1. Go to http://localhost:8080/system/console/configMgr
>>>> 2. Find the Apache Sling Logger Configuration factory configuration,
>>>> and click the "+" next to it
>>>> 3. Fill in the form
>>>> 4. Click Save
>>>>
>>>> Expected result:
>>>> - The new configuration is listed under "Apache Sling Logger Configuration"
>>>>
>>>> Actual result:
>>>> - The new configuration is not listed as expected. Instead, on the top
>>>> of the configuration list, I find an item named
>>>> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save] which is
>>>> empty upon inspection.
>>>>
>>>> This occurs in both Chrome and Firefox.

>> On Wed, May 19, 2010 at 11:18 AM, Felix Meschberger <fm...@gmail.com> wrote:
>>> What happends after reloading the page ?

> On 5/19/10 7:35 AM, Vidar Ramdal wrote:
>> Nothing, that is, the bogus item
>> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save]  is
>> listed on top.

>>>> Is this a bug in the Felix web console, or something Sling specific?
>>> This would definitely be a bug in the webconsole.
>> OK, I'll look more into it - but in the mean time, is anyone else seeing this?

On Wed, May 19, 2010 at 3:36 PM, Justin Edelson <ju...@gmail.com> wrote:
> Confirming that I can reproduce this in Firefox, Chrome, and Safari with
> a clean trunk build of Sling (i.e. webconsole 3.0.0)

Thanks!

> Vidar-
> Do you want to file a bug about this?

Will do - I'll just work out a reduced testcase for it first.

-- 
Vidar S. Ramdal <vi...@idium.no> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070
"Quando omni flunkus moritatus! "

Re: Unable to add factory configs through config admin web console

Posted by Justin Edelson <ju...@gmail.com>.
Confirming that I can reproduce this in Firefox, Chrome, and Safari with
a clean trunk build of Sling (i.e. webconsole 3.0.0)

Vidar-
Do you want to file a bug about this?

Justin

On 5/19/10 7:35 AM, Vidar Ramdal wrote:
> On Wed, May 19, 2010 at 11:18 AM, Felix Meschberger <fm...@gmail.com> wrote:
>> Hi,
>>
>> On 19.05.2010 10:31, Vidar Ramdal wrote:
>>> Hi;
>>>
>>> I find myself unable to add factory configurations through the web
>>> console. Can anyone else confirm this?
>>>
>>> To reproduce:
>>> 1. Go to http://localhost:8080/system/console/configMgr
>>> 2. Find the Apache Sling Logger Configuration factory configuration,
>>> and click the "+" next to it
>>> 3. Fill in the form
>>> 4. Click Save
>>>
>>> Expected result:
>>> - The new configuration is listed under "Apache Sling Logger Configuration"
>>>
>>> Actual result:
>>> - The new configuration is not listed as expected. Instead, on the top
>>> of the configuration list, I find an item named
>>> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save] which is
>>> empty upon inspection.
>>>
>>> This occurs in both Chrome and Firefox.
>>
>> What happends after reloading the page ?
> 
> Nothing, that is, the bogus item
> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save]  is
> listed on top.
> 
>>> Is this a bug in the Felix web console, or something Sling specific?
>> This would definitely be a bug in the webconsole.
> 
> OK, I'll look more into it - but in the mean time, is anyone else seeing this?
> 
> 


Re: Unable to add factory configs through config admin web console

Posted by Vidar Ramdal <vi...@idium.no>.
On Wed, May 19, 2010 at 11:18 AM, Felix Meschberger <fm...@gmail.com> wrote:
> Hi,
>
> On 19.05.2010 10:31, Vidar Ramdal wrote:
>> Hi;
>>
>> I find myself unable to add factory configurations through the web
>> console. Can anyone else confirm this?
>>
>> To reproduce:
>> 1. Go to http://localhost:8080/system/console/configMgr
>> 2. Find the Apache Sling Logger Configuration factory configuration,
>> and click the "+" next to it
>> 3. Fill in the form
>> 4. Click Save
>>
>> Expected result:
>> - The new configuration is listed under "Apache Sling Logger Configuration"
>>
>> Actual result:
>> - The new configuration is not listed as expected. Instead, on the top
>> of the configuration list, I find an item named
>> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save] which is
>> empty upon inspection.
>>
>> This occurs in both Chrome and Firefox.
>
> What happends after reloading the page ?

Nothing, that is, the bogus item
[Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save]  is
listed on top.

>> Is this a bug in the Felix web console, or something Sling specific?
> This would definitely be a bug in the webconsole.

OK, I'll look more into it - but in the mean time, is anyone else seeing this?


-- 
Vidar S. Ramdal <vi...@idium.no> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070
"Quando omni flunkus moritatus! "

Re: Unable to add factory configs through config admin web console

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

On 19.05.2010 10:31, Vidar Ramdal wrote:
> Hi;
> 
> I find myself unable to add factory configurations through the web
> console. Can anyone else confirm this?
> 
> To reproduce:
> 1. Go to http://localhost:8080/system/console/configMgr
> 2. Find the Apache Sling Logger Configuration factory configuration,
> and click the "+" next to it
> 3. Fill in the form
> 4. Click Save
> 
> Expected result:
> - The new configuration is listed under "Apache Sling Logger Configuration"
> 
> Actual result:
> - The new configuration is not listed as expected. Instead, on the top
> of the configuration list, I find an item named
> [Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save] which is
> empty upon inspection.
> 
> This occurs in both Chrome and Firefox.

What happends after reloading the page ?

> 
> Is this a bug in the Felix web console, or something Sling specific?

This would definitely be a bug in the webconsole.
> 

Regards
Felix