Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q-edit: export to pdf #1

Open
kmezhoud opened this issue May 17, 2013 · 1 comment
Open

Q-edit: export to pdf #1

kmezhoud opened this issue May 17, 2013 · 1 comment
Assignees

Comments

@kmezhoud
Copy link

Hi,
I followed the example of Creating a new QPRF report and enter compound data from opentox
in the end of the tutorial, the pdf file that I exported was corrupted
I had two failed output:

Download Expl Value:

GRAVE: qedit.task.ExperimentalValueRetriever@167e003 failed: java.lang.NullPointerException
java.lang.NullPointerException
at qedit.task.ExperimentalValueRetriever.doInBackground(ExperimentalValueRetriever.java:34)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

export to pdf:

GRAVE: qedit.task.PDFExportTask@18adce0 failed: java.lang.NullPointerException
java.lang.NullPointerException
at qedit.export.PDFReporter.createPdf(PDFReporter.java:235)
at qedit.task.PDFExportTask.doInBackground(PDFExportTask.java:45)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

all commands:
mezhoud@kirus:~/Opentox$ java -jar Q-edit.jar
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
17 mai 2013 16:15:04 java.util.prefs.FileSystemPreferences$7 run
ATTENTION: Prefs file removed in background /home/mezhoud/.java/.userPrefs/prefs.xml
Compound found with URI : http://apps.ideaconsult.net:8080/ambit2/compound/17/conformer/143852
URI : http://apps.ideaconsult.net:8080/ambit2/compound/17/conformer/143852
Smiles : C[C@]12CC@H[C@H]3C@@H[C@@h]1CC[C@@h]2C(=O)CO
CAS-RN : 50-22-6
EINECS : 200-019-6
Regist : 30.11.2010
InChi : InChI=1S/C21H30O4/c1-20-8-7-13(23)9-12(20)3-4-14-15-5-6-16(18(25)11-22)21(15,2)10-17(24)19(14)20/h9,14-17,19,22,24H,3-8,10-11H2,1-2H3/t14-,15-,16+,17-,19+,20-,21-/m0/s1
InChI=1S/C21H30O4/c1-20-8-7-13(23)9-12(20)3-4-14-15-5-6-16(18(25)11-22)21(15,2)10-17(24)19(14)20/h9,14-17,19,22,24H,3-8,10-11H2,1-2H3
InChI=1S/C21H30O4/c1-20-8-7-13(23)9-12(20)3-4-14-15-5-6-16(18(25)11-22)21(15,2)10-17(24)19(14)20/h9,14-17,19,22,24H,3-8,10-11H2,1-2H3/t14-,15+,16-,17+,19-,20-,21-/m0/s1
InChI=1S/C21H29O4/c1-20-8-7-13(23)9-12(20)3-4-14-15-5-6-16(18(25)11-22)21(15,2)10-17(24)19(14)20/h9,14-17,19,22,24H,1,3-8,10-11H2,2H3/t14-,15+,16+,17-,19-,21-/m0/s1
InChiKey : OMFXVFTZEKFJBZ-HJTSIMOOSA-N
OMFXVFTZEKFJBZ-UHFFFAOYSA-N
OMFXVFTZEKFJBZ-IQDVQEQVSA-N
SRIZMYYZMDCJOA-QYNIMHRHSA-N
IUPAC : (11beta)-11,21-dihydroxypregn-4-ene-3,20-dione
Depict : Present
Model Algorithm found is : org.opentox.toxotis.core.component.Algorithm@59ebdee6
Value found in DB : 0.06158357858657837^^double
Prediction result : 0.06158357858657837^^double
17 mai 2013 16:17:32 org.jdesktop.application.Task failed
GRAVE: qedit.task.ExperimentalValueRetriever@167e003 failed: java.lang.NullPointerException
java.lang.NullPointerException
at qedit.task.ExperimentalValueRetriever.doInBackground(ExperimentalValueRetriever.java:34)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Similarity Search engine started
L similar compounds found (listing uris)
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/15104/conformer/155103
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/15771/conformer/155610
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/232883/conformer/699516
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/56393/conformer/184327
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/232518/conformer/698722
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/168709/conformer/523769
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/107933/conformer/203257
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/14011/conformer/154318
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/18370/conformer/157503
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/147908/conformer/420969
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/118012/conformer/205851
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/144744/conformer/411320
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/17/conformer/143852
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/1188/conformer/145016
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/9087/conformer/208452
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/13996/conformer/154305
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/634887/conformer/2688259
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/10341/conformer/151674
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/172829/conformer/534593
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/232507/conformer/698708
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/8383/conformer/151105
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/232882/conformer/699515
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/18/conformer/143853
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/107945/conformer/203268
L o --> http://apps.ideaconsult.net:8080/ambit2/compound/228244/conformer/642030
Similar compounds downloaded!
17 mai 2013 16:18:59 org.jdesktop.application.Task failed
GRAVE: qedit.task.PDFExportTask@18adce0 failed: java.lang.NullPointerException
java.lang.NullPointerException
at qedit.export.PDFReporter.createPdf(PDFReporter.java:235)
at qedit.task.PDFExportTask.doInBackground(PDFExportTask.java:45)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
http://apps.ideaconsult.net:8080/ambit2/model/130825

@alphaville
Copy link
Owner

Indeed, I reproduced the error. It seems that the problem is that the model with URI http://apps.ideaconsult.net:8080/ambit2/model/130825 has no dependent features (see http://apps.ideaconsult.net:8080/ambit2/model/130825/dependent), but I need to check. I will check the code and I'll try to fix the issue. Thanks for pointing this out.

@ghost ghost assigned alphaville May 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants