[
https://issues.apache.org/jira/browse/MUSE-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Twiner reassigned MUSE-271:
---------------------------------
Assignee: Chris Twiner (was: Dan Jemiolo)
> 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.3.0
>
> 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: [email protected]
For additional commands, e-mail: [email protected]