Details

    • Fix Priority:
      2

      Description

      I created an MVCAction Fragment to override the addRecordMethod in AddRecordMVCAction command in the Dynamic Data Lists Display portlet.

      When I try to deploy it, I get a non-deterministic result: sometimes the deployment fails with the following errors:

      18-Jan-2017 17:42:07.986 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 340494 ms
      17:42:30,047 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252] Processing ddlrecord-actioncommand-1.0.0-SNAPSHOT.jar
      17:42:37,780 INFO [fileinstall-C:/dxp/liferay-dxp-digital-enterprise-7.0-sp1/osgi/modules][BundleStartStopLogger:38] STOPPED ddlrecord-actioncommand_1.0.0.201701181709 [542]
      17:42:37,877 INFO [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][BundleStartStopLogger:35] STARTED ddlrecord-actioncommand_1.0.0.201701181709 [542]
      17:42:37,908 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Circular reference detected, getService returning null
      17:42:38,121 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Cannot create component instance due to failure to bind reference DDMFormJSONDeserializer
      17:42:38,127 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Failed creating the component instance; see log for reason
      17:42:38,133 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Circular reference detected, getService returning null
      17:42:38,336 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Cannot create component instance due to failure to bind reference DDMFormJSONDeserializer
      17:42:38,341 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Failed creating the component instance; see log for reason
      17:42:38,347 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Circular reference detected, getService returning null
      17:42:38,548 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Cannot create component instance due to failure to bind reference DDMFormJSONDeserializer
      17:42:38,555 ERROR [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][ddlrecord-actioncommand:97] [com.example.dap.ddlrecord.DAPAddRecordMVCActionCommand(2455)] Failed creating the component instance; see log for reason

      But sometimes it deploys just fine (same jar, just deployed a 2nd time):

      17:42:57,111 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:252] Processing ddlrecord-actioncommand-1.0.0-SNAPSHOT.jar
      17:43:04,450 INFO [fileinstall-C:/dxp/liferay-dxp-digital-enterprise-7.0-sp1/osgi/modules][BundleStartStopLogger:38] STOPPED ddlrecord-actioncommand_1.0.0.201701181709 [542]
      17:43:04,528 INFO [Refresh Thread: Equinox Container: 100ef1ad-a4dd-0016-1212-991173cb5693][BundleStartStopLogger:35] STARTED ddlrecord-actioncommand_1.0.0.201701181709 [542]

      The number of failed deployments varies. Sometimes the deployment succeeds on the first try, sometime it still didn't work after more than 20 attempts ...

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              volker.wurst Volker Wurst
              Participants of an Issue:
              Recent user:
              Sherry Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                2 years, 43 weeks, 1 day ago

                Packages

                Version Package