Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7801

Definitions app cannot be open in jboss deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Workaround exists
    • Icon: Neutral Neutral
    • None
    • 6.1.4, 6.2
    • None
    • JBoss 7.2 and EAP 7.1
    • Yes
    • Maintenance 9, Maintenance 10
    • 8

      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)

        Acceptance criteria

          1. dx-core-6.1.6-jboss-7.1.gif
            dx-core-6.1.6-jboss-7.1.gif
            1.11 MB
          2. dx-core-6.1.6-jboss-7.1-jdk-11.gif
            dx-core-6.1.6-jboss-7.1-jdk-11.gif
            658 kB
          3. dx-core-6.1.6-jboss-7.2.gif
            dx-core-6.1.6-jboss-7.2.gif
            1.04 MB
          4. dx-core-6.1.6-jboss-7.2-jdk-11.gif
            dx-core-6.1.6-jboss-7.2-jdk-11.gif
            776 kB
          5. dx-core-6.2.2-jboss-7.1.gif
            dx-core-6.2.2-jboss-7.1.gif
            1.08 MB
          6. dx-core-6.2.2-jboss-7.1-jdk-11.gif
            dx-core-6.2.2-jboss-7.1-jdk-11.gif
            602 kB
          7. dx-core-6.2.2-jboss-7.2.gif
            dx-core-6.2.2-jboss-7.2.gif
            1.10 MB
          8. dx-core-6.2.2-jboss-7.2-jdk-11.gif
            dx-core-6.2.2-jboss-7.2-jdk-11.gif
            714 kB
          9. error_jboss.txt
            107 kB
          10. Screenshot 2020-05-29 at 09.53.20.png
            Screenshot 2020-05-29 at 09.53.20.png
            73 kB
          11. Screenshot 2020-05-29 at 09.53.33.png
            Screenshot 2020-05-29 at 09.53.33.png
            60 kB

              canh.nguyen Canh Nguyen
              jayala Jonathan Ayala
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3d
                    3d