[ 
http://issues.ops4j.org/jira/browse/PAXLOGGING-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11231
 ] 

Patrick Forhan commented on PAXLOGGING-25:
------------------------------------------

Felix issue is https://issues.apache.org/jira/browse/FELIX-527

> pax-logging throws a NPE while trying to log
> --------------------------------------------
>
>                 Key: PAXLOGGING-25
>                 URL: http://issues.ops4j.org/jira/browse/PAXLOGGING-25
>             Project: Pax Logging
>          Issue Type: Bug
>    Affects Versions: 0.9.6
>         Environment: Felix-1.0.1
> org.apache.felix.scr-1.0.0
> pax-logging 0.9.6
>            Reporter: Patrick Forhan
>            Assignee: Niclas Hedhman
>
> [cross-reported to felix scr jira]
> If a service throws an exception, the following is the only stack trace 
> reported.  The original context is lost:
> Exception in thread "SCR Component Actor" java.lang.NullPointerException
>         at java.util.Hashtable.put(Unknown Source)
>         at 
> org.ops4j.pax.logging.internal.PaxLoggingServiceImpl.createEvent(PaxLoggingServiceImpl.java:175)
>         at 
> org.ops4j.pax.logging.internal.PaxLoggingServiceImpl.log(PaxLoggingServiceImpl.java:140)
>         at 
> org.ops4j.pax.logging.internal.PaxLoggingServiceImpl.log(PaxLoggingServiceImpl.java:76)
>         at 
> org.ops4j.pax.logging.internal.PaxLoggingServiceImpl.log(PaxLoggingServiceImpl.java:66)
>         at org.apache.felix.scr.Activator.log(Activator.java:455)
>         at 
> org.apache.felix.scr.ComponentActorThread.run(ComponentActorThread.java:89)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to