Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Missing source files.
Missing source files. [message #264248] Wed, 28 July 2004 11:12 Go to next message
Eclipse UserFriend
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 #264251 is a reply to message #264248] Wed, 28 July 2004 11:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: olivier_thomannNO.ca.ibm.comSPAM

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
Re: Missing source files. [message #264283 is a reply to message #264251] Wed, 28 July 2004 14:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chris.eclipsefaq.org

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
Re: Missing source files. [message #264390 is a reply to message #264283] Thu, 29 July 2004 05:57 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Splash screen via program parameters?
Next Topic:Listening to perspective changes
Goto Forum:
  


Current Time: Tue Jul 22 10:16:01 EDT 2025

Powered by FUDForum. Page generated in 0.03911 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top