]
Mark Proctor resolved JBRULES-2669.
-----------------------------------
Fix Version/s: 5.2.0.CR1
Resolution: Done
NullPointerException when empty byte array resource is added to
KnowledgeBuilder
--------------------------------------------------------------------------------
Key: JBRULES-2669
URL:
https://issues.jboss.org/browse/JBRULES-2669
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.1.0.FINAL
Reporter: Samuli Saarinen
Assignee: Mark Proctor
Fix For: 5.2.0.CR1
Following code produces the NPE
{code:java}
@Test
public void testEmptyByteResource() throws Exception {
KnowledgeBuilder builder = KnowledgeBuilderFactory.newKnowledgeBuilder();
builder.add(ResourceFactory.newByteArrayResource(new byte[0]), ResourceType.DRL);
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: