Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Not allowed to save an unlocked workversion(Not allowed to save an unlocked workversion)
Not allowed to save an unlocked workversion [message #747464] Mon, 24 October 2011 04:47 Go to next message
Ashish Sharma is currently offline Ashish SharmaFriend
Messages: 15
Registered: October 2011
Junior Member
I am getting this error all the time. I am not able to save my changes.
Re: Not allowed to save an unlocked workversion [message #749484 is a reply to message #747464] Tue, 25 October 2011 08:44 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1163
Registered: July 2009
Senior Member
Hi,

Could you please read the sticky thread here:
http://www.eclipse.org/forums/index.php/t/246492/

And then add more information so that we can help you more effectively?

Thanks,
Alex
Re: Not allowed to save an unlocked workversion [message #1405474 is a reply to message #749484] Thu, 07 August 2014 12:39 Go to previous message
Carsten Neumann is currently offline Carsten NeumannFriend
Messages: 7
Registered: July 2014
Junior Member
Hi,

we are facing the same problem now and suspect it is some kind of encoding problem.

We are using Jubula 8 with a MySQL whose collation is set to latin1_bin. The error occurs when we try to save a central test data set which contains Cyrillic letters. When the Cyrillic letters are removed we can save the data set without any problems.

At the beginning we had set the collation of the database to utf-8, but that caused another error (https://www.eclipse.org/forums/index.php?t=rview&goto=1404607), so this is not an option at the moment.

This is the exception which is shown in the log:
2014-08-07 11:39:35.978 [main] ERROR o.e.jubula.client.ui.rcp.Plugin - Unhandled throwable : 
org.eclipse.jubula.tools.exception.JBFatalAbortException: Not allowed to save an unlocked workversion.
                at org.eclipse.jubula.client.core.persistence.EditSupport.saveWorkVersion(EditSupport.java:318) ~[na:na]
                at org.eclipse.jubula.client.ui.rcp.editors.CentralTestDataEditor.doSave(CentralTestDataEditor.java:349) ~[na:na]
                at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151) ~[na:na]
                at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274) ~[na:na]
                at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) ~[na:na]
                at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) ~[na:na]
                at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679) ~[na:na]
                at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) ~[na:na]
                at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676) ~[na:na]
                at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282) ~[na:na]
                at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261) ~[na:na]
                at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156) ~[na:na]
                at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.doSave(CompatibilityPart.java:417) ~[na:na]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_45]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_45]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_45]
                at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ~[na:na]
                at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231) ~[na:na]
                at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:237) ~[na:na]
                at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:201) ~[na:na]
                at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:89) ~[na:na]
                at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1223) ~[na:na]
                at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3437) ~[na:na]
                at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3455) ~[na:na]
                at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:76) ~[na:na]
                at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) ~[na:na]
                at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119) ~[na:na]
                at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76) ~[na:na]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_45]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_45]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_45]
                at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ~[na:na]
                at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231) ~[na:na]
                at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212) ~[na:na]
                at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131) ~[na:na]
                at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171) [org.eclipse.e4.core.commands_0.10.1.v20120523-1955.jar:na]
                at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:277) [org.eclipse.e4.ui.bindings_0.10.3.v20130123-162658.jar:na]
                at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:496) [org.eclipse.e4.ui.bindings_0.10.3.v20130123-162658.jar:na]
                at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:547) [org.eclipse.e4.ui.bindings_0.10.3.v20130123-162658.jar:na]
                at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:368) [org.eclipse.e4.ui.bindings_0.10.3.v20130123-162658.jar:na]
                at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:314) [org.eclipse.e4.ui.bindings_0.10.3.v20130123-162658.jar:na]
                at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:83) [org.eclipse.e4.ui.bindings_0.10.3.v20130123-162658.jar:na]
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1521) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Tree.WM_CHAR(Tree.java:5981) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5977) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4989) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2546) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3756) [org.eclipse.swt.win32.win32.x86_64_3.100.1.v4236b.jar:na]
                at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053) [org.eclipse.e4.ui.workbench.swt_0.10.3.v20130124-133900.jar:na]
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) [org.eclipse.core.databinding.observable_1.4.1.v20120521-2329.jar:na]
                at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942) [org.eclipse.e4.ui.workbench.swt_0.10.3.v20130124-133900.jar:na]
                at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) [org.eclipse.e4.ui.workbench_0.11.0.v20130125-100758.jar:na]
                at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) [org.eclipse.ui.workbench_3.104.0.v20130204-164612.jar:na]
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) [org.eclipse.core.databinding.observable_1.4.1.v20120521-2329.jar:na]
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) [org.eclipse.ui.workbench_3.104.0.v20130204-164612.jar:na]
                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) [org.eclipse.ui.workbench_3.104.0.v20130204-164612.jar:na]
                at org.eclipse.jubula.app.Launcher.start(Launcher.java:227) [org.eclipse.jubula.app_2.3.0.201404150900.jar:na]
                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) [org.eclipse.equinox.app_1.3.100.v20120522-1841.jar:na]
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_45]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_45]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_45]
                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]
                at org.eclipse.equinox.launcher.Main.run(Main.java:1438) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]
                at org.eclipse.equinox.launcher.Main.main(Main.java:1414) [org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar:na]


It really should be possible to insert Cyrillic letters to a data set as they are used quite frequently to discover encoding issues in the AUT. It seems like Jubula itself has such problems.

Can anyone help me with this problem?

Thanks!

Regards,
Carsten
Previous Topic:testexec can't connect to AUT
Next Topic:Native dialog (file chooser)
Goto Forum:
  


Current Time: Sun Nov 23 14:47:04 GMT 2014

Powered by FUDForum. Page generated in 0.02417 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software