GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [NIO] Inconsistent failure messages · Issue #2090 · googleapis/google-cloud-java

[NIO] Inconsistent failure messages #2090

New issue
Copy link
New issue
Copy link
Closed
Closed
[NIO] Inconsistent failure messages#2090
Copy link
Assignees
vam-google
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@Horneth
Horneth
opened on May 26, 2017
Issue body actions

Different operations have inconsistent error messages such that for example trying to read from a non existing object, or trying to get its size do not return the same path format.

Opening a readChannel on a non existing object yields

java.nio.file.NoSuchFileException: gs://nonexistingbucket/path/doesnt/exist
	at com.google.cloud.storage.contrib.nio.CloudStorageReadChannel.fetchSize(CloudStorageReadChannel.java:196)
	at com.google.cloud.storage.contrib.nio.CloudStorageReadChannel.<init>(CloudStorageReadChannel.java:72)
	at com.google.cloud.storage.contrib.nio.CloudStorageReadChannel.create(CloudStorageReadChannel.java:62)
	at com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider.newReadChannel(CloudStorageFileSystemProvider.java:268)
	at com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider.newByteChannel(CloudStorageFileSystemProvider.java:229)

And trying to get attributes on the same non existing object yields

java.nio.file.NoSuchFileException: nonexistingbucket/path/doesnt/exist
	at com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider.readAttributes(CloudStorageFileSystemProvider.java:575)
	at java.nio.file.Files.readAttributes(Files.java:1737)
	at java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)
	at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
	at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322)
	at java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:72)
	at java.nio.file.Files.walk(Files.java:3574)

Activity

  1. vam-google
    added a commit that references this issue on May 30, 2017

    [NIO] Inconsistent failure messages fix

    cd5f433
  2. vam-google
    self-assigned this
    on May 30, 2017
  3. vam-google commented on May 30, 2017

    @vam-google
    vam-google
    on May 30, 2017
    Contributor
    More actions

    @Horneth please check #2096

  4. vam-google
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on May 30, 2017
  5. garrettjonesgoogle
    added
    contrib
    on Aug 7, 2017
  6. vam-google commented on Aug 11, 2017

    @vam-google
    vam-google
    on Aug 11, 2017
    Contributor
    More actions

    Please check #2330 (a duplicate PR, since travis cannot build the original PR).

  7. vam-google commented on Aug 11, 2017

    @vam-google
    vam-google
    on Aug 11, 2017
    Contributor
    More actions

    Merged.

  8. vam-google
    closed this as completedon Aug 11, 2017
  9. theacodes
    unassigned
    vam-google
    on Sep 28, 2018
  10. JustinBeckwith
    assigned
    vam-google
    on Feb 1, 2021
  11. chingor13
    added a commit that references this issue on Feb 20, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-bigquery…

    34e96e7
  12. suztomo
    added a commit that references this issue on Mar 23, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    cc9e0f3
  13. meltsufin
    added a commit that references this issue on May 2, 2026

    chore(main): release 3.31.2-SNAPSHOT (#2090)

    c3f7ab9
  14. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(main): release 2.33.0 (googleapis#2090)

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

Metadata

Metadata

Assignees

  • @vam-google
    vam-google

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.