Giter Site home page Giter Site logo

Comments (3)

jimtng avatar jimtng commented on August 15, 2024 1

https://community.openhab.org/t/android-app-crashes-when-a-push-notification-arrives/156954/7

from openhab-android.

krpearce avatar krpearce commented on August 15, 2024

Also having this problem.
Exception seen after receiving notification.

--------- beginning of main
07-01 15:17:46.732 19122 19122 D FcmMessageListenerService: onCreate()
07-01 15:17:46.739 19122 20245 D FcmMessageListenerService: onMessageReceived with data {persistedId=6682ba8b66ae6fc354e2c86f, icon=, type=notification, timestamp=Mon Jul 01 2024 16:17:47 GMT+0200 (Central European Summer Time), notificationId=180692317, severity=}
--------- beginning of crash
07-01 15:17:46.756 19122 20245 E AndroidRuntime: FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
07-01 15:17:46.756 19122 20245 E AndroidRuntime: Process: org.openhab.habdroid, PID: 19122
07-01 15:17:46.756 19122 20245 E AndroidRuntime: java.lang.NumberFormatException: For input string: "Mon Jul 01 2024 16:17:47 GMT+0200 (Central European Summer Time)"
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at java.lang.Long.parseLong(Long.java:594)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at java.lang.Long.parseLong(Long.java:636)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at org.openhab.habdroid.core.FcmMessageListenerService.onMessageReceived(Unknown Source:94)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.firebase.messaging.FirebaseMessagingService.dispatchMessage(Unknown Source:66)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.firebase.messaging.FirebaseMessagingService.passMessageIntentToSdk(Unknown Source:119)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.firebase.messaging.FirebaseMessagingService.handleMessageIntent(Unknown Source:12)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(Unknown Source:66)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.firebase.messaging.EnhancedIntentService.lambda$processIntent$0(Unknown Source:1)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.firebase.messaging.EnhancedIntentService.$r8$lambda$9b4qTh6k1amVzUe1kAE6oojA2-8(SourceFile:0)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.firebase.messaging.EnhancedIntentService$$ExternalSyntheticLambda1.run(SourceFile:0)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
07-01 15:17:46.756 19122 20245 E AndroidRuntime: at java.lang.Thread.run(Thread.java:923)

from openhab-android.

MarcR2000 avatar MarcR2000 commented on August 15, 2024

It's now working again. Maybe it was a server side problem?

from openhab-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.