"java.lang.IllegalArgumentException: object is not an instance of declaring class" error in the server.log file when BRMS/BPMS/RHDM/RHPAM is installed on certain versions of EAP

Solution Verified - Updated -

Issue

  • The following error is logged in the server.log file when BPMS is installed on EAP 6.4.21:

    ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-7) Error when reading virtual file from vfs:/xxx/xxx/xxx/jboss-eap-6.4/standalone/deployments/business-central.war/WEB-INF/lib/drools-pmml-6.5.0.Final-redhat-25.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance of declaring class
    ...
    
  • java.lang.IllegalArgumentException: object is not an instance of declaring class error in the server.log file;

  • I hit the following error when RHDM or RHPAM 7.1.1 is installed on EAP 7.1.5. We don't see the error with EAP 7.1.4.

    [ERROR] [MSC service thread 1-1] [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (ClasspathKieProject.java:426) - Error when reading virtual file from vfs:/xxx/xxx/xxx/jboss-eap-7.1/standalone/deployments/decision-central.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final-redhat-00004.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance of declaring class
    

Environment

  • Red Hat BPM Suite (BPMS)
    • 6.4.11
  • Red Hat Decision Manager (RHDM)
    • 7.1.1
  • Red Hat Process Automation Manager (RHPAM)
    • 7.1.1
  • Red Hat Enterprise Application Platform (EAP)
    • 6.4.21
    • 6.4.22
    • 7.1.5

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