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-1622) NullPointerException
Date Mon, 21 Sep 2009 07:44:16 GMT

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

Felix Meschberger commented on FELIX-1622:

Thanks for reporting this issue. I agree, that it must work cross-framework (it is operating
on the OSGi API and therefore is definitely not tied into the Apache Felix framework)

Now for the cause: It looks like you don't have a LogReaderService available and the LogServlet
does not correctly handle this situation [It first logs this case but later tries to access
the null variable anyways].

> NullPointerException
> --------------------
>                 Key: FELIX-1622
>                 URL: https://issues.apache.org/jira/browse/FELIX-1622
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-1.2.10
>         Environment: Equinox, Grizzly
>            Reporter: Lucas Galfaso
> When going to the Log tab in the web console, I get a NPE.
> SEVERE: service exception:
> java.lang.NullPointerException
> 	at org.apache.felix.webconsole.internal.compendium.LogServlet.renderJSON(LogServlet.java:102)
> 	at org.apache.felix.webconsole.internal.compendium.LogServlet.doGet(LogServlet.java:153)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> The environment is Equinox and Grizzly (I know this is not Felix, but it would be nice
if this were cross framework implementation).

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

View raw message