You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Chris Geer (JIRA)" <ji...@apache.org> on 2012/05/18 21:35:06 UTC

[jira] [Created] (RAVE-623) Logging for OpenAjax.hub methods causes error and silently fails

Chris Geer created RAVE-623:
-------------------------------

             Summary: Logging for OpenAjax.hub methods causes error and silently fails
                 Key: RAVE-623
                 URL: https://issues.apache.org/jira/browse/RAVE-623
             Project: Rave
          Issue Type: Bug
          Components: rave-portal
    Affects Versions: 0.12
            Reporter: Chris Geer
            Priority: Critical


Rave implements three handlers for OpenAjax.hub events (onSubscribe, onUnsubscribe & onPublish). Rave is currently logging messages to the console when those are called however they are causing errors. When subscribe is called from the container, the "container" variable(s) are passed in as null which causes a null pointer equivalent error.

For example:
OpenAjax.hub.ManagedHub.prototype.subscribe = function( topic, onData, scope, onComplete, subscriberData ) 
{
    ...
    // check subscribe permission
    if ( ! this._invokeOnSubscribe( topic, null ) ) {
       ...
    }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (RAVE-623) Logging for OpenAjax.hub methods causes error and silently fails

Posted by "Chris Geer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Geer reassigned RAVE-623:
-------------------------------

    Assignee: Chris Geer
    
> Logging for OpenAjax.hub methods causes error and silently fails
> ----------------------------------------------------------------
>
>                 Key: RAVE-623
>                 URL: https://issues.apache.org/jira/browse/RAVE-623
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Assignee: Chris Geer
>            Priority: Critical
>
> Rave implements three handlers for OpenAjax.hub events (onSubscribe, onUnsubscribe & onPublish). Rave is currently logging messages to the console when those are called however they are causing errors. When subscribe is called from the container, the "container" variable(s) are passed in as null which causes a null pointer equivalent error.
> For example:
> OpenAjax.hub.ManagedHub.prototype.subscribe = function( topic, onData, scope, onComplete, subscriberData ) 
> {
>     ...
>     // check subscribe permission
>     if ( ! this._invokeOnSubscribe( topic, null ) ) {
>        ...
>     }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (RAVE-623) Logging for OpenAjax.hub methods causes error and silently fails

Posted by "Chris Geer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Geer resolved RAVE-623.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.12
    
> Logging for OpenAjax.hub methods causes error and silently fails
> ----------------------------------------------------------------
>
>                 Key: RAVE-623
>                 URL: https://issues.apache.org/jira/browse/RAVE-623
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Assignee: Chris Geer
>            Priority: Critical
>             Fix For: 0.12
>
>
> Rave implements three handlers for OpenAjax.hub events (onSubscribe, onUnsubscribe & onPublish). Rave is currently logging messages to the console when those are called however they are causing errors. When subscribe is called from the container, the "container" variable(s) are passed in as null which causes a null pointer equivalent error.
> For example:
> OpenAjax.hub.ManagedHub.prototype.subscribe = function( topic, onData, scope, onComplete, subscriberData ) 
> {
>     ...
>     // check subscribe permission
>     if ( ! this._invokeOnSubscribe( topic, null ) ) {
>        ...
>     }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira