pipeline execution fails - NoSuchMethodError

352 views
Skip to first unread message

A. S.

unread,
Feb 4, 2013, 3:49:06 AM2/4/13
to xnat_di...@googlegroups.com
Hi,

pipeline execution is not working with the newest version, I just pulled and updated from the hg-repo.
the following problem occurs:

==> /var/lib/tomcat6/webapps/xnat/logs/application.log <==
2013-02-04 09:37:09,827 [Thread-23] ERROR org.nrg.pipeline.ProcessLauncher -  Couldnt launch /home/xnat/xnat16/pipeline/bin/XnatPipelineLauncher -pipeline xnat_tools/AutoRun.xml [...]

if I try to execute it manually I get the following exception:

Logging to File /home/xnat/xnat16/pipeline/logs/pipeline_2013_02_04_09_37_32.log
1359967953401
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.client.methods.HttpPost.releaseConnection()V
        at org.nrg.xnattools.SessionManager.createJSESSION(SessionManager.java:72)
        at org.nrg.xnattools.SessionManager.getJSESSION(SessionManager.java:108)
        at org.nrg.xnattools.xml.XMLSearch.getIdentifiers(XMLSearch.java:129)
        at org.nrg.xnattools.xml.XMLSearch.searchAll(XMLSearch.java:79)
        at org.nrg.pipeline.client.XNATPipelineLauncher.isPipelineQueuedOrAwaitingOrOnHold(XNATPipelineLauncher.java:332)
        at org.nrg.pipeline.client.XNATPipelineLauncher.launch(XNATPipelineLauncher.java:70)
        at org.nrg.pipeline.client.XNATPipelineLauncher.run(XNATPipelineLauncher.java:282)
        at org.nrg.pipeline.client.XNATPipelineLauncher.main(XNATPipelineLauncher.java:247)


Is that a known problem?

thanks!


Mohana Ramaratnam

unread,
Feb 4, 2013, 4:35:39 AM2/4/13
to xnat_di...@googlegroups.com
This problem has been fixed - please pull again from

http://hg.xnat.org/pipeline_1_6dev

The culprit is the jar xnat_tools-1.6.jar.

Regards
Mohana




--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

A. S.

unread,
Feb 4, 2013, 9:47:19 AM2/4/13
to xnat_di...@googlegroups.com
thanks, that worked for me.

does this affect the creation of thumbnails for the scans?

creation does not work after the update. I also cannot see something unusual in the logs..

A. S.

unread,
Feb 6, 2013, 5:34:43 AM2/6/13
to xnat_di...@googlegroups.com
if I try to run this manually, I get the following exception:

/home/xnat/xnat16# /home/xnat/xnat16/pipeline/image-tools/WebBasedQCImageCreator -session Patient_ID -project AN -xnatId devXNAT_E00015 -host http://host.de:8080/xnat/ -u user -pwd pw -raw
Exception in thread "main" java.lang.NoSuchFieldError: DEF_CONTENT_CHARSET
        at org.apache.http.impl.client.DefaultHttpClient.setDefaultHttpParams(DefaultHttpClient.java:175)
        at org.apache.http.impl.client.DefaultHttpClient.createHttpParams(DefaultHttpClient.java:158)
        at org.apache.http.impl.client.AbstractHttpClient.getParams(AbstractHttpClient.java:448)
        at org.apache.http.impl.client.AbstractHttpClient.createClientConnectionManager(AbstractHttpClient.java:309)
        at org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(AbstractHttpClient.java:466)
        at org.apache.http.impl.client.AbstractHttpClient.createHttpContext(AbstractHttpClient.java:286)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:851)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
        at org.nrg.xnattools.SessionManager.createJSESSION(SessionManager.java:62)
        at org.nrg.xnattools.SessionManager.getJSESSION(SessionManager.java:108)
        at org.nrg.xnattools.service.WebServiceClient.connect(WebServiceClient.java:87)
        at org.nrg.plexiViewer.converter.WebBasedQCImageCreator.createQCImages(WebBasedQCImageCreator.java:136)
        at org.nrg.plexiViewer.converter.WebBasedQCImageCreator.main(WebBasedQCImageCreator.java:579)


any suggestions?

On Monday, February 4, 2013 10:35:39 AM UTC+1, Mohana wrote:

Mohana Ramaratnam

unread,
Feb 6, 2013, 8:17:23 AM2/6/13
to xnat_di...@googlegroups.com
Edit the file /home/xnat/xnat16/pipeline/image-tools/WebBasedQCImageCreator

and modify the versions of the two jars to: httpclient-4.2.3.jar and httpcore-4.2.3.jar

This should be done on pipeline setup (after you update by pulling from repository). If you delete /home/xnat/xnat16/pipeline/image-tools and run /home/xnat/xnat16/pipeline/setup.sh, WebBasedQCImageCreator should have correct versions.

Mohana

A. S.

unread,
Feb 6, 2013, 9:59:53 AM2/6/13
to xnat_di...@googlegroups.com
thanks, is working now after the modifications of WebBasedQCImageCreator  to 4.2.3 version of the http jars.
Reply all
Reply to author
Forward
0 new messages