DICOM Uploader applet failed to upload

34 views
Skip to first unread message

Shuhua Wu

unread,
Apr 10, 2009, 3:04:40 PM4/10/09
to xnat_discussion
I tried DICOM Uploader applet and failed to upload.

I copy the output in java console as below.

Thanks,
Shuhua


TRACE [thread applet-org.nrg.dcm.TrawlerApplet] (TrawlerApplet.java:
139) - Init org.nrg.dcm.TrawlerApplet
[panel7,0,0,400x400,hidden,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane
[,0,0,400x400,layout=javax.swing.JRootPane
$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
TRACE [thread applet-org.nrg.dcm.TrawlerApplet] (TrawlerApplet.java:
155) - Starting org.nrg.dcm.TrawlerApplet
[panel7,0,0,400x400,hidden,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane
[,0,0,400x400,layout=javax.swing.JRootPane
$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
DEBUG [Thread-98] (SessionUploader.java:266) - POST session manifest
{"uid":"1.2.826.0.1.3680043.2.1332.1.2.18446744073701254237.8993.1197070","session_label":"34546","project":"XNATTEST","subject_label":"0246","subject":"PINC_S00001"}
to http://xnat-hd.psychiatry.uiowa.edu:8180/session/session
DEBUG [Thread-98] (SessionUploader.java:303) - received response
{"tls":"","scp_ae_title":"XNAT","scp_port":8104,"scp_host":"xnat-
hd.psychiatry.uiowa.edu","script":"http://nrg.wustl.edu/projects/DICOM/
id.das"}
DEBUG [Thread-98] (TrawlerSelectionCStoreSCU.java:139) -
org.nrg.dcm.TrawlerSelectionCStoreSCU@1cad3a6 to xnat-
hd.psychiatry.uiowa.edu:8104 (XNAT) starting C-STORE
DEBUG [Thread-98] (TrawlerSelectionCStoreSCU.java:217) - C-STORE
complete; 254/254 objects sent
DEBUG [Thread-98] (SessionUploader.java:173) - issuing PUT to
http://xnat-hd.psychiatry.uiowa.edu:8180/session/project/XNATTEST/study/1.2.826.0.1.3680043.2.1332.1.2.18446744073701254237.8993.1197070
DEBUG [Thread-98] (SessionUploader.java:190) - session close PUT
failed: Unable to find session for project/XNATTEST/study/
1.2.826.0.1.3680043.2.1332.1.2.18446744073701254237.8993.1197070
DEBUG [Thread-98] (SessionUploader.java:358) - error closing session
java.io.FileNotFoundException:
http://xnat-hd.psychiatry.uiowa.edu:8180/session/project/XNATTEST/study/1.2.826.0.1.3680043.2.1332.1.2.18446744073701254237.8993.1197070
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at org.nrg.dcm.gui.SessionUploader.closeSession(SessionUploader.java:
191)
at org.nrg.dcm.gui.SessionUploader.access$1300(SessionUploader.java:
45)
at org.nrg.dcm.gui.SessionUploader$Uploader.run(SessionUploader.java:
356)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException:
http://xnat-hd.psychiatry.uiowa.edu:8180/session/project/XNATTEST/study/1.2.826.0.1.3680043.2.1332.1.2.18446744073701254237.8993.1197070
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at org.nrg.dcm.gui.SessionUploader.closeSession(SessionUploader.java:
177)
... 3 more
Exception in thread "Thread-94" java.lang.RuntimeException:
java.lang.NullPointerException
at org.nrg.dcm.gui.ButtonInitiatedProcedureStep$1.run
(ButtonInitiatedProcedureStep.java:50)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.nrg.dcm.TrawlerApplet.stepPerformed(TrawlerApplet.java:380)
at org.nrg.dcm.gui.AbstractProcedureStep.stepCompleted
(AbstractProcedureStep.java:32)
at org.nrg.dcm.gui.ButtonInitiatedProcedureStep$1.run
(ButtonInitiatedProcedureStep.java:45)
... 1 more


Kevin Archie

unread,
Apr 12, 2009, 9:33:51 AM4/12/09
to xnat_di...@googlegroups.com
Shuhua,

Unfortunately, the uploader applet and DicomServer are very fussy
about configuration, and I really haven't documented the details yet.
I suspect that there's some small problem with the configuration
here. I'll be making some changes to both applet and server to make
it easier to debug these problems; I'll make an announcement when
they're ready (probably Monday).

- Kevin

Kevin Archie

unread,
Apr 15, 2009, 7:32:59 AM4/15/09
to xnat_di...@googlegroups.com
I'm not quite yet ready with the debugging changes I mentioned
earlier, but I have put up a new build of DicomServer:

http://nrg.wustl.edu/projects/DICOM/DicomServer-1.4RC2.html

Revision 437 fixes a few things, notably a bug in which when a session
is received that can't be mapped to a project, DicomServer issues
many, many web services requests to XNAT (one per file). Tim only
half-jokingly called this a denial of service attack. If you've
installed any of the 1.4rc2 revs of DicomServer, you want to upgrade
to rev 437.

- Kevin

Kevin Archie

unread,
Apr 17, 2009, 4:52:52 PM4/17/09
to xnat_di...@googlegroups.com
I've just found and fixed a serious bug in DicomServer that could interfere with correct operation of the upload applet (as seen in the message quoted below). I recommend that anyone using an RC2 build of DicomServer upgrade to the latest build (at this writing, rev 440) : http://nrg.wustl.edu/projects/DICOM/DicomServer-1.4RC2.html

- Kevin

p.s. for Shuhua Wu: Sorry about the delay in responding; I've been working on improvements to both the upload applet and DicomServer that would make it easier to track down the problem, and in the process accidentally found a bug that probably caused what you reported.

anda

unread,
Apr 27, 2009, 12:27:23 PM4/27/09
to xnat_discussion
Hi Kevin

I'm trying to start DicomServer rev440 . I have configured the files,
but get this error:

[root@Oort bin]# ./arc-dcmstore start
DicomServer PID: 21899
[root@Oort bin]# java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)

Exception in thread "main" java.lang.NoClassDefFoundError: org/nrg/dcm/
DicomServer

Thank you
Anda


On Apr 17, 4:52 pm, Kevin Archie <karc...@npg.wustl.edu> wrote:
> I've just found and fixed a serious bug in DicomServer that could interfere with correct operation of the upload applet (as seen in the message quoted below).  I recommend that anyone using an RC2 build of DicomServer upgrade to the latest build (at this writing, rev 440) :http://nrg.wustl.edu/projects/DICOM/DicomServer-1.4RC2.html
>
>  - Kevin
>
> p.s. for Shuhua Wu:  Sorry about the delay in responding; I've been working on improvements to both the upload applet and DicomServer that would make it easier to track down the problem, and in the process accidentally found a bug that probably caused what you reported.
>
> -----Original Message-----
> From: xnat_di...@googlegroups.com [mailto:xnat_di...@googlegroups.com] On Behalf Of Shuhua Wu
> Sent: Friday, April 10, 2009 2:05 PM
> To: xnat_discussion
> Subject: DICOM Uploader applet failed to upload
>
> I tried DICOM Uploader applet and failed to upload.
>
> I copy the output in java console as below.
>
> Thanks,
> Shuhua
>
> TRACE [thread applet-org.nrg.dcm.TrawlerApplet] (TrawlerApplet.java:
> 139) - Init org.nrg.dcm.TrawlerApplet
> [panel7,0,0,400x400,hidden,layout=java.awt.BorderLayout,rootPane=javax.swin g.JRootPane
> [,0,0,400x400,layout=javax.swing.JRootPane
> $RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSiz e=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
> TRACE [thread applet-org.nrg.dcm.TrawlerApplet] (TrawlerApplet.java:
> 155) - Starting org.nrg.dcm.TrawlerApplet
> [panel7,0,0,400x400,hidden,layout=java.awt.BorderLayout,rootPane=javax.swin g.JRootPane
> [,0,0,400x400,layout=javax.swing.JRootPane
> $RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSiz e=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
> DEBUG [Thread-98] (SessionUploader.java:266) - POST session manifest
> {"uid":"1.2.826.0.1.3680043.2.1332.1.2.18446744073701254237.8993.1197070"," session_label":"34546","project":"XNATTEST","subject_label":"0246","subject ":"PINC_S00001"}
> tohttp://xnat-hd.psychiatry.uiowa.edu:8180/session/session
> DEBUG [Thread-98] (SessionUploader.java:303) - received response
> {"tls":"","scp_ae_title":"XNAT","scp_port":8104,"scp_host":"xnat-
> hd.psychiatry.uiowa.edu","script":"http://nrg.wustl.edu/projects/DICOM/
> id.das"}
> DEBUG [Thread-98] (TrawlerSelectionCStoreSCU.java:139) -
> org.nrg.dcm.TrawlerSelectionCStoreSCU@1cad3a6 to xnat-
> hd.psychiatry.uiowa.edu:8104 (XNAT) starting C-STORE
> DEBUG [Thread-98] (TrawlerSelectionCStoreSCU.java:217) - C-STORE
> complete; 254/254 objects sent
> DEBUG [Thread-98] (SessionUploader.java:173) - issuing PUT tohttp://xnat-hd.psychiatry.uiowa.edu:8180/session/project/XNATTEST/stu...
> DEBUG [Thread-98] (SessionUploader.java:190) - session close PUT
> failed: Unable to find session for project/XNATTEST/study/
> 1.2.826.0.1.3680043.2.1332.1.2.18446744073701254237.8993.1197070
> DEBUG [Thread-98] (SessionUploader.java:358) - error closing session
> java.io.FileNotFoundException:http://xnat-hd.psychiatry.uiowa.edu:8180/session/project/XNATTEST/stu...
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection$6.run(UnknownSource)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.net.www.protocol.http.HttpURLConnection.getChainedException
> (Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> Source)
>         at org.nrg.dcm.gui.SessionUploader.closeSession(SessionUploader.java:
> 191)
>         at org.nrg.dcm.gui.SessionUploader.access$1300(SessionUploader.java:
> 45)
>         at org.nrg.dcm.gui.SessionUploader$Uploader.run(SessionUploader.java:
> 356)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.FileNotFoundException:http://xnat-hd.psychiatry.uiowa.edu:8180/session/project/XNATTEST/stu...

Kevin Archie

unread,
Apr 28, 2009, 6:39:19 PM4/28/09
to xnat_di...@googlegroups.com
What OS is this? (output from "uname -a" should tell me all I need to
know)

Thanks,
Kevin

Anda Pacurar

unread,
Apr 29, 2009, 10:28:48 AM4/29/09
to xnat_di...@googlegroups.com
SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux

Thank you
Anda

Kevin Archie

unread,
Apr 29, 2009, 11:53:22 AM4/29/09
to xnat_di...@googlegroups.com
My best guess is that the paths aren't set up correctly in arc-
dcmstore. As the script ships, you should be able to run it from the
DicomServer root directory (as bin/arc-dcmstore), but probably not
from the bin/ directory. It's a little better behaved, though, if you
edit the path variables (most notably LIBDIR and propsfile) to reflect
where you actually installed the package.

- Kevin
Reply all
Reply to author
Forward
0 new messages