Missing source files. [message #264248] |
Wed, 28 July 2004 11:12  |
Eclipse User |
|
|
|
Hi,
I ran the Automated test suite of Eclipse 3.0, for the feature JDT-Debug
test in Linux.
A JavaNullPointerException is thrown in the test case "testSimpleHcr".
I have narrowed down the problem to the method getWorkspace(), which
should be defined in the file "ResourcesPlugin.java".
The variable "workspace" is set to "null" in the file
ResourcesPlugin.class which throws the NullPOinterException.
I couldnot find the file "ResourcesPlugin.java". Can someone tell me where
I can find this file?
I couldnot find some other source files also. Is there any repository from
where I can get all these missing files?
Thanks in advance,
Ragavendran.
|
|
|
|
|
Re: Missing source files. [message #264390 is a reply to message #264283] |
Thu, 29 July 2004 05:57  |
Eclipse User |
|
|
|
Chris Laffra wrote:
> Olivier Thomann wrote:
> > Le Wed, 28 Jul 2004 15:12:26 +0000 (UTC), ragavk@india.hp.com
> > (Ragavendran) a écrit :
> > >The variable "workspace" is set to "null" in the file
> > >ResourcesPlugin.class which throws the NullPOinterException.
> > You need to run them as JUnit Plugin tests and not simply JUnit tests,
> > since you need to initialize a headless Eclipse to run the tests.
> > --
> > Olivier
> See also:
> http://eclipsefaq.org, Chapter 4,
> FAQ 78 What is a PDE JUnit test?
> Chris
Well I ran the test as "Junit Plugin test" and not as Junit test.
But my question is to from where can I get the source files, say
"ResourcesPlugin.java" and some other files that are not bundled with the
automated suites.
FYI the automated test suites were tagged "20040625".
Thanks,
Ragavendran.
|
|
|
Powered by
FUDForum. Page generated in 0.28437 seconds