[MAGNOLIA-5322] NoSuchMethodError when deleting a page Created: 20/Sep/13  Updated: 02/Oct/13  Resolved: 30/Sep/13

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 5.1
Fix Version/s: 5.1

Type: Bug Priority: Critical
Reporter: Sigurd Rolfes Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 Professional
JBoss eap 6.1


Attachments: PNG File Nosuchmethod-error.png    
Issue Links:
causality
caused by MGNLCDEP-50 Update ContentDependency code based o... Closed
caused by MGNLUI-1884 Make the ConfirmationAction support m... 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
Date of First Response:
Sprint: 5.1 - Final

 Description   

When trying to delete a page I get an Exception coming from the dependency check I guess. Copied from the admincentral messages window:

info.magnolia.module.dependencies.action.DependencyAwareConfirmationAction.getItem()Linfo/magnolia/ui/vaadin/integration/jcr/JcrItemAdapter;
Sender
superuser
Message text
RpcInvocationException: Unable to invoke method onActionTriggered in info.magnolia.ui.vaadin.gwt.client.actionbar.rpc.ActionbarServerRpc caused by InvocationTargetException caused by NoSuchMethodError: info.magnolia.module.dependencies.action.DependencyAwareConfirmationAction.getItem()Linfo/magnolia/ui/vaadin/integration/jcr/JcrItemAdapter;



 Comments   
Comment by Daniel Lipp [ 23/Sep/13 ]

I just tried with Jetty 6 on OSX - deleting worked like a charm. I cannot think of any reason why you could get a NoSuchMethodError on a different OS / servlet container.

Could you pls provide some more details - e.g.:

  • precise version you're using: 5.1-rc1? ee or ce?
  • do you get the error when trying to delete any page or just for specific pages (if so, which ones?)?

Thx a lot
Daniel

Comment by Sigurd Rolfes [ 23/Sep/13 ]

Hi Daniel,

version is 5.1-rc1 ee.

And yes: error occurs on all pages. I also tried to delete a demo-project page. Same message. Find a screenshot attached how it looks like.

Sigurd

Comment by Sigurd Rolfes [ 23/Sep/13 ]

Admincentral view

Comment by Daniel Lipp [ 24/Sep/13 ]

Issue has been caused by MAGNOLIA-5317 - as this one is fixed now, deleting pages works again.

Comment by Eric Hechinger [ 27/Sep/13 ]

Not working

Comment by Daniel Lipp [ 27/Sep/13 ]

My bad - maybe I had accidentally tested with ce. Looks like it's because the ee bundle uses a content-dependency version that's compiled against 5.0 but at runtime we have 5.0 around where ConfirmationAction#getJcrItem() is gone.

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