Comments (3)
https://community.openhab.org/t/android-app-crashes-when-a-push-notification-arrives/156954/7
from openhab-android.
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.
It's now working again. Maybe it was a server side problem?
from openhab-android.
Related Issues (20)
- Release version 3.15 HOT 6
- Identical icons shown differently HOT 3
- Navigation bar is dark in light theme
- Enhanced Actions onClickAction ui and https not working HOT 10
- Sitemaps Input widget strips off `[]` characters HOT 2
- Item command from Tiles (Quick Settings) and Notifications doesn't retrive status (latest version only : 3.15.2)
- Control Main UI via command item HOT 1
- hideNotification ByReferenceId crashes app Notification Overview HOT 1
- White temporary placeholders used in dark mode HOT 1
- Action Notifications mediaAttachmentUrl not fully working
- Image / chart glitches if reused HOT 1
- 'Switch with mappings' icon misplaced HOT 3
- Network connection cannot be established by retrying, OH-Android has to be killed and started again HOT 1
- Crash in HttpClient$method$2$2.onFailure HOT 1
- Some notifications aren't dismissed when the action is clicked HOT 1
- Strange issue with switch mapping text
- Icons misplaced HOT 6
- Release version 3.16
- Enhanced Actions onClickAction ui :Main UI Popup" not working HOT 2
- Rollershutter slider has incorrect value HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-android.