No Presentation Context for Abstract Syntax: 1.2.840.10008.5.1.4.1.1.501.2.1 - DICOS Digital X-Ray Image Storage - For Presentation negotiated

317 views
Skip to first unread message

kamalakar k

unread,
Feb 3, 2016, 2:55:07 AM2/3/16
to dcm4che

Hi,

I am using DCM4CHEE 4.4.0(Server) and dcm4che 3.3.7 toolkit.

Using the StoreSCU in dcm4che 3.3.7 jar,I am trying to send the dicom image to dcm4chee server , but i'm getting the below error .

Scanned 1 files in 0.137s (=137ms/file)
log4j:WARN No appenders could be found for logger (org.dcm4che3.net.Connection).
log4j:WARN Please initialize the log4j system properly.
Connected to DCM4CHEE in 21ms
org.dcm4che3.net.NoPresentationContextException: No Presentation Context for Abstract Syntax: 1.2.840.10008.5.1.4.1.1.501.2.1 - DICOS Digital X-Ray Image Storage - For Presentation negotiated
at org.dcm4che3.net.Association.pcFor(Association.java:795)
at org.dcm4che3.net.Association.cstore(Association.java:829)
at org.dcm4che3.net.Association.cstore(Association.java:823)
at org.dcm4che3.tool.storescu.StoreSCU.send(StoreSCU.java:483)
at org.dcm4che3.tool.storescu.StoreSCU.sendFiles(StoreSCU.java:387)
at org.dcm4che3.tool.storescu.StoreSCU.main(StoreSCU.java:296)
at com.queue.sample.ExportDicomImageDataToOtherImageFormats.main(ExportDicomImageDataToOtherImageFormats.java:67)
Sent 0 objects (=0MB) in 0.016s (=0MB/s)
FILE STORED

this is my code in java file.

                        ApplicationEntity ae = new ApplicationEntity("STORESCU");
String[] args1 = new String[3];
args1[0] = "-c";
args1[1] = "DCM4CHEE@localhost:11112";
args1[2] = "D:\\DICOM\\Images\\01-29-2016\\01faa339-d172-4ed9-b2d3-36202fdeaaeb\\01faa339-d172-4ed9-b2d3-36202fdeaaeb_v1.dcm";
StoreSCU storeSCU = new StoreSCU(ae);
storeSCU.main(args1);
Reply all
Reply to author
Forward
0 new messages