You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/09/21 09:44:16 UTC

[jira] Commented: (FELIX-1622) NullPointerException

    [ 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.