You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/01/28 01:19:34 UTC

[jira] Commented: (SLING-206) servlet not picked up by resolver unless i restart my bundle

    [ https://issues.apache.org/jira/browse/SLING-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563033#action_12563033 ] 

Tobias Bocanegra commented on SLING-206:
----------------------------------------

i'm getting this all over the log file: 

28.01.2008 00:47:14 *ERROR* o.a.s.j.resource: [org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl] DependencyManager : exception while invoking bindResourceProvider() (java.lang.reflect.InvocationTargetException)
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.felix.scr.impl.DependencyManager.invokeBindMethod(DependencyManager.java:873)
        at org.apache.felix.scr.impl.DependencyManager.bind(DependencyManager.java:655)
        at org.apache.felix.scr.impl.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:204)
        at org.apache.felix.scr.impl.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:134)
        at org.apache.felix.scr.impl.AbstractComponentManager.activateInternal(AbstractComponentManager.java:402)
        at org.apache.felix.scr.impl.AbstractComponentManager.access$100(AbstractComponentManager.java:36)
        at org.apache.felix.scr.impl.AbstractComponentManager$2.run(AbstractComponentManager.java:112)
        at org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:85)
Caused by: java.lang.NullPointerException
        at org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.bindResourceProvider(JcrResourceResolverFactoryImpl.java:455)
        ... 12 common frames omitted

i guess that could be the problem.

> servlet not picked up by resolver unless i restart my bundle
> ------------------------------------------------------------
>
>                 Key: SLING-206
>                 URL: https://issues.apache.org/jira/browse/SLING-206
>             Project: Sling
>          Issue Type: Bug
>          Components: ServletResolver
>            Reporter: Tobias Bocanegra
>         Attachments: config_status.txt
>
>
> i have a servlet that is registered with a primary type of a node.
> just after startup, a request to a node with that primary type shows
> the dump of the default servlet. after i restart my bundle that
> contains the servlet (stop/start) the next request is then handled by
> my servlet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.