Netbeans Compiler Error in Wrong Place - netbeans

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.

Related

Coocox Coide Compiler error : String index out of range: -1

I'm having problems with my project, I'm trying to build it and coocox coide gives me this error.
Building has encountered an error
an internal error occured during building:
An internal error occurred during: "Building".
String index out of range: -1
It doesn't say where it happened or what triggered it ...
I looked all over and I can't find an answer for it, at least not for my situation.
Does anyone know how to fix this ? I could realy use help with this :/
I'm using:
CooCox CoIDE
Version: 1.7.7
Build id: 20140628-3328-1557
I also used CubeMx to generate my project, then manually inserted it into Coide.
you can download my project from here if that helps
https://1drv.ms/u/s!Ao4Ba524gyr6eDpD1FP6UonCjVo
Thanks in advance!
I have various built files open. I think it has sometimes problems to erase them. Even with the rebuild button, it (sometimes) gives an error at first (no popup window though)"something like: cannot delete files" and the second time I try it works. Maybe the build files that are erased need some time after they are deleted to be recognized by coide as deleted, and it returns an error if not done fast enough?!
Well, also with the build button, sometimes pressing a second time works!
Hmm but it is not reliable... this is a work in progress.
follow up:
If there was a compile error, the build button works when building the next time.
If there was a link error, the build button doesn't work for the next compilation.
-interesting link with similar problem: http://www.coocox.org/forum/viewtopic.php?f=2&t=4145&start=15
(unfortunatly does not solve my issue)
I faced the same problem when I tried to build with a custom scatter file for the linker.
The link #lode provided solved the issue for me:
I had to remove every occurence of the string rom from the comments inside the .ld file. I replaced the word from with fr_om and voilĂ , issue resolved.

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

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).

How to find where is the warning that eclipse is giving me?

Here is my project structure:
As you can see, i dont have any warnings on my files, but the project has the warning icon. How do I find where this warning is placed?
When I have problems like this, I usually bring up the project properties editor, and check things like the build path. y configuration would produce an error for a build path problem rather than a warning, but maybe you have yours set to warning instead, or you have something similar which would be reported somewhere in the project properties.

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.

Flash Builder intellisense - Unable to detect members of class randomly

Suddenly flash builder stops identifying data members of a class. When I type obj. the intellisense window does not show any data members or methods. Yesterday I got problem with 4.6 and now with 4.0. Yesterday I imported the source files into new project to resolve this problem. I thought it is something to do with the newer version but I got this in 4.0 as well. This is really a huge problem.
I did all tries like
Reopening project
Restarting FB
Triple checking the import packages/classes
Syntax error
It is similar problem with many of people got here and I am sure it is not a problem of importing packages/classes or any syntax because It happens all the sudden randomly to random class.
Not just that but when I ctl+click on the variable (which should tame cursor to the variable declaration) IDE throws an error message "Code Navigation error: Source could not be found"
I am not pasting any code here because, as I said earlier I am sure its not related to any syntax, importing issue (in short not a coding isssue), but just some sort of FBs memeory/stack or something else.
Please let me know if any one has faced this problem and found the solution other than copying the source into a new project