Thanks Kevin.
Thanks for the link. Installed 1.5.0b8 and when I try to send raw Seimens IMA/SR files (DICOM files in the original Syngo scanner console format) to our 1.5.2 XNAT installation I see this on the Client (in the window from which DicomBrowser was run):
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.lang.StringBuilder.<init>(StringBuilder.java:109)
at org.nrg.dcm.browse.CStoreDialog$AEAddr.toString(CStoreDialog.java:118)
at org.nrg.dcm.browse.CStoreDialog$AEHistory.toString(CStoreDialog.java:204)
at org.nrg.dcm.browse.CStoreDialog.actionPerformed(CStoreDialog.java:466)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
at java.awt.Component.processMouseEvent(Component.java:6203)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:5968)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4564)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4390)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4390)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
While on the XNAT server, the application log contains:
2011-09-14 11:32:58,974 [XNAT_DICOM-71] ERROR org.nrg.dcm.CStoreService - C-STORE operation failed
org.nrg.action.ServerException: org.nrg.xnat.helpers.prearchive.SessionException: A record with session 11.09.05-15:26:56-DST-1.3.12.2.1107.5.2.32.35380, timestamp 20110905_181016 and project Limbo could not be found.
at org.nrg.xnat.archive.GradualDicomImporter.call(GradualDicomImporter.java:442)
at org.nrg.dcm.CStoreService.doCStore(CStoreService.java:216)
at org.nrg.dcm.CStoreService.cstore(CStoreService.java:198)
at org.dcm4che2.net.DicomServiceRegistry.process(DicomServiceRegistry.java:238)
at org.dcm4che2.net.NetworkApplicationEntity.perform(NetworkApplicationEntity.java:1158)
at org.dcm4che2.net.Association.onDimseRQ(Association.java:979)
at org.dcm4che2.net.PDUDecoder.decodeDIMSE(PDUDecoder.java:530)
at org.dcm4che2.net.Association.onPDataTF(Association.java:956)
at org.dcm4che2.net.State$Sta6.receivedPDataTF(State.java:239)
at org.dcm4che2.net.Association.receivedPDataTF(Association.java:952)
at org.dcm4che2.net.PDUDecoder.nextPDU(PDUDecoder.java:231)
at org.dcm4che2.net.Association.run(Association.java:851)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.nrg.xnat.helpers.prearchive.SessionException: A record with session 11.09.05-15:26:56-DST-1.3.12.2.1107.5.2.32.35380, timestamp 20110905_181016 and project Limbo could not be found.
at org.nrg.xnat.helpers.prearchive.PrearcDatabase.checkUniqueRow(PrearcDatabase.java:1692)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase.checkSession(PrearcDatabase.java:1675)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase.withSession(PrearcDatabase.java:1736)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase.modifySession(PrearcDatabase.java:1741)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase.setLastModifiedTime(PrearcDatabase.java:1616)
at org.nrg.xnat.archive.GradualDicomImporter.call(GradualDicomImporter.java:438)
... 12 more
One entry per file. And then application.log ends with
FOOFOOFOO
On a line all by itself (I put "FOO" as the local AE Title this time, wtin no local AE Title, there is no last line).
While the velocity.log contains:
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 7, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 11, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 15, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 19, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 23, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 28, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 33, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 38, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 43, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 48, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 58, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 62, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 67, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 72, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 77, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 85, column 1]
2011-09-14 11:34:28,727 ["http-apr-80"-exec-42] ERROR velocity - RHS of #set statement is null. Context will not be modified. /screens/Variables.vm [line 90, column 1]
2011-09-14 11:34:28,732 ["http-apr-80"-exec-42] ERROR velocity - Left side ($data.getSession().getAttribute("user").getUsername()) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. navigations//NoMenuTop.vm [line 9, column 76]
When I try to send the same files using dcmtk's storescu command, I get an identical application.log error for the first file, and it quits:
% storescu -v -aec CBSCENTRAL cbscentral.xxxx.xxxx.xxxxxx.xxxxxxxx.xxx 4444 *
Requesting Association
Association Accepted (Max Send PDV: 16372)
--------------------------
Sending file: 110905_HTT01310.MR.INVESTIGATORS_BUCKNER.0001.0001.2011.09.06.09.10.44.125000.244971595.IMA
Transfer: LittleEndianExplicit -> LittleEndianExplicit
Store SCU RQ: MsgID 1, (MR)
XMIT:.....................................
C-Store RSP: MsgID: 1 [Status=Refused: OutOfResources]
AffectedSOPClassUID: =MRImageStorage
AffectedSOPInstanceUID: 1.3.12.2.1107.5.2.32.35380.2011090515332091307765751
Data Set: Not Present
Status Detail:
# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0902) LO [org.nrg.xnat.helpers.prearchive.SessionException: A record with] # 64, 1 ErrorComment
Releasing Association
Any clues?
Thanks,
-Gabriele