Can`t delete or move objects from object repository

staff-19

#1

When I delete an object - the object is not deleted. Also can not move objects to other folder or folders to other folder when I do I get note : “Unable to move the selection: null”


#2

I have a similiar/same issue
When deleting,renaming or copying object files, changes do not register correctly in the katalon studio program and errors appear. When checking File explorer, you can see that the changes do actually get made, but katalon does not update it’s list properly.
Now this wouldn’t be such a big problem if it was only gui related. The problem is that it does not change pathways of object locations in test cases. Which is a BIG problem, since the size of our repo is relativly big(250MB).

I’m using windows 10.
Here is the log file from the start of latest session: https://pastebin.com/mmyujd2c


#3

Any updates on this one…we are seeing where we rename an object folder in Katalon and we see the changes in File Explorer but inside of Katalon we see the original name of the folder and no objects associated with it. We see the updates within GIT and when we try and clone it again it keeps the original folder name.


#4

Could you guys provide your version you guys used? Thanks.


#5

Not sure what versions are being listed above, I am experiencing the same issues and I am using 5.8.6… started having trouble as described about three major versions back


#6

I am experiencing similar issues. From this post (see last reply): Unable to remove/delete object from the object repository. it turns out it was due to a corrupt Object file. You may have to find out if the XML structure of any of your object files has been corrupted in a similar fashion. My issue wasn’t due to a Git merge text appearing in the object file, instead one of my object files had text like this:

//<![CDATA[

//]]>

However, I am experiencing issues where the pathways to my objects in my test cases do not update when they are moved. I seriously would like a developer to shine some light on this issue.


#7

Same issue, different application log error.

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-07-25 13:42:22.600
!MESSAGE
!STACK 0
javax.xml.bind.UnmarshalException

  • with linked exception:
    [Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.5.0.v20130425-368d603): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: org.xml.sax.SAXParseException; systemId: file:/D:/GiT/QA/Cloud/qa/MyHours%20Azure/Object%20Repository/Report_Dashboard/Filter_Dropdown/select_all%20team%20members.rs; lineNumber: 1; columnNumber: 2; The markup in the document preceding the root element must be well-formed.]
    at org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:980)
    at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:126)
    at com.kms.katalon.dal.fileservice.EntityService.loadEntityFromFile(EntityService.java:190)
    at com.kms.katalon.dal.fileservice.EntityService.getEntityByPath(EntityService.java:166)
    at com.kms.katalon.dal.fileservice.manager.EntityFileServiceManager.get(EntityFileServiceManager.java:62)
    at com.kms.katalon.dal.fileservice.manager.WebElementFileServiceManager.getWebElement(WebElementFileServiceManager.java:36)
    at com.kms.katalon.dal.fileservice.manager.WebElementFileServiceManager.getWebElementPropertyByRefElement(WebElementFileServiceManager.java:501)
    at com.kms.katalon.dal.fileservice.manager.WebElementFileServiceManager.getWebElementPropertyByRefElement(WebElementFileServiceManager.java:497)
    at com.kms.katalon.dal.fileservice.manager.WebElementFileServiceManager.getWebElementPropertyByRefElement(WebElementFileServiceManager.java:497)
    at com.kms.katalon.dal.fileservice.manager.WebElementFileServiceManager.getWebElementPropertyByRefElement(WebElementFileServiceManager.java:485)
    at com.kms.katalon.dal.fileservice.dataprovider.WebElementFileServiceDataProvider.getWebElementPropertyByRefElement(WebElementFileServiceDataProvider.java:99)
    at com.kms.katalon.controller.ObjectRepositoryController.getTestObjectReferences(ObjectRepositoryController.java:220)
    at com.kms.katalon.composer.objectrepository.handler.DeleteTestObjectHandler$1.run(DeleteTestObjectHandler.java:95)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:165)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:369)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:481)
    at com.kms.katalon.composer.explorer.handlers.DeleteHandler.delete(DeleteHandler.java:85)
    at com.kms.katalon.composer.explorer.handlers.DeleteHandler.delete(DeleteHandler.java:76)
    at com.kms.katalon.composer.explorer.handlers.DeleteHandler.execute(DeleteHandler.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:288)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:288)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
    at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
    at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
    at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433)
    at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)
    at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    at com.kms.katalon.core.application.Application.internalRunGUI(Application.java:154)
    at com.kms.katalon.core.application.Application.runGUI(Application.java:144)
    at com.kms.katalon.core.application.Application.start(Application.java:74)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    Caused by: Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.5.0.v20130425-368d603): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: org.xml.sax.SAXParseException; systemId: file:/D:/GiT/QA/Cloud/qa/MyHours%20Azure/Object%20Repository/Report_Dashboard/Filter_Dropdown/select_all%20team%20members.rs; lineNumber: 1; columnNumber: 2; The markup in the document preceding the root element must be well-formed.
    at org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:113)
    at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.convertSAXException(SAXUnmarshaller.java:999)
    at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:903)
    at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:388)
    at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:366)
    at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:323)
    at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:367)
    at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:123)
    … 66 more
    Caused by: org.xml.sax.SAXParseException; systemId: file:/D:/GiT/QA/Cloud/qa/MyHours%20Azure/Object%20Repository/Report_Dashboard/Filter_Dropdown/select_all%20team%20members.rs; lineNumber: 1; columnNumber: 2; The markup in the document preceding the root element must be well-formed.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:878)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    at org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
    at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:895)
    … 71 more

#8

Same issue, verry annoying


#9

It should create “Meta” files (more) in your project folder, just delete those


#10

Hi folks

This bug is already fixed in the latest version of Katalon Studio. Please upgrade!

Jass