facebook

type is not generic shown incorrectly in editor

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #319592 Reply

    keith winton
    Participant

    I 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.
    #319601 Reply

    support-swapna
    Moderator

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

    #319611 Reply

    keith winton
    Participant

    1) 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.
    #319628 Reply

    support-swapna
    Moderator

    keith_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/

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: type is not generic shown incorrectly in editor

You must be logged in to post in the forum log in