You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/12/16 14:58:58 UTC

[GitHub] [camel] jmerljak opened a new pull request #4779: Avoid NPE on missing event updated timestamp [google-calendar-stream]

jmerljak opened a new pull request #4779:
URL: https://github.com/apache/camel/pull/4779


   Added a null check 
   
   ```
   [2020-12-09 11:14:19,110] WARN Consumer Consumer[google-calendar-stream://gcalstream?accessToken=xxxxxx] failed polling endpoint: google-calendar-stream://gcalstream?accessToken=xxxxxx. Will try again at next poll. Caused by: [java.lang.NullPointerException - null] (org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConsumer)
   java.lang.NullPointerException
   	at org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConsumer.poll(GoogleCalendarStreamConsumer.java:91)
   	at org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:190)
   	at org.apache.camel.support.ScheduledPollConsumer.run(ScheduledPollConsumer.java:107)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   ```
   
   
   
   - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   - [ ] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] jmerljak commented on pull request #4779: Avoid NPE on missing event updated timestamp [google-calendar-stream]

Posted by GitBox <gi...@apache.org>.
jmerljak commented on pull request #4779:
URL: https://github.com/apache/camel/pull/4779#issuecomment-746582090


   Rebased: #4780


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] jmerljak closed pull request #4779: Avoid NPE on missing event updated timestamp [google-calendar-stream]

Posted by GitBox <gi...@apache.org>.
jmerljak closed pull request #4779:
URL: https://github.com/apache/camel/pull/4779


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org