Description of problem: The following stack trace (receive on build&deploy error) does not identify the process which contains the error. 21:07:35,092 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@686a5e23 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 Process Compilation error : org.drools.compiler.lang.descr.ProcessDescr@16ef5662 com/bpms/flood/Process_com_bpms_flood_ManualTasks125951736.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_ManualTasks125951736.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' IMO a call to getProcessId() should be sufficient.
I'm re assigning this bug to Michael Anstis, because the build and deploy button is on the Kie Project side, I hope that Michael can re assign the issue to the person responsible for that code.
master: http://github.com/droolsjbpm/drools/commit/a3f3ccf68 6.0.x: http://github.com/droolsjbpm/drools/commit/b9de4505a
Verified on ER4.