felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Edelson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2826) LogService.log second overload does not work
Date Tue, 08 Feb 2011 00:14:57 GMT

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

Justin Edelson commented on FELIX-2826:

@Andriyko - this is a fairly common Eclipse issue IMHO. I don't use stackoverflow, but feel
free to credit me there :)

@Toni - I see this when using the provided scope, which is semantically correct for osgi-core
and osgi-compendium.

@Richard - yes

> LogService.log second overload does not work
> --------------------------------------------
>                 Key: FELIX-2826
>                 URL: https://issues.apache.org/jira/browse/FELIX-2826
>             Project: Felix
>          Issue Type: Bug
>          Components: Log Service
>            Reporter: Andriyko
>         Attachments: logServiceError.png
> I am using org.osgi.service.log.LogService.
> I have the weirdest bug, when writting my LogHelper class. The second overloaded "log"
function does not work.
> Now I can call the:
> LogService.log(int level, String message)
> with no problems, but when I try to use the one with the Throwable overloaded argument:
> LogService.log(int level, String message, Throwable exception)
> Eclipse highlights the call as wrong, and gives me this wierd error message:
> The type org.osgi.framework.ServiceReference cannot be resolved. It is indirectly referenced
from required .class files
> P.S.: I created a stackoverflow question for this issue, no-one seems to know what's
> http://stackoverflow.com/questions/4819269/osgi-logservice-log-method-does-not-work

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message