facebook

Error Saving .umr

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #239306 Reply

    pfsalmeida
    Member

    Hi,

    I’m working on a Linux platform from a win32 platform, and I have a very big problem(error) 🙂 .
    I can´t save my UML project.
    The message

    A problem occurred while saving: “null”.
    Your file might be corrupted.
    Please file a bugreport at http://www.myeclipseide.com

    The log file

    java.io.FileNotFoundException: C:\palmeida\AdvancedReplicationOracleDB\MIconceptual.umr (The system cannot find the path specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.argouml.persistence.ZargoFilePersister.doSave(ZargoFilePersister.java:136)
    at org.argouml.persistence.AbstractFilePersister.save(AbstractFilePersister.java:180)
    at org.argouml.uml.ui.ActionSaveProject.trySave(ActionSaveProject.java:186)
    at org.argouml.uml.ui.ActionSaveProject.trySave(ActionSaveProject.java:123)
    at com.genuitec.eclipse.uml.editor.UMLEditor$2.run(UMLEditor.java:448)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at com.genuitec.eclipse.uml.editor.UMLEditor.doSave(UMLEditor.java:437)
    at org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper.java:95)
    at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:116)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2134)
    at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:122)
    at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:100)
    at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1149)
    at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2673)
    at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2686)
    at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:69)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
    at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:117)
    at org.eclipse.core.commands.Command.execute(Command.java:311)
    at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
    at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
    at org.eclipse.swt.widgets.Tree.WM_CHAR(Tree.java:2431)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:2391)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    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.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    The problem it’s here (I think :oops:)

    C:\palmeida\AdvancedReplicationOracleDB\MIconceptual.umr

    the path name must be something like this:

    \\kjasdlfka\lajjknfkenj\MIconceptual.umr

    If someone can help 😉

    Pedro Almeida

    #239324 Reply

    Riyad Kalla
    Member

    This is strange, Perdro do you have the linux partition mounted over Samba? Are you able to save the UMR file locally and then copy it over?

    #239373 Reply

    pfsalmeida
    Member

    No, I have a user on Linux with samba configured.
    I have all my projects on a remote Linux platform, and I never had a problem like this, that’s why this is strange.
    The work file on Linux is

    \\palmeida\AdvancedReplicationOracleDB\MIconceptual.umr

    I already verify the permissions and it’s OK.

    #239375 Reply

    Riyad Kalla
    Member

    So you can open the file just fine, edit it, but when you go to save it, the excpetion:

    java.io.FileNotFoundException: C:\palmeida\AdvancedReplicationOracleDB\MIconceptual.umr (The system cannot find the path specified)

    Occurs? I’m trying to figure out why this path gets in there and at exactly at what point in time.

    #239379 Reply

    pfsalmeida
    Member

    yes, I create the file and edit it.
    The exception occurs, when I try to save.

    Do you need more information about my environment?

    #239381 Reply

    Riyad Kalla
    Member

    I have asked the UML dev team to have a look into this, in the mean time can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? So they can have that information for reference.

    #239544 Reply

    pfsalmeida
    Member

    Hi, here are all the information requested.

    *** Date: Mon Oct 17 12:00:25 BST 2005

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.4.2_09

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.2 GA
    Build id: 20051010-4.0.2-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\Eclipse\eclipse-SDK-3.1-win32\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    a04_50
    -vm
    C:\j2sdk1.4.2_09\bin\javaw.exe

    Error Message:

    Exception occured during save attempt

    Exception Stack Trace:

    java.io.FileNotFoundException: C:\palmeida\AdvancedReplicationOracleDB\UMLDiagrams.umr (The system cannot find the path specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.argouml.persistence.ZargoFilePersister.doSave(ZargoFilePersister.java:136)
    at org.argouml.persistence.AbstractFilePersister.save(AbstractFilePersister.java:180)
    at org.argouml.uml.ui.ActionSaveProject.trySave(ActionSaveProject.java:186)
    at org.argouml.uml.ui.ActionSaveProject.trySave(ActionSaveProject.java:123)
    at com.genuitec.eclipse.uml.editor.UMLEditor$2.run(UMLEditor.java:449)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at com.genuitec.eclipse.uml.editor.UMLEditor.doSave(UMLEditor.java:438)
    at org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper.java:95)
    at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:116)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2134)
    at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:122)
    at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:100)
    at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1149)
    at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2673)
    at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2686)
    at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:69)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
    at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:117)
    at org.eclipse.core.commands.Command.execute(Command.java:311)
    at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
    at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
    at org.eclipse.swt.widgets.Display.messageProc(Display.java:2374)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    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.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    Other error message:

    A problem occurred while saving: “null”.
    Your file might be corrupted.
    Please file a bugreport at http://www.myeclipseide.com

    Exception stack trace:

    java.lang.NullPointerException
    at org.argouml.persistence.ZargoFilePersister.doSave(ZargoFilePersister.java:219)
    at org.argouml.persistence.AbstractFilePersister.save(AbstractFilePersister.java:180)
    at org.argouml.uml.ui.ActionSaveProject.trySave(ActionSaveProject.java:186)
    at org.argouml.uml.ui.ActionSaveProject.trySave(ActionSaveProject.java:123)
    at com.genuitec.eclipse.uml.editor.UMLEditor$2.run(UMLEditor.java:449)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at com.genuitec.eclipse.uml.editor.UMLEditor.doSave(UMLEditor.java:438)
    at org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper.java:95)
    at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:116)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2134)
    at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:122)
    at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:100)
    at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1149)
    at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2673)
    at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2686)
    at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:69)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
    at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:117)
    at org.eclipse.core.commands.Command.execute(Command.java:311)
    at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
    at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
    at org.eclipse.swt.widgets.Display.messageProc(Display.java:2374)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    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.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    #239691 Reply

    Riyad Kalla
    Member

    Pedro,
    I’m very sorry for the delay in responding, I sent this report to the UML dev team the day you sent it in and they infact were able to reproduce the problem and filed it for correction, I just forgot to come back here and let you know. So we should have it fixed in our next release. I’ll verify this.

    #239774 Reply

    pfsalmeida
    Member

    Don’t worry, it’s OK.

    Thank You for all the support.

    Pedro Almeida

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Error Saving .umr

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