cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

read cdm error: java.util.NoSuchElementException: None.get

ima94
New Contributor II

Hi all, I'm trying to read cdm file and get the error in the image (I replaced the names in uppercase). Any ideas on how to solve it?

Thank you!

2 REPLIES 2

Kaniz
Community Manager
Community Manager

Hi @imma marra​, The error message "java.util.NoSuchElementException: None.get" suggests that the code is trying to access an element that does not exist. Various reasons, such as an empty file or incorrect formatting, could cause this.

To solve this issue, you could try the following steps:

  1. Check that the file path is correct and that the file exists.
  2. Verify that the file is formatted correctly and contains the expected data.
  3. Check the code that reads the file and ensure it handles empty files or missing data gracefully.
  4. Make sure that all required dependencies are included and up to date.

Anonymous
Not applicable

Hi @imma marra​ 

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future.

Thank you for your participation and let us know if you need any further assistance! 

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.