ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ODE-79) NullPointerException thrown in JBI-BPEL process calling a JSR181 service
Date Tue, 14 Nov 2006 15:25:38 GMT
     [ http://issues.apache.org/jira/browse/ODE-79?page=all ]

Alex Boisvert resolved ODE-79.
------------------------------

    Resolution: Fixed

This bug was fixed yesterday in changeset 474541:

474541 created by mriou on 13 November 2006, 16:30:41 -0600 (16 hours ago) (patch) Fixing
possible NPE.
    * + /trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/WorkEvent.java 474541
history download (+1 -1) diffs
      105	105	 	    }
      106	106	 	
      107	107	 	    public boolean isInMem() {
      108	 	-	        return (Boolean)_jobDetail.get("inmem");
       	108	+	        return _jobDetail != null && (Boolean)_jobDetail.get("inmem");
      109	109	 	    }
      110	110	 	}
      111	111	 	

> NullPointerException thrown in JBI-BPEL process calling a JSR181 service
> ------------------------------------------------------------------------
>
>                 Key: ODE-79
>                 URL: http://issues.apache.org/jira/browse/ODE-79
>             Project: Apache Ode
>          Issue Type: Bug
>          Components: JBI Integration
>         Environment: Windows XP, J2SDK 1.5.0_06, ServiceMix 3.0 Release, ODE-JBI 2.0
Snapshot installer (Build of Revision 473126)
>            Reporter: Matthias von Arx
>         Attachments: sa-criminalregister.zip, sa-federalcriminalregister.zip
>
>
> With an erlier ode-jbi-2.0-SNAPSHOT-installer.zip an IllegalStateException was thrown
(see ODE-49). With the current build the following exception was thrown:
> 15:13:20,950 | DEBUG | Thread-24  | DeliveryChannelImpl      | .messaging.DeliveryChannelImpl
 615 | Received: InOut[
>   id: ID:chav548c-2018-1163512975637-4:1
>   status: Done
>   role: provider
>   service: {http://husky.siemens.com/xml/ns/services/federalcriminalregister}FederalCriminalRegisterService
>   endpoint: JbiEndpoint
>   operation: {http://husky.siemens.com/xml/ns/services/federalcriminalregister}getCriminalRecords
>   in: <?xml version="1.0" encoding="UTF-8"?><getCriminalRecords xmlns="http://husky.siemens.com/xml/ns/services/federalcriminalregister"
xmlns:ns2="http://husky.siemens.com/xml/ns/services/federalcriminalregister">
>                             <ns2:principalId>1.1.1.1</ns2:principalId>
>                         </getCriminalRecords>
>   out: <?xml version="1.0" encoding="UTF-8"?><getCriminalRecordsResponse xmlns="http://husky.siemens.com/xml/ns/services/federalcriminalregister"><criminalRecords><ns1:CriminalRecord
xmlns:ns1="http://federalcriminalregister.services.husky.siemens.com"><dateOfArrest
xmlns="http://federalcriminalregister.services.husky.siemens.com">1990-03-13T00:00:00+01:00</dateOfArrest><dateOfDischarge
xmlns="http://federalcriminalregister.services.husky.siemens.com">1990-05-13T00:00:00+02:00</dateOfDischarge><dateOfIncident
xmlns="http://federalcriminalregister.services.husky.siemens.com">1980-03-12T00:00:00+01:00</dateOfIncident><kindOfIncident
xmlns="http://federalcriminalregister.services.husky.siemens.com">Robbery</kindOfIncident></ns1:CriminalRecord><ns1:CriminalRecord
xmlns:ns1="http://federalcriminalregister.services.husky.siemens.com"><dateOfArrest
xmlns="http://federalcriminalregister.services.husky.siemens.com">1981-07-21T00:00:00+02:00</dateOfArrest><dateOfDischarge
xmlns="http://federalcriminalregister.services.husky.siemens.com">1986-07-20T00:00:00+02:00</dateOfDischarge><dateOfIncident
xmlns="http://federalcriminalregister.services.husky.siemens.com">1981-06-20T00:00:00+02:00</dateOfIncident><kindOfIncident
xmlns="http://federalcriminalregister.services.husky.siemens.com">Murder</kindOfIncident></ns1:CriminalRecord></criminalRecords></getCriminalRecordsResponse>
> ]
> 15:13:20,950 | DEBUG | Thread-24  | Jsr181Component          | emix.common.AsyncBaseLifeCycle
 388 | Received exchange: status: Done, role: provider
> 15:13:21,221 | DEBUG | pool-1-thread-2 | JTAJobRunShell           | org.quartz.core.JobRunShell
    194 | Calling execute on job DEFAULT.-gci8lpwb4p17sm5t11qkte
> 15:13:21,221 | ERROR | pool-1-thread-2 | JobRunShell              | org.quartz.core.JobRunShell
    204 | Job DEFAULT.-gci8lpwb4p17sm5t11qkte threw an unhandled Exception: 
> java.lang.NullPointerException
> 	at org.apache.ode.bpel.engine.WorkEvent.isInMem(WorkEvent.java:108)
> 	at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:229)
> 	at org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.doExecute(QuartzSchedulerImpl.java:263)
> 	at org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.execute(QuartzSchedulerImpl.java:270)
> 	at org.apache.ode.bpel.scheduler.quartz.JobImpl.execute(JobImpl.java:32)
> 	at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)
> 15:13:21,221 | ERROR | pool-1-thread-2 | ErrorLogger              | org.quartz.core.ErrorLogger
   2015 | Job (DEFAULT.-gci8lpwb4p17sm5t11qkte threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception:
java.lang.NullPointerException]
> 	at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)
> * Nested Exception (Underlying Cause) ---------------
> java.lang.NullPointerException
> 	at org.apache.ode.bpel.engine.WorkEvent.isInMem(WorkEvent.java:108)
> 	at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:229)
> 	at org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.doExecute(QuartzSchedulerImpl.java:263)
> 	at org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.execute(QuartzSchedulerImpl.java:270)
> 	at org.apache.ode.bpel.scheduler.quartz.JobImpl.execute(JobImpl.java:32)
> 	at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)
> 15:13:21,221 | DEBUG | pool-1-thread-2 | JTAJobRunShell           | cheduler.quartz.JTAJobRunShell
  97 | Committing UserTransaction.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message