- This topic has 3 replies, 2 voices, and was last updated 13 years, 5 months ago by
support-swapna.
-
AuthorPosts
-
keith wintonParticipantI have my own generic class that is showing with dozens of errors in the java editors everywhere, with at “type is not generic” error everywhere it is used — but it *is* generic, and there are no compiler problems in the “problems’ pane, and the code runs fine — but the fact that the editors show all kinds of false errors makes it impossible to edit code and find any “real” errors while I’m editing. I’ve tried all the usual suspects like cleaning all, changing my jdk, etc.
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorkeith_d_winton,
Sorry that you are seeing this issue with MyEclipse. I could not replicate it at my end in MyEclipse 9.1.
Can you answer some more questions for us to be able to replicate it at our end ?
1) Can you share your Build ID from Help > About MyEclipse Enterprise Edition > Build ID ? Paste the Build ID here.
2) The code deploys and runs fine but the only issue is with editor displaying it as an error, right?
3) Can you switch to a new workspace, create a new project with compiler setting 1.6 and check if the issue persists ?
4) Can you check the .log file which is located at <workspace dir>/.metadata/.log for any errors of interest ?
Let me know how this works for you.
keith wintonParticipant1) Build id: 9.1-20110701
2) Yes, there are no problems shown in the “problems” tab, the code runs fine, debugs fine, and deploys fine — the errors are only in the editor — it’s just that there are so many of them it becomes unusable because I can’t find “real” errors.
3) I will try the new workspace, but may not have time today; I have checked all the projects in the workspace. etc. and everything is set to 1.6; I’ve also tried changing to various JDK’s, and switching the JRE System Library in each project, but that doesn’t fix it either
4) log file attached from current startup
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorkeith_d_winton,
I could not replicate the issue at my end on MyEclipse 9.1 with my own generic class.
1) Did you import the project from any other IDE ?
2) Can you start the IDE with -clean, switch to a new workspace and check if the issue persists ?
3) I suggest you comment out all the references to the generic class and check to make sure the error is not elsewhere.
4) Can you also send us a sample project with minimum files which displays this issue for us to investigate it at our end ? You can attach the project to this thread or send an email to support@genuitec.com sub : ATTN SWAPNA and reference to this thread.
Here is an FAQ on how to upload the files to the forums :
https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/ -
AuthorPosts