Eclipse crashing in PyDev with No Message gotten (null message) - eclipse

I use Eclipse Luna with PyDev for Eclipse 4.0.0.201504132356.
My function returns a list, which is a list of objects from one class.
So i use it like this:
List = ListMaker()
print List[0].Stuff.Stuff
and this works(!); i see exactly what should be in the list.
However, when making a new new line of code and writing:
List[0].
i get immediately a Problem Occured Message:
No Message gotten (null message)
Java.lang.StackOverflowError
which is clearly wrong; since i see the output is fine and simply clicking the message away. I used the same project in Visual Studio with Python Tools for Visual Studio and never had this Problem either.
Clicking this message away is although pretty annoying. Does someone know how to fix this?
EDIT: The error occures in org.python.pydev.shared_core

I faced the same issue. I upgraded to Pydev 4.1.0 and it was resolved.
http://pydev.org/history_pydev.html
The the list of fixes that went in 4.1.0

This really seems like some recursion issue on the type inference analysis for PyDev.
Can you please report that as a bug at https://sw-brainwy.rhcloud.com/tracker/PyDev/ so that I can take a look to fix it?
If you could create a github repo with sources where I can reproduce the issue, that'd be awesome.
Also, your error log probably contains the stack trace where this happened... At http://pydev.org/faq.html#PyDevFAQ-HowdoIReportaBUG%3F there are instructions on how to get it (please include that in the bug report).

Related

org.codehaus.plexus.archiver.jar.Manifest.merge(org.codehaus.plexus.archiver.jar.Manifest)

This godforsaken error in eclipse won't die. I've tried everything mentioned here and elsewhere to get rid of it, but it won't go away and now I can't use the web service utility in eclipse because it complains about this "problem", which apparently isn't really a problem, but it is with m2e, which for the most part is useful.
First off, the error message, if you can call it that, is not very helpful. Whichever component generates that, could you produce something more meaningful?
Anyway, I've tried deleting the problems in eclipse, but they only come back. I've re-worked poms and updated the versions of the maven-ear-plugin to 2.3.2, all to no avail (and seriously, wouldn't that just be trying to skirt the real issue?). I've tried creating and updating a lifecylcle-mapping-metadata.xml file to ignore the org.codehaus.plexus -> plexus-archiver -> manifest goal. Nothing works.
What exactly is causing this message and what is the RIGHT way to diagnose the underlying cause and then solve it? Any insight would be most greatly appreciated.
This is caused by m2eclipse-mavenarchiver invoking the mavenarchiver plugin merge method by reflection. The method was removed in mavenarchiver 2.4, breaking m2eclipse-mavenarchiver.
This issue was fixed in m2eclipse-mavenarchiver 0.17.0 you can install from https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.0/N/LATEST/
(URL updated to HTTPS)

Mysterious compile error with groovy eclipse plugin

So, I am developing with eclipse 4.2 and groovy 2.3 / jdk 1.6.0_35.
I just worked on one of my classes when suddenly eclipse showed me a dozen compile errors in different classes out of nowhere. It says e.g. it can't find a class in an import statement, although the class is there. Running the code works fine even though the errors are shown. If I add a comment to one of the classes and save it, some errors go away but may come back as soon as I change another (totally different) class.
It also shows me some errors like these:
error description:
As you see, the error is totally unrelated (Optional is totally independent of any other class, also of course independend of the mentioned classes in the error message). If I add a comment somewhere and save Optional, the error goes away but comes back as soon as I save any other class.
I cleaned the project, deleted the bin-directory and restarted eclipse/computer but it didnt' help. Does anyone already experienced this behaviour? How to fix it?
I got similar problem and error was in file above one with compilation error. So try to comment file before and check if this solve problem.

Netbeans Compiler Error in Wrong Place

I am new to Netbeans. Netbeans shows an error as below:
But the error text is: incompatible types: List cannot be converted to Vertex. I'm sure it's referring to the code below it that uses Vertex in many places, but the file is long and I have no idea which line to go to. Is there a way to fix this, or is this a bug, or am I interpreting everything wrongly?
Bug still there, but a workaround is to run the project and the compile error will show up in the output. I'm used to Eclipse where you normally can't run a project with complier errors. But this is a way to find the line.

Scala Eclipse plugin doesn't show mouse hover documentation

I just installed the Scala IDE Eclipse plugin with a fresh install of Eclipse Indigo. I followed the getting started youtube video on the scala-ide.org main page on a fresh installation of Indigo. Instead of showing the complete documentation for the String Java class, it shows "type String = String"
I did notice incidentally by looking at the project properties, that in the scala-library.jar and others in the project, under "javadoc location," they show "(None) - non modifiable." I'm not sure if this is the problem, or if the Scala editor gets its documentation somewhere else.
Has anyone else experienced this and/or figured out how to fix it? Thanks!
In addition to the bug that you've raised (Mouse hover doesn't show documentation), there
are the following issues:
Hovering on a type should show its javadoc
Javadoc view regression
As you can see, the issue is a real bug, so there aren't any workarounds at the minute. Sorry.
You could always fix it if you like :-)
So there are updates to this question
The issues stated above are fixed in the latest release.
Hovering on type should show fix
Scaladoc integration with code completion
Please use the latest release of ScalaIDE(post 3.0.4-211) to work with them

Eclipse Scala plug-in: "illegal cyclic inheritance"

I just updated to the latest Scala-IDE version on Eclipse, and it's highlighting loads of spurious "illegal cyclic inheritance" errors in code I know to be OK (it was before, and it still compiles and runs OK).
Any way to fix this? If not, how do I roll back to the previous version? I don't see any options to roll back or download earlier versions on the Scala IDE website.
Thanks.
edit: Never mind, it spontaneously sorted itself out after about 10 minutes sitting there showing errors. Will leave question here in case else anyone gets this.
"Project -> Clean Project" always helps me when Scala-IDE is showing weird error messages.
Sometimes errors will show in the editor, but not in the package explorer. Things still appear to compile ok when that occurs.