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

Azure-Storage SDK 8.6.5 giving exceptions while iterating #579

Description

@nikhilMS123

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions