|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (MUSE-271) RouterFilePersistence fails to load subscriptions after restartRouterFilePersistence 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: Dan Jemiolo Fix For: 2.3.0 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@... For additional commands, e-mail: muse-dev-help@... |
|
|
[jira] Updated: (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 ] Rich Lucente updated MUSE-271: ------------------------------ Attachment: RouterFilePersistence.java.patch Patch to resolve subscription load after restart > 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: Dan Jemiolo > 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: muse-dev-unsubscribe@... For additional commands, e-mail: muse-dev-help@... |
|
|
[jira] Assigned: (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 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: muse-dev-unsubscribe@... For additional commands, e-mail: muse-dev-help@... |
|
|
[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@... For additional commands, e-mail: muse-dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |