Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-26827

Kaleo-Web cause error message, When using category-specific-definition.xml and category.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE GA1, 6.2.0 CE M2
    • Labels:
    • Environment:

      Description

      1. Deploy Kaleo-Web.
      2. Go to Control Panel => Workflow => Definitions.
      3. Add category-specific-definition.xml.
      4. Go to Default Configuration select Category Specific Approval(Version 1)on Blogs Entry.
      5. Go to Categories.
      6. Add a Vocabulary and add a category.
      7. Back to liferay.com
      8. Add an blog entry with the category.
      9. Go to Control Panel => My Workflow Tasks.

      07:09:44,235 ERROR [LiferaySerializer:350] java.lang.ClassCastException: [Ljava.lang.Integer; cannot be cast to [Ljava.lang.Long;
      java.lang.ClassCastException: [Ljava.lang.Integer; cannot be cast to [Ljava.lang.Long;
              at com.liferay.portal.json.jabsorb.serializer.LiferaySerializer.getValue(LiferaySerializer.java:398)
              at com.liferay.portal.json.jabsorb.serializer.LiferaySerializer.unmarshall(LiferaySerializer.java:345)
              at org.jabsorb.JSONSerializer.unmarshall(JSONSerializer.java:692)
              at org.jabsorb.serializer.impl.MapSerializer.unmarshall(MapSerializer.java:265)
              at org.jabsorb.JSONSerializer.unmarshall(JSONSerializer.java:692)
              at org.jabsorb.JSONSerializer.fromJSON(JSONSerializer.java:262)
              at com.liferay.portal.json.JSONFactoryImpl.deserialize(JSONFactoryImpl.java:151)
              at com.liferay.portal.kernel.json.JSONFactoryUtil.deserialize(JSONFactoryUtil.java:78)
              at com.liferay.portal.workflow.kaleo.util.WorkflowContextUtil.convert(WorkflowContextUtil.java:44)
              at com.liferay.portal.workflow.kaleo.WorkflowTaskManagerImpl.toWorkflowTasks(WorkflowTaskManagerImpl.java:657)
              at com.liferay.portal.workflow.kaleo.WorkflowTaskManagerImpl.search(WorkflowTaskManagerImpl.java:557)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
              at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
              at $Proxy429.search(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:83)
              at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:57)
              at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:50)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
              at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:39)
              at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:60)
              at com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationSynchronousMessageSender.send(DefaultSingleDestinationSynchronousMessage
      Sender.java:41)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              mark.jin Mark Jin (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 6 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2