Hide Forgot
Cannot build and deploy project in ER3 (tested with BPMS, but component is related to BRMS). In ER2 I was able to build and deploy imported project without problems. See the error log: 11:08:47,760 WARN [org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator] (http-localhost/127.0.0.1:8080-6) Process variable validRequest uses ObjectDataType for default type (java.lang) which could cause problems with setting variables, use dedicated type instead 11:08:47,761 WARN [org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator] (http-localhost/127.0.0.1:8080-6) Process variable person uses ObjectDataType for default type (java.lang) which could cause problems with setting variables, use dedicated type instead 11:08:47,761 WARN [org.jbpm.ruleflow.core.validation.RuleFlowProcessValidator] (http-localhost/127.0.0.1:8080-6) Process variable request uses ObjectDataType for default type (java.lang) which could cause problems with setting variables, use dedicated type instead 11:08:47,830 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (http-localhost/127.0.0.1:8080-6) Unable to build KieBaseModel:defaultKieBase Error importing : 'com.bpms.flood.model.Request' Error importing : 'com.bpms.flood.model.Person' Process Compilation error : org.drools.compiler.lang.descr.ProcessDescr@f89b822 com/bpms/flood/Process_com_bpms_flood_RuleTask1407193470.java (2:31) : Only a type can be imported. com.bpms.flood.model.Request resolves to a package com/bpms/flood/Process_com_bpms_flood_RuleTask1407193470.java (4:93) : Only a type can be imported. com.bpms.flood.model.Person resolves to a package Error importing : 'com.bpms.flood.model.Person' Error importing : 'com.bpms.flood.model.Request' To reproduce: 1.) Download BPMS 6 ER3 and merge it with JBoss EAP 6.1. 2.) Setup user guest, with password guest. Hint: guest=b5d048a237bfd2874b6928e1f37ee15e guest=kie-user,ADMIN 3.) Enable demo projects in standalone.xml: <property name="org.kie.demo" value="true"/> to be able to use demo group. 4.) Clone repository git://git.app.eng.bos.redhat.com/bpms-assets.git in business-central. 5.) Add the repository to the demo group. 6.) Open project bpms-perf and build&deploy it. The errors above are thrown. In ER2 it completed with success, so this is a regression.
This error typically shows up when the class is not found in the classpath. Need to narrow why it is raising a classpath error against a jBPM class.
I talked to Maciej and he said it is working with ER4. I am reassigning this ticket to him so he could confirm and close it.
I believe it was already fixed as it cannot be reproduced on post ER4 build so marking as modified for retest on ER5 as soon as it will be available.
I have tested this on ER4 and it's fixed. Verified.
This BZ has been part of the 6.0.0 stream.