-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointerException accessing Item.lastModified() #1606
Labels
Comments
Please share the object storage server detail |
Nothing special: services:
minio:
image: 'minio/minio:latest'
hostname: minio
container_name: minio-test
ports:
- '9000:9000'
- '9001:9001'
volumes:
- minio-data:/data
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: server --console-address ":9001" /data
volumes:
minio-data:
driver: local |
Looks like a server bug @harshavardhana |
@balamurugana this is a non-recursive list, the common-prefix is being returned LastModified has no value for CommonPrefixes - minio-java must not fail here. |
fixed via #1605 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #1605. NullPointerException on accessing
io.minio.messages.Item.lastModified()
against item retrieved fromio.minio.MinioClient.listObjects(io.minio.ListObjectsArgs)
. Error occurs if the object prefix represents a pseudo-folder (i.e. there are object keys that follow prefix with a slash):The text was updated successfully, but these errors were encountered: