Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Error when exporting project
Error when exporting project [message #1796964] Tue, 23 October 2018 09:08 Go to next message
Christoph Steinforth is currently offline Christoph SteinforthFriend
Messages: 11
Registered: June 2017
Junior Member
Hi there,

when exporting a project we get the error message

Quote:

2018-10-23 10:16:55.072 [main] ERROR o.e.j.c.u.r.h.project.ExportDialog - null
java.lang.ClassCastException: org.eclipse.jubula.client.core.model.TestSuitePO cannot be cast to org.eclipse.jubula.client.core.model.ISpecTestCasePO
at org.eclipse.jubula.client.archive.JsonExporter.handleSpecPersistables(JsonExporter.java:617) ~[na:na]
at org.eclipse.jubula.client.archive.JsonExporter.getProjectDTO(JsonExporter.java:173) ~[na:na]
at org.eclipse.jubula.client.archive.JsonStorage.writeToFile(JsonStorage.java:202) ~[na:na]
at org.eclipse.jubula.client.archive.JsonStorage.save(JsonStorage.java:115) ~[na:na]
at org.eclipse.jubula.client.ui.rcp.handlers.project.ExportFileOperation.run(ExportFileOperation.java:84) ~[na:na]
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119) ~[na:na]


In the Test Case Browser we can see that there is a New Test Suite, but we are not able to delete this entry. May this be the source for this error? Is there a way to delete this entry from the database?

Thanks in advance,

Christoph
Re: Error when exporting project [message #1797764 is a reply to message #1796964] Tue, 06 November 2018 09:19 Go to previous message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 192
Registered: March 2012
Senior Member
Having a Test Suite in the Test Case Browser is indeed very Problematic. It is interesting how this could happen.
Which version of Jubula you are using?
Can the name of the TestSuite be changed? Is there also a TestSuite of the same name in the TestSuiteBrowser?
If You could rename the TestSuite into a unique name, it might be the easiest way to delete it from the database.

best regards
Marvin Mueller
Previous Topic:Jubula evaluation
Next Topic:Can't install jubula for committers using oomph
Goto Forum:
  


Current Time: Fri Nov 15 21:27:33 GMT 2019

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

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

Back to the top