Configure failed (NullPointerException): null

Good morning,

I have a problem when i connect my node with the filereader node , an error message is showed "

ERROR  main Node  Configure failed (NullPointerException): null "

I did functional tests on some dialog component to display error messages (for example the text field must not end with one;) and I put in return: return new DataTableSpec [] {null}; But if I connect my node with the node filereader a null configure message is displayed but the execution works well

Can you tell me what i write in the return ?

Thanks

 

You need to return your output table specification(s) which you will be making somewhere if you ececute method works.

can you tell me how to return the output table spec in configure method

Thanks

https://tech.knime.org/developer-guide