For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 17 replies, 4 voices, and was last updated 21 years, 5 months ago by
Scott Anderson.
-
AuthorPosts
-
jlitolaMemberWhen I try to save xml file from File/Save or ctrl-s, I just get popup message saying “Save failed:null”. Eclipse log show following exception:
java.lang.NullPointerException at com.ibm.sse.editor.FileModelProvider.changed(FileModelProvider.java:969) at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:3543) at org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:3324) at com.ibm.sse.editor.StructuredTextEditor.doSave(StructuredTextEditor.java:1180) at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.doSave(XMLMultiPageEditorPart.java:318) at org.eclipse.ui.internal.EditorManager$12.run(EditorManager.java:1160) at org.eclipse.ui.internal.EditorManager$10.run(EditorManager.java:1015) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:588) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:585) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1653) at org.eclipse.ui.internal.EditorManager.runProgressMonitorOperation(EditorManager.java:1021) at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1165) at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2539) at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2551) at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:69) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) Save FailedIf I save file to different name with Save As, it works fine. Save as to same name however fails. This happens with all xml files except struts-config.xml. As you can imagine, this is MAJOR bug for me.
I’m using Eclipse 3.0 on Linux.
August 20, 2004 at 8:56 am #212842
Riyad KallaMemberI have tried to reproduce this locally with many different XML files and am unable to. Are you sure you have write permissions to the file? Can you double check it?
ls -lFaAugust 20, 2004 at 9:02 am #212845
jlitolaMemberI have write access both to file and directory. I can save it to other name with save as and then back to original with save as in new file. I also noticed that same problem appears with .css files. I’m really puzzled.
I installed 3.8GA on top of 3.8-beta2, can this affect anything. Beta-2 worked fine on this account.
August 20, 2004 at 9:12 am #212855
Riyad KallaMemberDid you just unzip GA ontop of Beta 2 or did you delete Beta 2 first? If you just unziped it, then uninstall everything, clean it out and reinstall GA clean (also delete your <Eclipse>\configuration directory before restarting and reinstalling).
Also our 3.8.1 bugfix release is due out at the end of this weeks o be sure to grab that too.
August 20, 2004 at 12:52 pm #212878
jlitolaMemberI rm -rf:d ~/MyEclipse and $ECLIPSEDIR/configuration, and reinstalled MyEclipse. Still same problem.
August 20, 2004 at 1:57 pm #212884
Riyad KallaMemberWhat is the build ID on the Eclipse version you are using? We had an XML save problem in Beta 1 but it has been fixed for a while, and no one else (include 2 linux guys on our team) have reported this problem…
August 20, 2004 at 2:08 pm #212890
jlitolaMemberVersion: 3.0.0
Build id: 200406251208I have also viPlugin and Jython plugin installed, but I don’t believe they would affect this problem as saving worked fine on GA3.8-Beta2. I’ll try clean install of whole eclipse, if you don’t have any better ideas.
August 20, 2004 at 3:38 pm #212899
Riyad KallaMemberI’m sorry I really don’t, you could wait a day or two for us to release the patch and then reinstall clean then and see if the problem is fixed… without being able to reproduce it (myself or another support person on Linux) its very hard for us to suggest a workaround or even try and fix it. I’m sorry I can’t be more helpful here… if this IS a problem with ME than we will do everything we can to get it fixed ASAP as it is clearly not an allowable bug to have exist in a product like this (saving is kind of important ;))
August 20, 2004 at 3:46 pm #212903
Riyad KallaMemberUpdate on this, we just had one of our QA personel report a save problem with XML files… I’m digging into this and we’ll see what we can find.
August 25, 2004 at 6:32 am #213397
jlitolaMemberAny progress on this? Problem is really hampering my programming 🙁
August 25, 2004 at 9:09 am #213425
Riyad KallaMemberDid you cleanly remove ME and reinstall using 3.8.1 and then apply the quick fix?
August 25, 2004 at 9:23 am #213428
Scott AndersonParticipantThe best way to get rid of this issue is to install a clean version of Eclipse, then install MyElipse 3.8.1, then install the latest QuickFix.
August 25, 2004 at 9:29 am #213429
Riyad KallaMemberThank you Scott for weighing in, jlitola, I checked with the team and no one is aware of any saving issues and we don’t have any other users suffering from this right now either so it really does seem to be an install issue (install problems can manifest themselves in VERY strange ways).
October 5, 2004 at 2:19 am #216850
Michael BartlMemberHello all!
I’m the author of the viPlugin and hacked the Eclipse platform into pieces (evil reflection) to get the underlying ITextEditor of your JSP Editor. By doing so viPlugin now works with it, but when I try to save I get the same error as has been mentioned in this forum-topic. I really don’t have a clue why, but funny enough it works with every other plugin I’ve tried so far. Please note that I only tried the JSP editor of MyEclipseIDE!
Any clues?
Or even better, could we start some discussion on how our plugins could work together? I’ve opened a bug report on Eclipse which might be of interest for this discussion.
Eclipse Bug: 70819
Best regards,
Michael Bartl
(feedback either to zeddicus@satokar.com or in this forum, thx)October 5, 2004 at 8:25 am #216866
Riyad KallaMemberMichael,
We appreciate you feedback and opening the line of communication. I know that I’ve seen a good handful of users interested in interoperability between viPlugin (nice job BTW) and MyEclipse. I will direct your comments to the devs and see if we can’t get this puppy figured out 😉 -
AuthorPosts
