Error while creating node dialog for 'File Reader': URI is not hierarchical.

Hi everybody.

when I try to use a File Reader  I have (often) this error Error while creating node dialog for 'File Reader': URI is not hierarchical.


Do you have any idea of what is causing this problem?

Thank you very much


Here is my log:

2018-01-09 18:50:31,599 : DEBUG : main : Node : File Reader : 0:206:208 : Error while creating node dialog for 'File Reader': URI is not hierarchical
java.lang.IllegalArgumentException: URI is not hierarchical
    at sun.nio.fs.WindowsUriSupport.fromUri(
    at sun.nio.fs.WindowsFileSystemProvider.getPath(
    at java.nio.file.Paths.get(
    at org.knime.core.util.FileUtil.resolveToPath(
    at org.knime.core.node.util.FilesHistoryPanel$FileReaderCheckLabel.checkLocation(
    at org.knime.core.node.util.FilesHistoryPanel.fileLocationChanged(
    at org.knime.core.node.util.FilesHistoryPanel.access$2(
    at org.knime.core.node.util.FilesHistoryPanel$4.insertUpdate(
    at javax.swing.text.AbstractDocument.fireInsertUpdate(
    at javax.swing.text.AbstractDocument.handleInsertString(
    at javax.swing.text.AbstractDocument.insertString(
    at javax.swing.text.PlainDocument.insertString(
    at javax.swing.text.AbstractDocument.replace(
    at javax.swing.text.JTextComponent.setText(
    at javax.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField.setText(
    at javax.swing.plaf.basic.BasicComboBoxEditor.setItem(
    at javax.swing.JComboBox.configureEditor(
    at javax.swing.plaf.basic.BasicComboBoxUI$Handler.contentsChanged(
    at javax.swing.AbstractListModel.fireContentsChanged(
    at javax.swing.DefaultComboBoxModel.setSelectedItem(
    at javax.swing.DefaultComboBoxModel.addElement(
    at org.knime.core.node.util.FilesHistoryPanel.updateHistory(
    at org.knime.core.node.util.FilesHistoryPanel.<init>(
    at org.knime.core.node.Node$
    at org.knime.core.node.util.ViewUtils$
    at org.knime.core.node.util.ViewUtils$
    at java.awt.event.InvocationEvent.dispatch(
    at java.awt.EventQueue.dispatchEventImpl(
    at java.awt.EventQueue.access$500(
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForFilters(
    at java.awt.EventDispatchThread.pumpEventsForFilter(
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    at java.awt.EventDispatchThread.pumpEvents(
    at java.awt.EventDispatchThread.pumpEvents(
2018-01-09 18:50:36,581 : DEBUG : main : NodeContainerEditPart :  :  : File Reader 0:206:208 (IDLE)

Hi ,

can you let me know which KNIME version you are using?

Plus please go to the following folder: \knime-workspace\.metadata\knime

and delete the files named history_filreader_history.txt

This used to be a problem with another reader node and I suspose we came across the same here.

Could you check and let me know?

Thank you and happy new year! Iris 

Thank you very much and happy new year!

I'm using KNIME 3.5.1 on Windows 7 but I don't see history_filreader_history.txt.

I have only 

  • history_ASCIIfile
  • history_class org.knime.base.node.flowvariable.createfilename.CreateFilenameNodeDialog
  • history_constant-value-key
  • history_createFileNameHistoryKey
  • history_csv_read
  • history_string2date-formats

Should I try to delete all the history?

It's very likely "history_ASCIIfile". Before you delete it: Can you paste a copy of the file content here (after you inspected that you don't disclose anything that you want to keep private...)

Before I paste it, I would like to describe the content.

I see 8 rows like this:


where path2,..., path5 are old paths that I don't use anymore. Note that path4 and 5 are preceded by a "/".

Thank you very much



Hi everbody.

Any news about this problem?

Hi there
I encountered errors with the create file name node as well… on 3.7.2 on windows and mac the xls and the csv formats are creating files that are not readable…BUG?

For @adaptagis question see here: create file name Node .. Errors with formats

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.