ConversionException and ForbiddenClassException in RHPAM

Solution Unverified - Updated -

Issue

  • When I access to kie-server from kie-server client, I get the following exception
com.thoughtworks.xstream.converters.ConversionException: 

---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.security.ForbiddenClassException
cause-message       : org.example.MyData
class               : java.util.HashMap
required-type       : java.util.HashMap
converter-type      : com.thoughtworks.xstream.converters.collections.MapConverter
path                : /java.util.Collections$UnmodifiableMap/m/entry/org.example.MyData
line number         : 5
class[1]            : java.util.Collections$UnmodifiableMap
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
version             : 7.14.0.Final-redhat-00004
-------------------------------
    at org.example.MyClient.test(MyClient.java:231)
Caused by: com.thoughtworks.xstream.security.ForbiddenClassException: org.example.MyData
    at org.example.MyClient.test(MyClient.java:231)
  • I get ConversionException/ForbiddenClassException when I use a class inside a dependency jar with Task Form in business-central.

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In