Skip to content
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

Files: globus large files exception on listing (filesize should be a long) #177

Closed
dvernon-tacc opened this issue Aug 23, 2024 · 0 comments
Assignees

Comments

@dvernon-tacc
Copy link
Collaborator

Here is the exception:
`Caused by: edu.utexas.tacc.tapis.client.shared.exceptions.TapisClientException: java.lang.NumberFormatException: Expected an int but was 195878604800 at line 1 column 72
3 path $.result.DATA[1].size
at edu.utexas.tacc.tapis.client.shared.Utils.throwTapisClientException(Utils.java:90)
at edu.utexas.tacc.tapis.globusproxy.client.GlobusProxyClient.listFiles(GlobusProxyClient.java:291)
at edu.utexas.tacc.tapis.files.lib.clients.GlobusDataClient.ls(GlobusDataClient.java:205)
... 30 common frames omitted
Caused by: com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 195878604800 at line 1 column 723 path $.result.DATA[1].size
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:251)
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:241)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.readIntoField(ReflectiveTypeAdapterFactory.java:212)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:433)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:393)
at com.google.gson.Gson.fromJson(Gson.java:1227)
at com.google.gson.Gson.fromJson(Gson.java:1137)
at com.google.gson.Gson.fromJson(Gson.java:1047)
at com.google.gson.Gson.fromJson(Gson.java:1014)
at edu.utexas.tacc.tapis.globusproxy.client.gen.JSON.deserialize(JSON.java:153)
at edu.utexas.tacc.tapis.globusproxy.client.gen.ApiClient.deserialize(ApiClient.java:845)
at edu.utexas.tacc.tapis.globusproxy.client.gen.ApiClient.handleResponse(ApiClient.java:1053)
at edu.utexas.tacc.tapis.globusproxy.client.gen.ApiClient.execute(ApiClient.java:977)
at edu.utexas.tacc.tapis.globusproxy.client.gen.api.FileOperationsApi.listFilesWithHttpInfo(FileOperationsApi.java:453)
at edu.utexas.tacc.tapis.globusproxy.client.gen.api.FileOperationsApi.listFiles(FileOperationsApi.java:423)
at edu.utexas.tacc.tapis.globusproxy.client.GlobusProxyClient.listFiles(GlobusProxyClient.java:269)
... 31 common frames omitted
Caused by: java.lang.NumberFormatException: Expected an int but was 195878604800 at line 1 column 723 path $.result.DATA[1].size
at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1186)
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:249)
... 55 common frames omitted

`

@dvernon-tacc dvernon-tacc self-assigned this Aug 23, 2024
@dvernon-tacc dvernon-tacc changed the title Files: globus large files exception on ls Files: globus large files exception on listing (filesize should be a long) Aug 23, 2024
@dvernon-tacc dvernon-tacc moved this from Staging to Done/Production in Tapis Project Beta Board Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant