Hide Forgot
Description of problem: If Guvnor has not built any packages yet and user accesses the Process Overview in jbpm-console, two NPE exceptions are thrown. Version-Release number of selected component (if applicable): ER3 How reproducible: always Steps to Reproduce: 1. use freshly installed standalone package 2. after the server starts, go to jbpm-console / Process Overview 3. Actual results: Expected results: Error should be reported only if Guvnor cannot be contacted. No package binaries is not an error. Additional info: attached server.log
Created attachment 557876 [details] server.log
*** Bug 796147 has been marked as a duplicate of this bug. ***
This seems to be more of Guvnor issue as the exceptions are trhown by org.drools.guvnor.server.files.PackageDeploymentServlet
Michael, would you please look at this and assess whether the issue is in Guvnor?
Michael, please see comment 3 and comment 4. (I forgot to CC you.)
The issue is more general. To reproduce, it is sufficient to have any package that hasn't been built. Example: Packages |-package1 (built) |-package2 (built) `-newPackage (not built) Under this condition, the jbpm console knowledge session fails to initialize and no processes are displayed.
Assigned to Tiho following discussion on IRC.
I added an extra check where console now will check if the guvnor package has been built or not. If it has not the package will be excluded from the list of available packages. This fix is checked into the jBPM 5.2.x branch.
Update status to ON_QA. Please verify them against ER6.
I saw this still happened to ER6, ER7. So would it be to ER8 if not fixed. Send an notification to Tihomir. I would leave the status updates to QE or developer.
Have a futher look on this issue. The Tihomir'fix seems to be override by other fix commit later on file jbpm/jbpm-gwt/jbpm-gwt-shared/src/main/java/org/jbpm/integration/console/shared/GuvnorConnectionUtils.java
Correct, I missed one place where new method should be used. Fixed and committed into master and 5.3.x. As it is not marked as blocker I did not merge it to 5.2.x. Let me know if I shall merge it there as well.
Fix merged into 5.2.x
Please verify them on ER8.
Packages are built if no build exists and rebuild when changes are made in them, so no NPEs due to missing binaries occur.