Error when loading HelloWorldApp

36 views
Skip to first unread message

NetFan

unread,
May 4, 2012, 6:08:23 AM5/4/12
to cytoscape-discuss
Hello Cyto Community,

i tried to write my first cyto App exactly like in this tutorial:
http://wiki.cytoscape.org/Cytoscape_3/AppDeveloper/SettingUpAnIDE/Eclipse

Everything works fine, but when i try to load my "HelloWorldApp" in
Ctyoscape 3 i get this Error:

The task could not be completed because an error has occurred.
org.cytoscape.sample.HelloWorldApp.
(org.cytoscape.app.swing.CySwingAppAdapter)

Error Details:
java.lang.NoSuchMethodException:
org.cytoscape.sample.HelloWorldApp.<init>(org.cytoscape.app.swing.CySwingAppAdapter)
java.lang.Class.getConstructor0(Class.java:2721)
java.lang.Class.getConstructor(Class.java:1674)
org.cytoscape.app.internal.AppLoaderTask.run(AppLoaderTask.java:58)
org.cytoscape.work.internal.task.JDialogTaskManager
$TaskThread.run(JDialogTaskManager.java:220)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
471)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
java.util.concurrent.FutureTask.run(FutureTask.java:166)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110)
java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)


What this means?
I generated "Ctyoscape3" from "http://chianti.ucsd.edu/svn/core3/app-
developer/trunk/"

Many Thanks in advance for your help!
regards



NetFan

unread,
May 5, 2012, 1:55:06 AM5/5/12
to cytoscap...@googlegroups.com
Cant't figure out the problem..(:

Im running eclipse, and i included the "cytoscape-app-api-alpha8-SNAPSHOT.jar" generated from "core3/app-developer-trunk" in my "HelloWorldApp" as Library.
Is this correct?

Or is the problem a missing package "org.cytoscape.app.swing.CySwingAppAdapter" (see error details above) ?

Cytoscape 3 is running fine, cant load the "HelloWorldApp"

Many Thanks for any response! Sorry its my first Java/Eclipse project!
regards

Jason Montojo

unread,
May 5, 2012, 11:13:24 AM5/5/12
to cytoscap...@googlegroups.com
Hello,

CySwingAppAdapter is something that got introduced in the past week.  Can you try using running your app in the latest build of Cytoscape 3?  You can find it here:


Hope this helps,
Jason


regards

--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cytoscape-discuss/-/IhKU4Z4EE8AJ.

To post to this group, send email to cytoscap...@googlegroups.com.
To unsubscribe from this group, send email to cytoscape-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cytoscape-discuss?hl=en.

Sakshi Dhingra

unread,
May 5, 2012, 2:15:20 AM5/5/12
to cytoscap...@googlegroups.com


Hi! I am learning to use cytoscape. My objective is to use plugin BINGO for functionally annotate the differential regulated gene list. 
I entered the gene list and after all settings, when check the box for saving datafile and start BINGO...
it is showing the file not found exception error. Please see the message attached.

Please help asap.

Thank you
Sakshi
--
Sakshi Dhingra
PhD Student
TB molecular biology lab
Deptt. of Biotechnology
All India Institute Of Medical Sciences,
New Delhi
Screen Shot 2012-05-05 at 11.40.34 AM.png

Ankush Sharma

unread,
May 7, 2012, 3:58:59 PM5/7/12
to cytoscap...@googlegroups.com
Hi sakshi Dhingra ,

actually you have to select the nodes from the network . Otherwise its a problem of plugin Directory, remove . .cytoscape Directory after closing cytoscape  from home folder  and then restart cytoscape and install plugins again. then redo the same procedure . hope it will work

Sincerely
Ankush

--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To post to this group, send email to cytoscap...@googlegroups.com.
To unsubscribe from this group, send email to cytoscape-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cytoscape-discuss?hl=en.



--
Regards
Ankush Sharma
PhD in Computational Biology
Second University of Naples & Centro Ricerche Oncologiche
di Mercogliano
Email ID : ankush...@unina2.it


                                                   

Sakshi Dhingra

unread,
May 8, 2012, 12:23:16 AM5/8/12
to cytoscap...@googlegroups.com
Thanks Ankush.

Alex

unread,
May 8, 2012, 6:54:42 PM5/8/12
to cytoscap...@googlegroups.com
I got the same error. Have you found the solution for it?

I am running the latest build of Cytoscape 3... Thanks :)
Reply all
Reply to author
Forward
0 new messages