Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Azure-Storage SDK 8.6.5 giving exceptions while iterating #579

Open
nikhilMS123 opened this issue Nov 9, 2022 · 0 comments
Open

Azure-Storage SDK 8.6.5 giving exceptions while iterating #579

nikhilMS123 opened this issue Nov 9, 2022 · 0 comments

Comments

@nikhilMS123
Copy link

nikhilMS123 commented Nov 9, 2022

Which service(blob, file, queue, table) does this issue concern?

table

Which version of the SDK was used?

8.6.5

What problem was encountered?

Unable to iterate over a set of results.
Following is the exception:
Caused by: java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details.
at com.microsoft.azure.storage.core.LazySegmentedIterator.hasNext(LazySegmentedIterator.java:113)

The code was something like this:
Iterable<PEntity> results = (Iterable<PEntity>)
            this.TableStore.queryByKey(PEntity.class,
                    ROW_KEY, ID);
    for (PEntity tableEntity : results) {                           // From here it raised exception
        partitions.add(tableEntity.getKey());
    }
    
    
    The exception occured in For loop 

Have you found a mitigation/solution?

No.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant