[PROCRES-8] Module does not work anymore with 5.4.10 Created: 19/Jan/17  Updated: 14/Oct/19  Resolved: 14/Oct/19

Status: Closed
Project: Processed Resources App
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Frank Sommer Assignee: Aleksandr Pchelintcev
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia EE 5.4.10
Jackrabbit 2.8
Mysql 6 (InnoDB)
Apache Tomcat 7.0
Oracle Java 1.7
Linux


Attachments: File patch.diff    
Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

After upgrade to Magnolia 5.4.10 the processed resources module doesn't work, because the resource mapping couldn't be instantiate.

17-01-19 14:25:26 WARN  AUTHOR[localhost-startStop-1]info.magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Can't instantiate bean for /server/URI2RepositoryMapping/mappings/resources info.magnolia.jcr.node2bean.Node2BeanException: com.google.inject.ProvisionException: Guice provision errors:

1) Module instance for module [resources] not available, most likely because the module has not yet been started. Inject a Provider<> instead to get access to the module instance when it's available.
  at info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindProvider(GuiceComponentConfigurationModule.java:190)
  while locating info.magnolia.module.resources.ResourcesModule

1 error
        at info.magnolia.jcr.node2bean.impl.Node2BeanTransformerImpl.newBeanInstance(Node2BeanTransformerImpl.java:248)
        at info.magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl.toBean(Node2BeanProcessorImpl.java:135)
        at info.magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl.toMap(Node2BeanProcessorImpl.java:227)
        at info.magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl.toBean(Node2BeanProcessorImpl.java:132)

I think the problem occures only, if you start Magnolia in not auto update mode.



 Comments   
Comment by Frank Sommer [ 23/Jan/17 ]

Diff-View of our patch is attached.

Comment by Jan Haderka [ 14/Oct/19 ]

Version 5.4.x is EOL.

Generated at Mon Feb 12 10:31:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.