- This topic has 11 replies, 6 voices, and was last updated 19 years, 3 months ago by thekyle2000.
-
AuthorPosts
-
Brandon RifeMemberHi,
I’m running Eclipse 3.0.2, MyEclipse 20050508-4.0-Milestone-1, and JVM 1.5 on WinXP. Numerous times through out the day the HTML editor is breaking on me and I have to restart Eclipse to fix the issue. Symptoms include typed characters inserted before the last typed character (instead of after) and, even though the document is changing, the editor is unaware that it is dirty. The save icon in the tool bar never enables.
When this occurs there are always 2 errors added to the PDE log. The first is (stack abreviated for brevity)
java.lang.NullPointerException at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.documentChanged(AbstractReconciler.java:236) at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireDocumentChanged(Unknown Source) at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(Unknown Source) at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source) at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
and the second is an “Unhandled event loop exception” but there is no trace available. This is getting to be a real pain…
Thanks
Riyad KallaMemberThis bug is the bane of our existence, I will send this high priority over to the team, thank you.
GregMemberbrife,
Can you describe a set of steps to replicate the problem? That would help us in getting it fixed.
Brian FernandesModeratorbrife,
That has been a serious pain in ME for a long time; but we caught it last time, fixed and tested it for 4.0M1. Everything checked out okay.
That you still see backward typing indicates that the fix is not complete or there is another issue entirely.
Could you please do the following to help us out?
1) *Before* opening your editor, make sure the Properties View is open. So, bring Properties View to top and then open the editor. Thereafter you can do anything you want but do not close the Properties View.
FYI: This is the issue we dealt with in 4.0m1 – if you still see the bug after doing this then something else is causing it and we need to know what.2) Is your installation clean? Or have you installed over an older version of ME – if you have, I urge you to start with a clean installation.
3) Can you use a 1.4.2 series JDK instead of 1.5?
Finally, if you can observe a replicable series of events that cause this issue, we’ll make sure it’s diced and quartered before the upcoming Milestone release. This bug has has highest priority.
Why it becomes an issue to fix is becase we often are unable to replicate it.Thank you for your support,
Brian.
Brandon RifeMemberI’ve dealt with bugs from hell like this…
1) I’ll give the properties view a whirl and let you know what happens.
2) The ME installation is clean.
3) I’ve tried the JDK 1.4.2 route and it still happens
I also have not been able to ‘willfully’ reproduce.
Thanks!
Brian FernandesModeratorbrife,
I forgot to mention that the issue we fixed would only appear the 2nd time (and subsequent times) you opened the file for editing during the same Eclipse instance/session.
So, regardless of the Properties View, if you open the file only once for a given session of Eclipse, then you shouldn’t have a problem.
Do you have any observations in this regard? Do you open and close your html file freuquently? Try keeping it open and see if you observe this issue.
Also, do you use the JSP Editor as frequently as the HTML editor? If you do, have you ever experienced this backward typing bug in the JSP editor as well? (in 4.0M1, that is)
Thank you for your assistance, much appreciated,
Brian.
Brandon RifeMemberI do tend to open and close windows frequently so if that’s the trigger I definitely would pull it.
Normally I do work on JSP files but I don’t recall this issue plaguing me like it has been lately during a Tapestry project, which has been pretty much straight HTML.
I’ll keep you advised.
Thanks
Brandon RifeMemberSince my last post I’ve had about 8 hours of working with the HTML editor without incident. The only thing that I’ve done is to ensure that the Properties view is open after loading Eclipse. Maybe there’s something quirky in my configuration and you really did get this bug fixed in v4. In any case its nice to have a workaround.
Thanks
Brian FernandesModeratorbrife,
Good to hear that. Since you mentioned that you’ve been keeping your Properties View open, I was just wondering whether you’ve been closing your html file at all or do you just keep it open during the entire eclipse session?
An installation / configuration glitch is always possible; ME 4.0M2 should be out next week sometime, so we will come around then and you can tell us if you’re still seeing the problem if you don’t take any precautions.
Thanks again for all the follow-ups and support,
Brian.
nosterMemberI’m seeing the same issue with Eclipse 3.1, ME 4, and JDK 1.4.2 on XP.
You can open an HTML file, edit it, and save ONCE, but subsequent saves do not work.
If you try to close the modified file, it prompts you to save (correctly), but selecting “yes” causes the error “Save Failed:null”. Save As also displays the similar error “Save All Failed:null”.The inability to save seems like a pretty big deal for an editor…
Planning a patch for this? Thanks!
Riyad KallaMembernoster,
Please follow Brian’s workaround in the mean time, and as far as a patch… well I imagine we should all be shot if we weren’t 🙂
thekyle2000MemberI get the same backwards typing and unable to save 1 to 3 times a day using the jsp editor. I am using Eclipse 3.1, MyEclipse 4m2, Java 1.5.0_04. I will try the properties trick and report back.
-
AuthorPosts