Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3428

Using the move action in config app doesn't work (and can crash the JVM)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 5.4
    • 5.4
    • None

      Apparently tries to do recursive cloning and ends up in a loop, see trace below

      2015-05-15 14:35:47,577 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [move]
      info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: move
      	at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:64)
      	at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeAction(BrowserPresenter.java:333)
      	at info.magnolia.ui.contentapp.browser.BrowserPresenter.onActionbarItemClicked(BrowserPresenter.java:292)
      	at info.magnolia.ui.actionbar.ActionbarPresenter.onActionbarItemClicked(ActionbarPresenter.java:205)
      	at info.magnolia.ui.actionbar.ActionbarViewImpl$1.actionTrigger(ActionbarViewImpl.java:67)
      [...]
      Caused by: java.lang.NullPointerException
      	at org.apache.derby.impl.sql.GenericStatement.hashCode(Unknown Source)
      	at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
      	at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1125)
      	at com.rits.cloning.FastClonerConcurrentHashMap.clone(FastClonerConcurrentHashMap.java:22)
      	at com.rits.cloning.Cloner.fastClone(Cloner.java:114)
      [Here comes an infinite pile of clone calls...]
      	at com.rits.cloning.Cloner.deepClone(Cloner.java:301)
      	at info.magnolia.ui.contentapp.movedialog.MoveDialogPresenterImpl.prepareWorkbenchDefinition(MoveDialogPresenterImpl.java:199)
      	at info.magnolia.ui.contentapp.movedialog.MoveDialogPresenterImpl.start(MoveDialogPresenterImpl.java:149)
      	at info.magnolia.ui.contentapp.movedialog.action.OpenMoveDialogAction.execute(OpenMoveDialogAction.java:97)
      	at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:62)
      	... 109 more
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (0xb) at pc=0x000000010b7fc75b, pid=777, tid=15107
      #
      # JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode bsd-amd64 compressed oops)
      # Problematic frame:
      # V  [libjvm.dylib+0x3fc75b]  Monitor::IUnlock(bool)+0xcd
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /Users/mika/Applications/eclipse/Eclipse.app/Contents/MacOS/hs_err_pid777.log
      #
      # If you would like to submit a bug report, please visit:
      #   http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      

        Acceptance criteria

              gjoseph Magnolia International
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD