question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DateTimeFormatter exception!

See original GitHub issue

Throwing exception in DateTimeFormat (line 370) when put to sa-eas-1 region.

This exception just happen during “updateRegionCache(bucketName);”

Even with this exception the file is sent well.

jul 14, 2016 12:41:01 PM io.minio.http.HeaderParser set
GRAVE: exception occured: 
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at io.minio.http.HeaderParser.set(HeaderParser.java:71)
    at io.minio.MinioClient.execute(MinioClient.java:714)
    at io.minio.MinioClient.updateRegionCache(MinioClient.java:804)
    at io.minio.MinioClient.executePut(MinioClient.java:972)
    at io.minio.MinioClient.putObject(MinioClient.java:1934)
    at io.minio.MinioClient.putObject(MinioClient.java:1956)
    at io.minio.MinioClient.putObject(MinioClient.java:1840)
    at com.betha.di.services.S3Upload.alternativeUploadS3(S3Upload.java:73)
    at com.betha.di.services.S3Upload.upload(S3Upload.java:54)
    at com.betha.di.StartIntegration.getExtraction(StartIntegration.java:72)
    at com.betha.di.StartIntegration.main(StartIntegration.java:45)
Caused by: java.lang.IllegalArgumentException: Invalid format: "Thu, 14 Jul 2016 15:41:01 GMT"
    at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:899)
    at io.minio.ResponseHeader.setDate(ResponseHeader.java:89)
    ... 15 more

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
harshavardhanacommented, Jul 15, 2016

hy @balamurugana i’ll check that.

PS: It’s possible to deliver a SNAPSHOT version on maven repository?

@rafaelsisweb will be uploading a new release today.

0reactions
harshavardhanacommented, Jul 22, 2016

@rafaelsisweb closing this, please re-open if seen again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DateTimeFormatter exception - java - Stack Overflow
I have the following code: DateTimeFormatter format = DateTimeFormatter.ofPattern("dd/MM/yyyy"); LocalDateTime startDate ...
Read more >
DateTimeFormatter (Java Platform SE 8 ) - Oracle Help Center
Five or more letters throws IllegalArgumentException . Offset X and x: This formats the offset based on the number of pattern letters. One...
Read more >
Guide to DateTimeFormatter - Baeldung
Learn how to use the Java 8 DateTimeFormatter class to format and parse ... on LocalDateTime or LocalDate objects will lead to an...
Read more >
DateTimeFormatter - Android Developers
This class provides the main application entry point for printing and parsing and provides common implementations of DateTimeFormatter :.
Read more >
Exception in thread “main” java.time.temporal ... - CodeAhoy
When I try to run it, it throws an exception. LocalDate localDate = LocalDate.now(); DateTimeFormatter dtFormatter = DateTimeFormatter.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found