alibaba82
15 years agoSuper Contributor
[Solved]composite project saving checkedin (write protected file)
Hello,
Not a big issue but the soapui exception could be better
When saving a composite project whose contents are all write protected due to being checkin in source control, I get the following exception
Fri Jan 08 13:18:46 PST 2010:ERROR:Failed to save workspace: C:\QA\Automation\soapUI_Scripts\Research\listing-composite\ListingsServiceComposite-soapui-project\reports\settings.xml (Access is denied)
java.io.FileNotFoundException: C:\QA\Automation\soapUI_Scripts\Research\listing-composite\ListingsServiceComposite-soapui-project\reports\settings.xml (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileWriter.(Unknown Source)
at com.eviware.soapui.reporting.engine.jasper.SoapUIJasperReportManager.saveCompositeReports(SourceFile:719)
at com.eviware.soapui.impl.support.loadsave.SplitProject.a(SourceFile:577)
at com.eviware.soapui.impl.support.loadsave.SplitProject.saveSplitProject(SourceFile:469)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.saveIn(SourceFile:290)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.save(SourceFile:366)
at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:311)
at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:267)
at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:50)
at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:28)
at com.eviware.soapui.SoapUI$SaveAllActionDelegate.actionPerformed(SoapUI.java:1422)
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.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)
Not a big issue but the soapui exception could be better
When saving a composite project whose contents are all write protected due to being checkin in source control, I get the following exception
Fri Jan 08 13:18:46 PST 2010:ERROR:Failed to save workspace: C:\QA\Automation\soapUI_Scripts\Research\listing-composite\ListingsServiceComposite-soapui-project\reports\settings.xml (Access is denied)
java.io.FileNotFoundException: C:\QA\Automation\soapUI_Scripts\Research\listing-composite\ListingsServiceComposite-soapui-project\reports\settings.xml (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.
at java.io.FileOutputStream.
at java.io.FileWriter.
at com.eviware.soapui.reporting.engine.jasper.SoapUIJasperReportManager.saveCompositeReports(SourceFile:719)
at com.eviware.soapui.impl.support.loadsave.SplitProject.a(SourceFile:577)
at com.eviware.soapui.impl.support.loadsave.SplitProject.saveSplitProject(SourceFile:469)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.saveIn(SourceFile:290)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.save(SourceFile:366)
at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:311)
at com.eviware.soapui.impl.WorkspaceImpl.save(WorkspaceImpl.java:267)
at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:50)
at com.eviware.soapui.actions.SaveAllProjectsAction.perform(SaveAllProjectsAction.java:28)
at com.eviware.soapui.SoapUI$SaveAllActionDelegate.actionPerformed(SoapUI.java:1422)
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.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)