3

Since some time I'm having problems with Eclipse. When opening any file with a class which extends one specified class (Presenter), an error occurs:

Multiple problems have occurred http://img64.imageshack.us/img64/9678/screeneclipseproblems.png Internal Error http://img202.imageshack.us/img202/5131/screeneclipseproblemspr.png

I've noted, that problems occurs only when loading the mentioned class - Presenter. When I delete "extends Presenter" or when I delete the file, which contains class Presenter, the problems dissappear.

Class Presenter is part of the PHP framework Nette, so you can see the contents of this class here: http://api.nette.org/1.0/__filesource/fsource_Nette-Application__ApplicationPresenter.php.html

I can provide contents of LOG files, if that may help, but those are large (over 1 MiB).

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Radek Simko
  • 15,886
  • 17
  • 69
  • 107

4 Answers4

1

I faced the same problem. Here is the way to fixe it:

  1. First goto [workbench_directory]/.metadata/.plugins/ - remove the folder named "eclipse.org.core.resources" and keep a copy of it.

  2. Now go to the eclipse directory using CommandPrompt(Windows) or Terminal(in linux,mac) write the command $ eclipse -clean ---> this will start your eclipse application.

  3. Now close the eclipse application and restore the "eclipse.org.core.resources" folder that you removed in the First step.

That's it! You won't see the problem.

hemant_maverik
  • 539
  • 1
  • 4
  • 9
0

You can increase VM stacksize and check. But a better solution would be to work out how to avoid recursing so much.

Add the flag -Xss1024k in the VM arguments for starting Eclipse (in eclipse.ini file in your Eclipse installation folder).

You can also increase the stack size in MB, by using -Xss1m for example.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
YoK
  • 14,329
  • 4
  • 49
  • 67
0

What exact version of Eclipse and PDT are you using?

There was a bug last month about that kind of error: bug 316876, but it appears to be fixed in PDT-2.2.0.v20100616.

Check also your eclipse.ini like, for instance, this ones (depending on your eclipse version).

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Increasing stack size unfortunately doesn't help... Here's part of my eclipse.ini: -vmargs -Xms128m -Xmx1024m -Xss1m I have PDT 2.2.0.v20100519, but I can't find any way to update PDT to mentioned version... Eclise says there's no updates... :) http://img138.imageshack.us/img138/9288/screeneclipseupdate.png – Radek Simko Aug 05 '10 at 11:49
  • @Radek: try using the exact settings I mention in the eclipse.ini link. Are you using Eclipse Helios 3.6? Even if Eclipse says there is not update, you could try unzipping the [latest update site](http://www.eclipse.org/downloads/download.php?file=/tools/pdt/downloads/drops/2.1.2/R200908310846/pdt-Update-2.1.2.zip) from the [PDT downloads page](http://www.eclipse.org/pdt/downloads/), and see if a more recent version helps. – VonC Aug 05 '10 at 12:09
  • I've tried that multiple times, but the fact is, I cant find the right version you mentioned (2.2.0.v20100616). I've tried to download last 2.2.0 Maintenance build on http://www.eclipse.org/pdt/downloads/ , which should contains the bugfix, but in fact the ZIP contains some different version: http://img809.imageshack.us/img809/9495/eclisenotupdate.png - 2.2.0.v20100519, not 20100616... – Radek Simko Aug 07 '10 at 12:39
  • @Radek: strange: I suppose they haven't released that exact version yet. – VonC Aug 07 '10 at 15:29
0

I'm running Eclipse Indigo. I've adding the following to my eclipse.ini file as I didn't have them in there.

-Xmx1024m -Xss1m

I haven't been able to salvage my Eclipse installation. The Error logs in Eclipse pertain to issues with the OSGI and Team plugin. I can try uninstalling these.

ice.nicer
  • 1,644
  • 14
  • 13