Hi, This is the first time I have used the "Export to HTML" and I always get the error "An error occurred while creating the output file", even for very simple models.
I am using Version : 5.3.1 downloaded as zip from www.topcased.org<http://www.topcased.org> (http://gforge.enseeiht.fr/frs/download.php/3949/Topcased-RCP-5.3.1-win32.zip) Scenario: 1. File > New > Papyrus > Papyrus Model 2. File name: testHTMLexport.di 3. Next 4. Diagram Language: SysML 5. Next 6. Diagram Name: NewDiagram 7. Diagram Kind: SysML Block Definition Diagram 8. Finish 9. Add a new block to the diagram from the Model Elements menu 10. Save all 11. M-R on "di" in Project Explorer and select "Export to HTML" 12. Select destination folder (this exists and is empty) 13. OK 14. Error: An error occurred while creating the output file 15. Error log shown at end of message Does anyone have any ideas? Regards, Judith CROCKFORD Engineering - Methods & Tools - Simulation Projects - EZMM AIRBUS Phone: +44 1179 360362 Mobile: +44 7896 787946 MailTo: [email protected]<mailto:[email protected]> Airbus Operations Ltd. Pegasus House Filton, Bristol BS99 7AR United Kingdom (satnav use BS34 7PA) ----error log----------------- !ENTRY org.topcased.modeler.export.html 4 0 2013-11-29 09:48:46.657 !MESSAGE org.eclipse.papyrus.sashwindows.di.impl.SashWindowsMngrImpl cannot be cast to org.topcased.modeler.diagrams.model.Diagrams !STACK 0 java.lang.ClassCastException: org.eclipse.papyrus.sashwindows.di.impl.SashWindowsMngrImpl cannot be cast to org.topcased.modeler.diagrams.model.Diagrams at org.topcased.modeler.export.html.internal.Export2HTML$1.execute(Export2HTML.java:88) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.topcased.modeler.export.html.internal.Export2HTML.generate(Export2HTML.java:203) at org.topcased.modeler.export.html.internal.ui.Export2HTMLAction.run(Export2HTMLAction.java:140) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
