REST upload failure bug...

18 views
Skip to first unread message

David Gutman

unread,
Nov 9, 2011, 4:20:26 PM11/9/11
to xnat_di...@googlegroups.com
So I think this is an Artifact related to my server crash a couple of weeks ago... but I had created a demo project called "Primates"... which didn't make it after the recovery (i.e. it was a demo project and I haven't made a new one)

I noted that when I tried to upload new images they didn't seem to appear in the Prearchive... I think that the XML rebuilder that seems to be kicked off gets stunk when it finds a directory for a projet that doesn't actually exist.. somewhat of a minor bug since this thing shouldn't happen (i.e. folders magically appear in the PREARCHIVE directory)... but thought it was worth noting..


2011-11-09 15:55:40,475 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-2] ERROR org.nrg.xnat.helpers.prearchive.SessionXMLRebuilderJob - 
java.io.IOException: No project named PRIMATES
        at org.nrg.xnat.helpers.prearchive.PrearcUtils.getPrearcDir(PrearcUtils.java:163)
        at org.nrg.xnat.helpers.prearchive.PrearcUtils.getPrearcSessionDir(PrearcUtils.java:307)
        at org.nrg.xnat.helpers.prearchive.SessionXMLRebuilderJob.execute(SessionXMLRebuilderJob.java:74)
        at org.nrg.schedule.DelegatingJobBean.executeInternal(DelegatingJobBean.java:55)
        at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
2011-11-09 15:56:41,028 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] ERROR org.nrg.xnat.helpers.prearchive.SessionXMLRebuilderJob - 
java.io.IOException: No project named PRIMATES
        at org.nrg.xnat.helpers.prearchive.PrearcUtils.getPrearcDir(PrearcUtils.java:163)
        at org.nrg.xnat.helpers.prearchive.PrearcUtils.getPrearcSessionDir(PrearcUtils.java:307)
        at org.nrg.xnat.helpers.prearchive.SessionXMLRebuilderJob.execute(SessionXMLRebuilderJob.java:74)
        at org.nrg.schedule.DelegatingJobBean.executeInternal(DelegatingJobBean.java:55)
        at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
2011-11-09 15:56:55,650 [http-8080-1] ERROR org.nrg.xnat.restlet.actions.SessionImporter - 
java.lang.NullPointerException


--
David A Gutman, M.D. Ph.D.
Assistant Professor of Biomedical Informatics
Senior Research Scientist, Center for Comprehensive Informatics
Emory University School of Medicine
Reply all
Reply to author
Forward
0 new messages