Red Hat Bugzilla – Bug 851484
JBPM-3647 NullPointerException in jbpm-console when retrieving process definitions from guvnor
Last modified: 2016-07-31 21:14:50 EDT
Description of problem:
backport of JBPM-3647, in come cases when console starts up knowledge agent is not yet initialized while console tries to pickup process definitions and while doing that NPE is thrown when accessing knowledge agent that is null
Version-Release number of selected component (if applicable):
NPE on refreshing list of package
Get actual list of processes available, secure that NPE is not thrown in case of such situations
backported into 5.2.x branch
Could you please tell me a bit more about this? I'm not sure how to test this, since this is a bug reported for jBPM version 5.4.0-SNAPSHOT, if I understand correctly.
I don't think I have seen this happen.
Andrea Carpineti <email@example.com> made a comment on jira JBPM-3647
Affects Version/s: jBPM 5.3
Fix Version/s: jBPM 5.4
(In reply to comment #2)
> Could you please tell me a bit more about this? I'm not sure how to test
> this, since this is a bug reported for jBPM version 5.4.0-SNAPSHOT, if I
> understand correctly.
> I don't think I have seen this happen.
As far as I remember it was reported as well for BRMS 5.3 after clean installation of 5.3.0.Final. It was not reproducable inall cases but I ran into it one or two times as well and that's why fix was applied.
One thing you could try is to install fresh copy of brms standalone and after logging on go directly to processes pane and hit rifresh on process definitions directly to trigger package check.
Hope this helps
Using above mentioned method, I was able to reproduce with 5.3.0 version on 3rd try.
With the current 5.3.1 build, this issue did not occur once in 10+ tries. I'd say verified.