Guide to build IDE [message #35639] |
Fri, 06 February 2009 08:47  |
Eclipse User |
|
|
|
I am trying to get started with DLTK by going throug the guide.
However, following instructions of Step 1 in the guide I was not able to
get to the pictures in the end of "First Python Project".
Instead I see the following exception:
Exception in thread "DLTK indexing" java.lang.NullPointerException
at
org.eclipse.dltk.ast.parser.SourceParserManager.getSourcePar ser(SourceParserManager.java:80)
at
org.eclipse.dltk.core.DLTKLanguageManager.getSourceParser(DL TKLanguageManager.java:223)
at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:129)
at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:121)
at
org.eclipse.dltk.core.AbstractSourceElementParser.parse(Abst ractSourceElementParser.java:49)
at
org.eclipse.dltk.core.AbstractSourceElementParser.parseSourc eModule(AbstractSourceElementParser.java:28)
at
org.eclipse.dltk.core.search.indexing.SourceIndexer.indexDoc ument(SourceIndexer.java:225)
at
org.eclipse.dltk.core.search.DLTKSearchParticipant.indexDocu ment(DLTKSearchParticipant.java:83)
at
org.eclipse.dltk.core.search.indexing.IndexManager.indexDocu ment(IndexManager.java:560)
at
org.eclipse.dltk.core.search.indexing.IndexManager$1.execute (IndexManager.java:1031)
at
org.eclipse.dltk.internal.core.search.processing.JobManager. run(JobManager.java:453)
at java.lang.Thread.run(Unknown Source)
From what I understand the list of parsers that SourceParserManager uses
is not initialized with ExamplePythonSourseElementParser. Otherwise
outline would be filled.
Also I noticed that the example shows "Script Explorer" rather than
package explorer. Since the example does not define any perspectives I
assume that the view cannot obtained at the step it is shown in the Guide
and some additional code is necessary, but even with complete cvs code for
Step 1 I could not obtain the view described in the guide and was getting
exception.
Can anyone help me to resolve this issue?
Thank you,
Sergey
P.S. I am using Eclipse 3.4 under Windows XP, and tried both stable
(Stream: 1.0 Build Name: 1.0M4 Mon, 29 Dec 2008 -- 02:49 (UTC)) and
integration (Stream: R1.0 Build Name: I200812180549 Thu, 18 Dec 2008 --
05:49 (UTC)) releases.
|
|
|
|
Re: Guide to build IDE [message #37163 is a reply to message #35706] |
Thu, 07 May 2009 03:27  |
Eclipse User |
|
|
|
Hi Alex,
it would help if those methods in the Example got annotated with
@Override.
With @Override, a difference to a superclass method shows up like an
error.
Cheers, Klaus
|
|
|
Powered by
FUDForum. Page generated in 0.06514 seconds