ERROR: Timer already cancelled
As iam running the backgroundjob twice i.e.,. one after the other immediately, the first time it is executing the job successfully but before starting the next one it is showing error "Timer already cancelled" when iam using the singletontimer class extending the timertask
code written by me:
uploadMaterialSchedularObj = new UploadMaterialSchedular (request,response,desc,filename,templatename,id,ci d,status); timer.scheduleAtFixedRate(uploadMaterialSchedularO bj,date.getTime(),1000);
error at above line. please reply with solution..?