Ask a Question

Datasink OOXML error - test was run a few days ago and now fails with java exception

SOLVED
davecoleman
Contributor

Datasink OOXML error - test was run a few days ago and now fails with java exception

Hi,

I have a datasink as first step in my loop and it fails with below error. If I run in the first 10 lines to test the datasink it shows the data in the preview window. what has caused this to occur?

failed ljava.lang.Exception: Failed to prepare the test step [DataSink]; org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException: No valid entries or contents found, this is not a valid OOXML (Office Open XML) file:java.lang.Ecception: Failed to prepare the test step [DataSink]; org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException: No valid entries or contents found, this is not a valid OOXML (Office Open XML) file], time taken = 4972 

 

1 ACCEPTED SOLUTION

Accepted Solutions
davecoleman
Contributor

Re: Datasink OOXML error - test was run a few days ago and now fails with java exception

Hi,

I changed my Datasink from Excel to CSV to quickly move on.

 

will investigate further again.

View solution in original post

3 REPLIES 3
richie
Community Hero

Re: Datasink OOXML error - test was run a few days ago and now fails with java exception

Hey @davecoleman,

Im struggling to understand whats going on from your description. Could you please attach a screenshot of your testcase (so i can see the teststeps in your test) please?
Im struggling to understand how datasink is first step in your loop as the datasink saves off content, rather than provides input for other steps, right? Obviously im misunderstanding something....

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
sonya_m
Community Manager

Re: Datasink OOXML error - test was run a few days ago and now fails with java exception

Thank you Richie, for looking into this!

 

@davecoleman were you able to solve this? Please share your solution with us, or, if you still require the Community's advice, please explain your use case in detail as Richie is asking.

 

An alternative to this would be contacting the ReadyAPI support.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
davecoleman
Contributor

Re: Datasink OOXML error - test was run a few days ago and now fails with java exception

Hi,

I changed my Datasink from Excel to CSV to quickly move on.

 

will investigate further again.

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: