GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Core: Seeing unexpected exception during upload to GCS with Java client · Issue #2770 · googleapis/java-storage
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Core: Seeing unexpected exception during upload to GCS with Java client #2770Copy link Copy link Labels api: storageIssues related to the googleapis/java-storage API. DescriptionThanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response. Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please include as much information as possible: Environment details
Steps to reproduce
Code examplefinal long ret = isArchive ? uploadFile.length() : FileUtils.sizeOfDirectory(uploadFile); if (isArchive) { BlobId blobId = BlobId.of(s3BucketName, s3Path); BlobInfo blobInfo = BlobInfo.newBuilder(blobId) .setStorageClass(infrequentAccess ? com.google.cloud.storage.StorageClass.NEARLINE : com.google.cloud.storage.StorageClass.STANDARD).build(); storage.createFrom(blobInfo, uploadFile.toPath()); } else { try (Stream<Path> stream = Files.walk(uploadFile.toPath())) { forkJoinPool.submit(() -> stream.parallel().filter(x -> !x.toFile().isDirectory()) .forEach(filePath -> { try { uploadFile(filePath.toFile(), s3BucketName, Path.of(s3Path, uploadFile.toPath() .relativize(filePath) .toString()) .toString(), infrequentAccess, true, sse); } catch (Exception e) { throw new RuntimeException(e); } })).get(); } } return ret; Stack traceExternal references such as API reference guides
Any additional information belowCase 53758543 opened with support, they suggested I also open an issue here. Following these steps guarantees the quickest resolution possible. Thanks! Activity
MetadataMetadataAssigneesLabelsapi: storageIssues related to the googleapis/java-storage API. TypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |