Bug 778676 (SOA-1146) - Null Pointer Exception in jBPM JobExecutor on server shutdown
Summary: Null Pointer Exception in jBPM JobExecutor on server shutdown
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1146
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBPM - within SOA, Build Process
Version: 4.3 CP01
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.3 CP01
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-26 11:39 UTC by Julian Coleman
Modified: 2009-02-20 12:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
SOA 4.3.0 CP01 pre-release with jBPM 3.2.4 and JSF console 3.3.1.GA
Last Closed: 2009-02-20 12:42:20 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1146 0 Critical Closed Null Pointer Exception in jBPM JobExecutor on server shutdown 2013-08-14 11:12:51 UTC

Description Julian Coleman 2009-01-26 11:39:23 UTC
Date of First Response: 2009-01-27 05:07:33
project_key: SOA

Observe following in log on server shutdown:

> WARN  [org.jboss.soa.esb.services.jbpm.configuration.JbpmService] Stopping failed jboss.esb:service=JbpmService
> java.lang.NullPointerException
> 	at org.jbpm.job.executor.JobExecutor.stopAndJoin(JobExecutor.java:84)
> 	at org.jboss.soa.esb.services.jbpm.configuration.JbpmService.stopService(JbpmService.java:52)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)

Comment 1 Julian Coleman 2009-01-26 12:21:46 UTC
Thomas will look into this.

Thanks!

Comment 2 Thomas Diesler 2009-01-27 09:50:35 UTC
Link: Added: This issue depends JBPM-1989


Comment 3 Thomas Diesler 2009-01-27 10:07:33 UTC
Fixed in jbpm-3.2.4.SP1 and jbpm-3.2.6.GA

Comment 4 Kevin Conner 2009-01-28 11:43:40 UTC
While there is a bug in jBPM, and Thomas appears to have fixed this, the real issue is that the jsf-console.war configuration should not be allowed to start/stop the jBPM resources.

The real fix for this, within the SOA environment, is to disable the jBPM JobExecutorLauncher and JbpmConfigurationCloser servlets.

We have recently updated the jBPM version in the ESB project and hit the same issue, see JBESB-2312.

Comment 5 Julian Coleman 2009-01-28 12:18:33 UTC
We need to apply the same changes as those in JBESB-2312.

Comment 6 Julian Coleman 2009-01-28 15:43:08 UTC
Fixed on the 4.3 branch in revision 2571 of:

  build-tools/builders/jbpm/build.xml

Commit message:
  Synchronise changes to jBPM hibernate.cfg.xml with ESB.  See:
    http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/services/jbpm/upgrade-jbpm.txt

and revision 2575 of:
  build-tools/builders/soa/p-consoles/jbpm/resources/web-development.xml
  build-tools/builders/soa/p-consoles/jbpm/resources/web-production.xml

Commit message:
  Also comment out the JbpmConfigurationCloser.  From JIRA JBESB-2312.
  Fixes JIRA SOA-1146.


Comment 7 Jiri Pechanec 2009-02-20 12:42:20 UTC
Verified in CR2


Note You need to log in before you can comment on or make changes to this bug.