[VANITY-10] java.lang.NoSuchMethodError when trying to create a vanity URL Created: 21/Jul/15 Updated: 08/Nov/16 Resolved: 08/Nov/16 |
|
| Status: | Closed |
| Project: | Vanity URL app |
| Component/s: | None |
| Affects Version/s: | 1.3.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Edgar Vonk | Assignee: | Frank Sommer |
| Resolution: | Cannot Reproduce | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia 5.4, multisite, stk |
||
| 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 |
|
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 |
| Comments |
| Comment by Daniel Kasmeroglu [ 06/Nov/16 ] |
|
Hi Edgar, I suspect this issue is already gone due to the fact that there's a current vanity module version which is using mgnl 5.4.x as the basis: I suggest to confirm and close this issue. @Frank: If this issue doesn't get closed within the next two weeks I suggest that you close it as "won't fix". |
| Comment by Edgar Vonk [ 07/Nov/16 ] |
|
Ok, thanks. I will close this issue. I cannot confirm it unfortunately since I no longer work on the project where we used this. |
| Comment by Edgar Vonk [ 07/Nov/16 ] |
|
I meant: it's ok for you guys to close this issue. |