Error during query initialization

User 779e37e0e6

19-04-2014 21:24:58

Hello,


I have a small database I use to perform database search through the JchemWebServices.


For the following compound, I get an error I had not seen before.


 


Cpd: C[C@@]12[C@H](C3N4C1=C(C1=[N]5C(=CC6=[N]7[Co+]45([N]4=CN(C5=C4C=C(C(C)=C5)C)[C@H]4O[C@H](CO)[C@@H](OP([O-])(O[C@@H](CNC(=O)CC2)C)=O)[C@H]4O)([N]2=C([C@H]([C@](C)(CC(=O)N)[C@]32C)CCC(=O)N)C(C)=C7[C@](C)([C@@H]6CCC(=O)N)CC(=O)N)C[C@@H]2[C@@H](O)[C@@H](O)[C@H](N3C4=C(C(N)=NC=N4)N=C3)O2)C([C@@H]1CCC(=O)N)(C)C)C)CC(N)=O


Error: {"errorCode":3,"errorMessage":"Error during query initialization: null","rootCause":"java.lang.NullPointerException"}


What does this mean? how can I prevent that?


 


This is how I submit the query in my code


    options = { 


                :'searchOptions' => { :'queryStructure' => smiles, 


                                     :'searchType' => "SUPERSTRUCTURE" },


                :display => { :include => [ 'cd_id', 'name' ] },


                :paging => { :offset => 0, :limit => 100000 }


 


              }


      client = RestClient::Resource.new(SEARCH_URL, timeout: 500, open_timeout:500)


      results = client.post options.to_json , content_type: :json, accept: :json


 


Thank you


MrYan

ChemAxon abe887c64e

22-04-2014 11:11:08

Hi MrYan,


We started to investigate your question, and will be back with the answer as soon as possible.


Best regards,


Krisztina

ChemAxon 13811e1703

22-04-2014 11:27:09

Hi MrYan,

 Can you send us the related chemaxon.log file from the logs directory on the server? (If it's Tomcat, logs dir will be in the catalina home, otherwise it is near the execution location)  

Regards,
Peter