Contributions
Re: ERROR: java.lang.IllegalArgumentException: Name is not valid
Hi all, thanks a lot for your replyes. Unfortunately I'm still not able to tell what was the exact issue behind the scene here. But when I deleted one of the latest added DataSource objects, project xml file was able to successfully save. Hooray!6 years agoPlace ReadyAPI QuestionsReadyAPI Questions5KViews0likes1CommentRe: ERROR: java.lang.IllegalArgumentException: Name is not valid
Thanks richie for your reply. My project xml file's Date modified is 2/14/19, so that tells me that it was the last day when it successfully saved. That file I'm able to open in a new instance of the ReadyAPI with no problem since there is no error in the xml, but unfortunately the one with the issue I'm not able to open seperately in Note++ to investigate xml because I can't save it in the first place. So far, I've gone through all project and renamed all the Test Case/Suites/Property names that contained any special characters except "_". (Underscore did not give problems before, so I left it.). No success yet. Next I'm planning to start deleting Data Source objects one by one and trying to save. I've read somewhere that whenever you moving objects up or down your file tree with your mouse it can cause breakage in project xml file, and I've done that a lot :( If you have any other ideas please share Thanks,6 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.1KViews0likes4CommentsERROR: java.lang.IllegalArgumentException: Name is not valid
Hey guys! I couldn't find answer to this question anywhere, so decided to ask community. For some reason Tech support is too slow. In short: I no longer can Save or Save As or Export one of my projects. Other projects do get saved normally Context: I have found out about it only after a week of this error happening, since ReadyApi did not show me any errors unless I open Logs. And the way I see it, is that my project xml file does not get modified/updated when I hit save. Please help! I can't even restart the app because I will loose all my week long changes. Thanks a lot! This is the error i'm getting: Fri Feb 22 16:02:38 PST 2019: ERROR: java.lang.IllegalArgumentException: Name is not valid java.lang.IllegalArgumentException: Name is not valid at org.apache.xmlbeans.impl.store.Cursor.validateLocalName(Cursor.java:125) at org.apache.xmlbeans.impl.store.Cursor._insertElementWithText(Cursor.java:1715) at org.apache.xmlbeans.impl.store.Cursor._insertElementWithText(Cursor.java:1711) at org.apache.xmlbeans.impl.store.Cursor.insertElementWithText(Cursor.java:4163) at com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder.add(XmlObjectConfigurationBuilder.java:50) at com.eviware.soapui.impl.wsdl.teststeps.datasource.DataGenerator.UI.DataGeneratorDataSource.save(DataGeneratorDataSource.java:407) at com.eviware.soapui.impl.wsdl.teststeps.datasource.AbstractDataSource.saveConfig(AbstractDataSource.java:77) at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.beforeSave(WsdlDataSourceTestStep.java:947) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.beforeSave(AbstractWsdlModelItem.java:234) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.beforeSave(AbstractWsdlModelItem.java:234) at com.eviware.soapui.impl.wsdl.WsdlProject.beforeSave(WsdlProject.java:1455) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.beforeSave(WsdlProjectPro.java:817) at com.eviware.soapui.impl.wsdl.WsdlProject.save(WsdlProject.java:1079) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.save(WsdlProjectPro.java:1669) at com.eviware.soapui.impl.wsdl.WsdlProject.save(WsdlProject.java:1065) at com.eviware.soapui.impl.wsdl.actions.project.SaveProjectAction.perform(SaveProjectAction.java:42) at com.eviware.soapui.impl.wsdl.actions.project.SaveProjectSoapUIAction.perform(SaveProjectSoapUIAction.java:29) at com.eviware.soapui.impl.wsdl.actions.project.SaveProjectAction.perform(SaveProjectAction.java:1) at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:129) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.2KViews0likes6Comments