You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Chris Twiner (JIRA)" <ji...@apache.org> on 2009/01/03 17:07:44 UTC

[jira] Resolved: (MUSE-271) RouterFilePersistence fails to load subscriptions after restart

     [ https://issues.apache.org/jira/browse/MUSE-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Twiner resolved MUSE-271.
-------------------------------

    Resolution: Fixed

added to head

> RouterFilePersistence fails to load subscriptions after restart
> ---------------------------------------------------------------
>
>                 Key: MUSE-271
>                 URL: https://issues.apache.org/jira/browse/MUSE-271
>             Project: Muse
>          Issue Type: Bug
>          Components: Core Engine - Routing and Serialization
>    Affects Versions: 2.2.0
>         Environment: j2sdk1.4.2_13, JBoss 4.0.5.GA, Apache Muse 2.2.0
>            Reporter: Rich Lucente
>            Assignee: Chris Twiner
>             Fix For: 2.2.1
>
>         Attachments: RouterFilePersistence.java.patch
>
>
> I'm getting NPE's when reloading persistent subscriptions.  RouterFilePersistence.reloadResource initializes the resource BEFORE adding the resource to the epr->resource map in the resource manager.  The issue is that initializing my NotificationProducer based resource precedes initializing the SubscriptionManager.  initializeCompleted is called and the resource manager expects to find the SubscriptionManager resource, but no such luck and an NPE occurs.
> The attached patch (against Muse 2.2.0) loads all resources and adds them to the resource manager's epr->resource map.  All resources are then initialized, eliminating the resource does not exist issue that's generating the NPE.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org