[MAGNOLIA-7801] Definitions app cannot be open in jboss deployment Created: 14/May/20  Updated: 03/Mar/21  Resolved: 03/Jun/20

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 6.1.4, 6.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Jonathan Ayala Assignee: Canh Nguyen
Resolution: Workaround exists Votes: 0
Labels: maintenance
Remaining Estimate: 0d
Time Spent: 3d
Original Estimate: Not Specified
Environment:

JBoss 7.2 and EAP 7.1


Attachments: PNG File Screenshot 2020-05-29 at 09.53.20.png     PNG File Screenshot 2020-05-29 at 09.53.33.png     GIF File dx-core-6.1.6-jboss-7.1-jdk-11.gif     GIF File dx-core-6.1.6-jboss-7.1.gif     GIF File dx-core-6.1.6-jboss-7.2-jdk-11.gif     GIF File dx-core-6.1.6-jboss-7.2.gif     GIF File dx-core-6.2.2-jboss-7.1-jdk-11.gif     GIF File dx-core-6.2.2-jboss-7.1.gif     GIF File dx-core-6.2.2-jboss-7.2-jdk-11.gif     GIF File dx-core-6.2.2-jboss-7.2.gif     Text File error_jboss.txt    
Issue Links:
causality
documentation
relation
is related to MGNLUI-6184 WebSphere: Browser subapp fails to st... Closed
is related to MGNLEE-626 Remove WebLogic, WebSphere & WildFly ... Closed
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
Documentation update required:
Yes
Date of First Response:
Epic Link: Support
Sprint: Maintenance 9, Maintenance 10
Story Points: 8

 Description   

When in a jboss environment, definitions app cannot be opened as the following error is thrown:

2020-05-14 11:27:59,911 ERROR info.magnolia.ui.framework.ContextProperty$Impl   : Failed to dispatch context property change: Failed to create instance of [class info.magnolia.ui.contentapp.browser.TreeView]
2020-05-14 11:27:59,916 INFO  [stdout] (default task-185) info.magnolia.objectfactory.MgnlInstantiationException: Failed to create instance of [class info.magnolia.ui.contentapp.browser.TreeView]
...
Caused by: info.magnolia.objectfactory.MgnlInstantiationException: Failed to create an instance with c-tor [TreeView(ValueContext, TreeViewDefinition)]
...
Caused by: info.magnolia.objectfactory.MgnlInstantiationException: Failed to create an instance with c-tor [TreeView(ValueContext, TreeViewDefinition)]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:131) ~[magnolia-core-6.1.4.jar:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:99) ~[magnolia-core-6.1.4.jar:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:134) ~[magnolia-core-6.1.4.jar:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  ... 242 more
...
Caused by: java.lang.reflect.InvocationTargetException
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:129) ~[magnolia-core-6.1.4.jar:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:99) ~[magnolia-core-6.1.4.jar:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:134) ~[magnolia-core-6.1.4.jar:?]
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  ... 242 more
Caused by: java.lang.NullPointerException: type
2020-05-14 11:27:59,923 INFO  [stdout] (default task-185)  at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:897) ~[guava-27.1-jre.jar:?]

This has been tested in EAP 7.1 as well as 7.2 (see linked support ticket)


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