ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ishara premadasa <idpremad...@gmail.com>
Subject Exception in SimpleSchedulerTest.java class in ODE scheduler-simple module
Date Tue, 30 Aug 2011 06:12:52 GMT
The following exception arises in SimpleSchedulerTest class when i build the
trunk with tests in a clean repo(Last Changed Rev: 1042776). However the
test finishes fine.
I am not sure whether this an error or the expected result from the test.
Any idea?

[INFO]
------------------------------------------------------------------------
[INFO] Building ODE :: BPEL Scheduler Simple
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set:
/home/isha/Desktop/Documents/Subversion_Projs/odeTrunk/scheduler-simple/target
(included: [**], excluded: [])
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] snapshot org.apache.ode:ode-bpel-api:1.4-SNAPSHOT: checking for
updates from central
[INFO] snapshot org.apache.ode:ode-bpel-api:1.4-SNAPSHOT: checking for
updates from jboss-public-repository-group
[INFO] snapshot org.apache.ode:ode-bpel-api:1.4-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 10 source files to
/home/isha/Desktop/Documents/Subversion_Projs/odeTrunk/scheduler-simple/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 6 source files to
/home/isha/Desktop/Documents/Subversion_Projs/odeTrunk/scheduler-simple/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/home/isha/Desktop/Documents/Subversion_Projs/odeTrunk/scheduler-simple/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.ode.scheduler.simple.SchedulerThreadTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.168 sec
Running org.apache.ode.scheduler.simple.SimpleSchedulerTest
ERROR - GeronimoLog.error(108) | Error while processing a persisted job: Job
hqejbhcnphr6k0ws0rfbk8 time: 2011-08-30 11:13:59 IST transacted: true
persisted: true details: JobDetails( instanceId: null mexId: null processId:
null type: null channel: null correlatorId: null correlationKeySet: null
retryCount: null inMem: null detailsExt: {foo=123})
java.lang.NullPointerException
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:296)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:227)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:523)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:507)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
.......................................
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.405 sec

Results :

Tests run: 20, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/home/isha/Desktop/Documents/Subversion_Projs/odeTrunk/scheduler-simple/target/ode-scheduler-simple-1.4-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/home/isha/Desktop/Documents/Subversion_Projs/odeTrunk/scheduler-simple/target/ode-scheduler-simple-1.4-SNAPSHOT.jar
to
/home/isha/.m2/repository/org/apache/ode/ode-scheduler-simple/1.4-SNAPSHOT/ode-scheduler-simple-1.4-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 21 seconds
[INFO] Finished at: Tue Aug 30 11:14:45 IST 2011
[INFO] Final Memory: 41M/661M
[INFO]
------------------------------------------------------------------------


-- 
*Best Regards.*

*Ishara Premadasa,*
Trainee Software Engineer/Undergraduate,
Dept. of Computer Science & Engineering,
University of Moratuwa
Sri Lanka.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message