PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-43258

ClassNotFoundException when translating Hibernate exception in ClpSerializer

    Details

    • Branch Version/s:
      6.2.x, 6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce:

      1. Update sample-service-builder-portlet to match Liferay version being tested. In master, this means replacing the call to GroupServiceUtil.getUserPlacesGroups() to getUserSitesGroups() and removing the version requirement in liferay-plugin-package.properties
      2. Create a new portlet sample-service-user-portlet which has sample-service-builder-portlet as a required deployment context and calls FooLocalServiceUtil.addFoo() with a foo where field1 is larger than 75 characters.
      3. Deploy sample-service-user-portlet and sample-service-builder-portlet

      Expectation is that you get a SystemException due to the column constraint restriction, and the stack trace indicates that it is caused by the data being too long. Actual behavior is that you get a RuntimeException caused by a ClassNotFoundException with no additional information.

      1. view.jsp
        1 kB
        Minhchau Dang

        Issue Links

          Activity

          Hide
          Minhchau Dang added a comment -

          Attaching view.jsp for sample-service-user-portlet which uses FooLocalServiceUtil.addUser() with field1 larger than 75 characters.

          Show
          Minhchau Dang added a comment - Attaching view.jsp for sample-service-user-portlet which uses FooLocalServiceUtil.addUser() with field1 larger than 75 characters.

            People

            • Assignee:
              Brian Chan
              Reporter:
              Minhchau Dang
              Recent user:
              Esther Sanz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 26 weeks, 1 day ago

                Development

                  Structure Helper Panel