]
Mario Fusco commented on DROOLS-3181:
-------------------------------------
A better version of this fix (not using eap internal API) has been provided with this
commit
java.lang.IllegalArgumentException: object is not an instance of
declaring class" error in the server.log file when BPMS 6.4.11 is installed on EAP
6.4.21
----------------------------------------------------------------------------------------------------------------------------------------------------------
Key: DROOLS-3181
URL:
https://issues.jboss.org/browse/DROOLS-3181
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.13.0.Final
Environment: Red Hat BPM Suite (BPMS) 6.4.11
Red Hat Enterprise Application Platform (EAP) 6.4.21
Reporter: Mario Fusco
Assignee: Mario Fusco
Priority: Major
Labels: support
Fix For: 7.14.0.Final
The following error is logged in the server.log file when BPMS is installed on EAP
6.4.21:
{noformat}
ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-7)
Error when reading virtual file from
vfs:/home/user/6411/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
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[rt.jar:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_181]
at
org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPathForVFS(ClasspathKieProject.java:426)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at
org.drools.compiler.kie.builder.impl.ClasspathKieProject.fixURLFromKProjectPath(ClasspathKieProject.java:371)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at
org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at
org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at
org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at
org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:141)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at
org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:131)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at
org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:118)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
at org.drools.compiler.cdi.KieCDIExtension.init(KieCDIExtension.java:90)
[drools-compiler-6.5.0.Final-redhat-25.jar:6.5.0.Final-redhat-25]
{noformat}
Does not occur on EAP 6.4.20