[
https://issues.jboss.org/browse/JBRULES-3204?page=com.atlassian.jira.plug...
]
Wolfgang Laun updated JBRULES-3204:
-----------------------------------
Summary: Creating ProcessBuilder in PackageBuilder should not fail silently (was:
PackageBuilder throws NPE for Resource created from missing file)
Description:
Trying to add a .DRF resource with
org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl
missing from the classpath throws a NPE when the null ProcessBuilder is given a .DRF.
builder.add(ResourceFactory.newClassPathResource("some.rf"), ResourceType.DRF);
was:
Passing a missing file to the PackageBuilder causes an NPE:
builder.add(ResourceFactory.newClassPathResource("no such file"),
ResourceType.DRF);
An NPE is also thrown for ResourceType.XSD
Creating ProcessBuilder in PackageBuilder should not fail silently
------------------------------------------------------------------
Key: JBRULES-3204
URL:
https://issues.jboss.org/browse/JBRULES-3204
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.3.0.Beta1
Reporter: Wolfgang Laun
Assignee: Edson Tirelli
Fix For: 5.3.0.CR1
Trying to add a .DRF resource with
org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl
missing from the classpath throws a NPE when the null ProcessBuilder is given a .DRF.
builder.add(ResourceFactory.newClassPathResource("some.rf"), ResourceType.DRF);
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira