[jboss-jira] [JBoss JIRA] (DROOLS-511) KieContainerImpl.updateResourcesIncrementally throws NullPointerException when a package doesn't exist
RH Bugzilla Integration (JIRA)
issues at jboss.org
Thu Apr 16 08:20:19 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059643#comment-13059643 ]
RH Bugzilla Integration commented on DROOLS-511:
------------------------------------------------
Marek Winkler <mwinkler at redhat.com> changed the Status of [bug 1195464|https://bugzilla.redhat.com/show_bug.cgi?id=1195464] from ON_QA to VERIFIED
> KieContainerImpl.updateResourcesIncrementally throws NullPointerException when a package doesn't exist
> ------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-511
> URL: https://issues.jboss.org/browse/DROOLS-511
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.0.0.Final
> Reporter: Mike Wilson
> Assignee: Mario Fusco
> Labels: backport-to-6.0.x
> Fix For: 6.2.0.CR1
>
>
> When calling KieContainerImpl.updateToVersion(ReleaseId), we sometimes experience a NullPointerException during a chained set of method calls that try to obtain a package, and then a rule within it.
> If the package is null, a NullPointerException is thrown, because there is no check in place before that call to get the rule from the package.
> To prevent this, a null check should be added to the package before trying to get the rule from it.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list