[kepler-dev] 答复: Configure Eclipse with Kepler
Qiao Hui-jie
qiaohj at ioz.ac.cn
Tue Mar 17 02:46:06 PDT 2009
Hi subhav,
I met the same problem with you a few days ago.
Do you had installed the kepler before you do these steps? If so, maybe
there is a folder named as .kepler in you "Documents and
Settings\{UserName}" folder.
Del it and rerun "ant run".
I solved this problem through this way
good luck.
Qiao Huijie
Institute of Zoology, Chinese Academy of Sciences
Datun Road, Chaoyang, Beijing, 100101, China
________________________________
发件人: kepler-dev-bounces at kepler-project.org
[mailto:kepler-dev-bounces at kepler-project.org] 代表 subhav mital
发送时间: 2009年3月17日 10:42
收件人: Christopher Brooks
抄送: Kepler-dev
主题: Re: [kepler-dev] Configure Eclipse with Kepler
Thanks so much for your help!
I tried: ant clean-all
ant run
and look for errors in the output of "ant run"
but did not get the problem resolved.
I notice a red tick mark in the kepler folder for the 'common'
sub-directory. Does this signify any error?
(All other folders have a green tick mark)
Pls find attached the command line output after executing ant-run.
As far as Eclipse is concerned, I did clean all the projects and tried to
run them again. The error persists.
The console displays the following error:
Config.xml: null
Unable to start application.
java.lang.ExceptionInInitializerError
at org.kepler.gui.KeplerApplication.main(KeplerApplication.java:118)
at org.kepler.loader.Kepler.main(Kepler.java:105)
Caused by: java.lang.RuntimeException: Unspecified error creating config
object from "null"
at org.ecoinformatics.util.Config.<init>(Config.java:151)
at org.ecoinformatics.util.Config.<clinit>(Config.java:88)
... 2 more
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.ecoinformatics.util.Config.<init>(Config.java:136)
... 3 more
Any idea what is going on? What needs to be done, to resolve these problems?
Thanks!!
On Mon, Mar 16, 2009 at 8:48 PM, Christopher Brooks <cxh at eecs.berkeley.edu>
wrote:
Hi Subhav,
In your EclipseError.jpg, you have 6 Errors listed
"The project cannot be built until its"
I'm guessing that the complete text is
"The project cannot be built until its prerequisite XXX is built"
BTW - When I get error messages like this, I google them, which
usually
helps quite a bit. I found some threads that mention that your
Eclipse project might be corrupt.
Make sure that you ran
cd build-area
ant eclipse
and that you imported the projects. The "ant eclipse" command
creates
files that are used by Eclipse
Also, try doing a clean build. In Eclipse, try Project -> Clean
Also, make sure that Project -> Build automatically is set.
Your second problem, that "ant run" does not show any actors
indicates
a problem during compilation. Try doing
ant clean-all
ant run
and look for errors in the output of "ant run"
_Christopher
subhav mital wrote:
Hey,
- I get this after completing all the steps enlisted here:
https://dev.kepler-project.org/developers/reference/kepler-and-eclipse#2-che
ck-out-kepler (Please find attached the error displayed: EclipseError.jpg)
- The Checked out Version of Kepler: 1.x (Launched by
executing 'ant run' in the directory: kepler/build-area/) does not display
any actors in the component tab search box.
When I search for 'constant, array' actors in the search
box, nothing gets displayed.
(Please find attached the error displayed: error.jpg) (This
shows some search results only in the data tab)
Please suggest resolves for both these errors.
Thank you.
------------------------------------------------------------------------
------------------------------------------------------------------------
--
Christopher Brooks (cxh at eecs berkeley edu) University of
California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA
94720-1774
ph: 510.643.9841 fax:510.642.2718 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480
More information about the Kepler-dev
mailing list