felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-527) Improve Error Reporting during binding
Date Fri, 04 Apr 2008 19:41:24 GMT

    [ https://issues.apache.org/jira/browse/FELIX-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585722#action_12585722

Felix Meschberger commented on FELIX-527:

Looking at this stack trace it seems, that there is another error thrown by the PAX LogService
implementation, which prevents logging of the actual problem.

The problem seems to be that there is no message in the exception to be logged if I look at
the correct file [1].

Niclas, can you comment on that ?


> Improve Error Reporting during binding
> --------------------------------------
>                 Key: FELIX-527
>                 URL: https://issues.apache.org/jira/browse/FELIX-527
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services
>    Affects Versions: felix-1.0.0
>         Environment: org.apache.felix.scr-0.9.0-SNAPSHOT
> org.apache.felix.scr-1.0.0
> pax-logging-0.9.6
>            Reporter: Patrick Forhan
> [cross-reported to pax-logging jira as http://issues.ops4j.org/jira/browse/PAXLOGGING-25
> If a service throws an exception during binding, 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.
You can reply to this email to add a comment to the issue online.

View raw message