User f50dadc210
28-06-2007 21:43:01
Hi,
I totally followed the example of JChem Cartridge User defined function in this link.
http://www.chemaxon.com/jchem/examples/cartridge/user_def_func/getatomcount/index.html
when I executed "select getatomcount(cd_smiles) from jchemtable;", I got the following message from log file of Tomcat.
java.lang.NullPointerException
at chemaxon.jchem.cartridge.servlets.JChemUserDef.doSingle(JChemUserDef.java:206)
at chemaxon.jchem.cartridge.servlets.JChemUserDef.process(JChemUserDef.java:63)
at chemaxon.jchem.cartridge.servlets.JChemServletBase.doPost(JChemServletBase.java:232)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
.......................
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
2007-06-28 14:34:01.501 [null]: JChemUserDef.process: counter=0
JChem version: 3.1.5
JChem Streams version: 3.1.5
Could you please help me out?
Thanks
Bin
I totally followed the example of JChem Cartridge User defined function in this link.
http://www.chemaxon.com/jchem/examples/cartridge/user_def_func/getatomcount/index.html
when I executed "select getatomcount(cd_smiles) from jchemtable;", I got the following message from log file of Tomcat.
java.lang.NullPointerException
at chemaxon.jchem.cartridge.servlets.JChemUserDef.doSingle(JChemUserDef.java:206)
at chemaxon.jchem.cartridge.servlets.JChemUserDef.process(JChemUserDef.java:63)
at chemaxon.jchem.cartridge.servlets.JChemServletBase.doPost(JChemServletBase.java:232)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
.......................
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
2007-06-28 14:34:01.501 [null]: JChemUserDef.process: counter=0
JChem version: 3.1.5
JChem Streams version: 3.1.5
Could you please help me out?
Thanks
Bin