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 16:02:14 UTC

[GitHub] [camel] jmerljak opened a new pull request #4780: Avoid NPE on missing event update datetime [google-calendar-stream]

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


   Added a simple null check to prevent `NullPointerException` in case event update datetime is missing. 
   ```
   [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)
   ```


----------------------------------------------------------------
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] oscerd merged pull request #4780: Avoid NPE on missing event update datetime [google-calendar-stream]

Posted by GitBox <gi...@apache.org>.
oscerd merged pull request #4780:
URL: https://github.com/apache/camel/pull/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] oscerd commented on pull request #4780: Avoid NPE on missing event update datetime [google-calendar-stream]

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


   Not yet


----------------------------------------------------------------
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 #4780: Avoid NPE on missing event update datetime [google-calendar-stream]

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


   > Can you create a new PR for 3.7.x too? Thanks
   
   Sure. There is no automatic backporting?


----------------------------------------------------------------
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] oscerd commented on pull request #4780: Avoid NPE on missing event update datetime [google-calendar-stream]

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


   Can you create a new PR for 3.7.x too? Thanks


----------------------------------------------------------------
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