[jboss-jira] [JBoss JIRA] (JBRULES-3375) Adding ProcessEventListener throws NPE

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Mon Feb 6 03:38:48 EST 2012


    [ https://issues.jboss.org/browse/JBRULES-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664357#comment-12664357 ] 

RH Bugzilla Integration commented on JBRULES-3375:
--------------------------------------------------

JBoss JIRA Server <jira-update at redhat.com> made a comment on [bug 761446|https://bugzilla.redhat.com/show_bug.cgi?id=761446]

Mario Fusco <mario.fusco at gmail.com> updated the status of jira JBRULES-3375 to Resolved
                
> Adding ProcessEventListener throws NPE
> --------------------------------------
>
>                 Key: JBRULES-3375
>                 URL: https://issues.jboss.org/browse/JBRULES-3375
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>             Fix For: 5.4.0.CR1
>
>
> Description of problem:
> When you try to add a ProcessEventListener to StatefulKnowledgeSession and you
> are missing jBPM libraries on classpath, you get a NullPointerException.
> Version-Release number of selected component (if applicable):
> BRMS-5.3.0.dev5
> Drools-5.3.0.Final
> How reproducible:
> Using attached reproducer.
> Steps to Reproduce:
> 1. Make sure you don't have any jBPM libs on classpath
> 2. Create stateful session
> 3. Add ProcesEventListener (e.g. DebugProcessEventListener)
> Actual results:
> java.lang.NullPointerException
>  at
> org.drools.impl.StatefulKnowledgeSessionImpl.addEventListener(StatefulKnowledgeSessionImpl.java:199)
>  at org.sample.TryProcessListener.main(TryProcessListener.java:20)
> Expected results:
> Either meaningful exception (like NojBPMException) or correct addition of
> listener
> Additional info:
> It only affects StatefulKnowledgeSession, the StatefulKnowledgeSession runs
> just fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list