Uploaded image for project: 'Vanity URL app'
  1. Vanity URL app
  2. VANITY-10

java.lang.NoSuchMethodError when trying to create a vanity URL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Neutral
    • None
    • 1.3.2
    • None
    • Magnolia 5.4, multisite, stk

    Description

      I believe the Vanity URL App may not be compatible with Magnolia 5.4 yet? Or maybe not in the combination 5.4, multisite and stk.

      When I try to create a vanity URL from the app I get the following error in the log:

      Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in info.magnolia.ui.dialog.actionarea.renderer.DefaultEditorActionRenderer$DefaultActionView$1 failed.
      	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:528)
      	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)
      	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
      	at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:977)
      	at com.vaadin.ui.Button.fireClick(Button.java:393)
      	at com.vaadin.ui.Button$1.click(Button.java:61)
      	... 121 more
      Caused by: java.lang.NoSuchMethodError: info.magnolia.module.templatingkit.sites.Site.getDomains()Ljava/util/Collection;
      	at com.aperto.magnolia.vanity.DefaultPublicUrlService.createVanityUrl(DefaultPublicUrlService.java:77)
      	at com.aperto.magnolia.vanity.VanityUrlService.createVanityUrl(VanityUrlService.java:109)
      	at com.aperto.magnolia.vanity.app.VanityUrlSaveFormAction.savePreviewImage(VanityUrlSaveFormAction.java:113)
      	at com.aperto.magnolia.vanity.app.VanityUrlSaveFormAction.execute(VanityUrlSaveFormAction.java:86)
      	at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:62)
      	at info.magnolia.ui.contentapp.detail.DetailPresenter.onActionFired(DetailPresenter.java:242)
      	at info.magnolia.ui.dialog.actionarea.renderer.DefaultEditorActionRenderer$DefaultActionView$1.buttonClick(DefaultEditorActionRenderer.java:67)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
      	... 126 more

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              frank.sommer Frank Sommer
              edgar Edgar Vonk
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD