× Heads up!

Aqua Data Server (Public) / nhilam

Follow
Data Collaboration Application Server
×
NielsGron reported 2010-08-02T22:26:24Z  · allanchan(*) last modified 2010-08-12T22:49:27Z

NPE - viewing running jobs of deleted jobs


Priority Low
Complexity Unknown
Component Admin - Activation
Version 1.0

Assuming you have a long running job.

 

0. run the long running job.

1. delete the  job in the scheduler.

2. now try to view the running jobs.

you'll get a NPE.

 

2 possible fixes

0. check in the scheduler controller (/app/admin/scheduler?status=RUNNING) to see if the job info is null.  If so, don't try to get info for the schdule job (will you can't anyway, it's null, it's really should be checking for nulls)

1. check in the EditScheduleController(/app/home/project/*/scheduled_job/*/delete) to see if there are running jobs scheduled.  if there are, tell the users they have to wait for the job to finish before they can delete the scheduled job.

 

option 0 is an easy fix

option 1 is a more difficult fix but weill result in a better user experience, maybe.

Issue #1099

Closed
Fixed
Resolved 2010-08-12T22:49:27Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017