[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.ve] Re: Another NPE and VE won't display my composite after some simple source editing.

Hi Joel,

From your description I have tried to re-create the error you got but don't have enough information for me to encounter it. Could you please post an idiot proof description of how to get the error, e.g.

1 - Open file foo.java
2 - select the lines 30 to 40.  Cut and paste these so they are at line 20.
3 - Close the editor.
4 - Clean the project
5 - Re-open and see the VE crash.

Also post the full source code of the file(s) in error. Don't include that much narrative of why you are doing what you are doing with moving the code around. To create a bug report all we need is a set of re-creatable steps from a standing start where we can make it crash and then see what's wrong. If it crashes it's a bug.

By the way - there are two bits of parsing that go on with the VE when you edit source code. One occurs each time you change the source and is a snippit reload that tries to do intelligent delta on what has changed into the model. If this can't do its job (which sometimes legitimately occurs if the sippit analyzer realizes the changes made are too big to delta in) then a full reload occurs. You can trigger this at any time by pushing the pause button at the top and then unpausing. Each time the VE closes a file and re-opens it we used to always re-parse from scratch the source, however now we have a cache that holds information that helps performance. This cache is what is cleared by doing a Project>Clean.

Best regards,

Joe Winchester