Thanks Rajarshi

Upgrading to 3.0.5 solved the problem.  FYI I was using rcdklibs 1.3.5.3.

Cheers
H

Hassan Mamdani MSci MPhil MRSC
Research Scientist
ProMetic Biosciences UK
211 Cambridge Sciene Park, Milton Road
Cambridge, CB4 0ZA

Tel: +44 (0) 1223 433861
fax: +44 (0) 1223 420270
Email:   hmamd...@prometicbiosciences.com<mailto:sf...@prometicbiosciences.com>

P  Please consider the environment before printing this e-mail.
           Avant d'imprimer ce courriel, pensez à l'environnement.

Notice: This email is confidential and intended for the exclusive use of the 
addressee.  If you are not the intended addressee, please notify us immediately 
by e-mail, delete the original without keeping a copy and do not disclose its 
content or use the information for any purpose.

Avis : Ce courriel est confidentiel et à l'usage exclusif du destinataire. Si 
vous avez reçu ce courriel par erreur, veuillez nous en informer immédiatement 
par courriel, effacer l'original sans en conserver de copie et ne pas en 
dévoiler le contenu ni utiliser l’information pour quelque fin que ce soit.


From: Rajarshi Guha <rajarshi.g...@gmail.com<mailto:rajarshi.g...@gmail.com>>
Reply-To: "rajarshi.g...@gmail.com<mailto:rajarshi.g...@gmail.com>" 
<rajarshi.g...@gmail.com<mailto:rajarshi.g...@gmail.com>>
Date: Thu, 17 Mar 2011 14:46:18 +0000
To: Hassan Mamdani 
<hmamd...@prometicbiosciences.com<mailto:hmamd...@prometicbiosciences.com>>
Cc: "cdk-user@lists.sourceforge.net<mailto:cdk-user@lists.sourceforge.net>" 
<cdk-user@lists.sourceforge.net<mailto:cdk-user@lists.sourceforge.net>>
Subject: Re: [Cdk-user] jcall error in rcdk

Works fine on 2.12.2 on 64 bit Centos.

Try installing 3.0.5 from the source package available on CRAN. Are you also 
using rcdklibs 1.3.6.3

On Thu, Mar 17, 2011 at 10:16 AM, Hassan Thomas Mamdani 
<hmamd...@prometicbiosciences.com<mailto:hmamd...@prometicbiosciences.com>> 
wrote:
Hi

I have recently upgraded to  R 2.12.2 with rcdk v 3.0.1 on Mac OS X (Snow 
Leopard) and I'm trying to get a list of descriptor names, but I'm getting some 
odd behaviour:

dn <- get.desc.names()
-- expected result

dc <- get.desc.categories()
-- expected result

dn <- get.desc.names(dc[1])
Error in .jcall("org/guha/rcdk/descriptors/DescriptorUtilities", 
"[Ljava/lang/String;",  :
  java.lang.NullPointerException

dn <- get.desc.names("electronic")
Error in .jcall("org/guha/rcdk/descriptors/DescriptorUtilities", 
"[Ljava/lang/String;",  :
  java.lang.NullPointerException

Has anyone else seen this behaviour, or know what might be causing it?  I'm 
afraid I'm not a Java programmer, so it's all a bit of a mystery to me!

Thanks for your help.

H

Hassan Mamdani MSci MPhil MRSC
Research Scientist
ProMetic Biosciences UK
211 Cambridge Sciene Park, Milton Road
Cambridge, CB4 0ZA

Tel: +44 (0) 1223 433861<tel:%2B44%20%280%29%201223%20433861>
fax: +44 (0) 1223 420270<tel:%2B44%20%280%29%201223%20420270>
Email:   hmamd...@prometicbiosciences.com<mailto:sf...@prometicbiosciences.com>

P  Please consider the environment before printing this e-mail.
           Avant d'imprimer ce courriel, pensez à l'environnement.

Notice: This email is confidential and intended for the exclusive use of the 
addressee.  If you are not the intended addressee, please notify us immediately 
by e-mail, delete the original without keeping a copy and do not disclose its 
content or use the information for any purpose.

Avis : Ce courriel est confidentiel et à l'usage exclusif du destinataire. Si 
vous avez reçu ce courriel par erreur, veuillez nous en informer immédiatement 
par courriel, effacer l'original sans en conserver de copie et ne pas en 
dévoiler le contenu ni utiliser l’information pour quelque fin que ce soit.


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net<mailto:Cdk-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/cdk-user




--
Rajarshi Guha
NIH Chemical Genomics Center
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to