Bug 1000589 - Process compilation error stack does not include any information usable to identify the process definition which caused the error.
Summary: Process compilation error stack does not include any information usable to id...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER4
: 6.0.0
Assignee: Kris Verlaenen
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-23 19:15 UTC by Marek Baluch
Modified: 2014-08-06 20:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
BPMS 6.0.0.ER1
Last Closed: 2014-08-06 20:10:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Baluch 2013-08-23 19:15:35 UTC
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.

Comment 1 Mauricio Salatino 2013-08-23 19:43:00 UTC
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.

Comment 3 Marek Baluch 2013-10-25 05:27:51 UTC
Verified on ER4.


Note You need to log in before you can comment on or make changes to this bug.