tonyxx7 / klaxon

Automatically exported from code.google.com/p/klaxon
Apache License 2.0
0 stars 0 forks source link

Force Close When Receiving Text #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Send text to self with activation string.

What is the expected output? What do you see instead?
Alarm, receiving force close

What version of the product are you using? On what operating system?
Klaxon 0.24 with Android 2.3.3 on HTC Evo

Please provide any additional information below.

Error log is as follows:

08-08 02:05:45.679 D/SmsPageReceiver( 1696): fetching messages...
08-08 02:05:45.709 D/SmsPageReceiver( 1696): using Standard pageparser
08-08 02:05:45.709 D/SmsPageReceiver( 1696): from: ((REDACTED))
08-08 02:05:45.709 D/SmsPageReceiver( 1696): display from: ((REDACTED))
08-08 02:05:45.709 D/SmsPageReceiver( 1696): subject: TEST
08-08 02:05:45.709 D/SmsPageReceiver( 1696): body: TEST
08-08 02:05:45.709 D/SmsPageReceiver( 1696): Trigger: test
08-08 02:05:45.709 D/SmsPageReceiver( 1696): sender: ((REDACTED))
08-08 02:05:45.709 D/SmsPageReceiver( 1696): from_addr: ((REDACTED))
08-08 02:05:45.719 D/PagerProvider( 1696): Got row id: 1
08-08 02:05:45.719 D/SmsPageReceiver( 1696): new message inserted.
08-08 02:05:45.719 D/SmsPageReceiver( 1696): sent intent Intent { 
act=org.nerdcircus.android.klaxon.PAGE_RECEIVED 
dat=content://org.nerdcircus.android.klaxon/pages/1 }
08-08 02:05:45.719 D/SmsPageReceiver( 1696): sms broadcast aborted.
08-08 02:05:45.729 D/KlaxonNotifier( 1696): new page received. notifying.
08-08 02:05:45.739 D/StatusBarService(  239): addNotification notification = 
StatusBarNotification(package=org.nerdcircus.android.klaxon id=2131165187 
tag=null 
notification=Notification(vibrate=[0,800,500,800],sound=null,defaults=0x0,flags=
0x11)), key = android.os.BinderProxy@4063b478, fullScreenIntent = null, 
contentIntent = PendingIntent{4063b638: android.os.BinderProxy@4063b600}
08-08 02:05:45.749 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/amber/brightness string=0,len=1
08-08 02:05:45.749 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/amber/blink string=0,len=1
08-08 02:05:45.749 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/amber/off_timer string=0 0,len=3
08-08 02:05:45.749 V/NotificationService(  127): dual Led for notification
08-08 02:05:45.759 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/green/brightness string=1,len=1
08-08 02:05:45.759 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/green/blink string=3,len=1
08-08 02:05:45.759 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/green/off_timer string=5 0,len=3
08-08 02:05:45.759 V/AgentService_J(  241): 
Action[318]:com.htc.android.iqagent.action.ui15
08-08 02:05:45.759 I/HTC_SUBMITTER_C(  241): (0) submitUI15:1156888975,0
08-08 02:05:45.759 V/AgentService_J(  241): 
(0)ui15_dwAppID:1156888975,ui15_shStatus:0
08-08 02:05:45.759 I/WindowManager(  127): WIN DEATH: Window{40aba9f8 
com.android.settings/com.android.settings.framework.activity.HtcSettings 
paused=false}
08-08 02:05:45.769 I/WindowManager(  127): WIN DEATH: Window{40ae1260 
com.android.settings/com.android.settings.ApplicationSettings paused=false}
08-08 02:05:45.769 I/WindowManager(  127): WIN DEATH: Window{40b1c188 
com.android.settings/com.android.settings.ManageApplications paused=false}
08-08 02:05:45.779 I/LSState (  127): 
EventReceiver:android.intent.action.NOTIFICATION_ADD
08-08 02:05:45.779 D/KlaxonNotifier( 1696): notifcation interval: 20000
08-08 02:05:45.779 D/KlaxonNotifier( 1696): notifcation interval: 20000
08-08 02:05:45.789 E/StatusBarService(  239): couldn't inflate view for 
notification org.nerdcircus.android.klaxon/0x7f070003
08-08 02:05:45.789 E/StatusBarService(  239): android.view.InflateException: 
Binary XML file line #13: Error inflating class android.widget.EditText
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.view.LayoutInflater.createView(LayoutInflater.java:518)
08-08 02:05:45.789 E/StatusBarService(  239): at 
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInf
later.java:56)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.view.LayoutInflater.inflate(LayoutInflater.java:408)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.widget.RemoteViews.apply(RemoteViews.java:939)
08-08 02:05:45.789 E/StatusBarService(  239): at 
com.android.systemui.statusbar.StatusBarService.makeNotificationView(StatusBarSe
rvice.java:757)
08-08 02:05:45.789 E/StatusBarService(  239): at 
com.android.systemui.statusbar.StatusBarService.addNotificationViews(StatusBarSe
rvice.java:803)
08-08 02:05:45.789 E/StatusBarService(  239): at 
com.android.systemui.statusbar.StatusBarService.addNotification(StatusBarService
.java:557)
08-08 02:05:45.789 E/StatusBarService(  239): at 
com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:18
8)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.os.Handler.dispatchMessage(Handler.java:99)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.os.Looper.loop(Looper.java:143)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.app.ActivityThread.main(ActivityThread.java:4263)
08-08 02:05:45.789 E/StatusBarService(  239): at 
java.lang.reflect.Method.invokeNative(Native Method)
08-08 02:05:45.789 E/StatusBarService(  239): at 
java.lang.reflect.Method.invoke(Method.java:507)
08-08 02:05:45.789 E/StatusBarService(  239): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-08 02:05:45.789 E/StatusBarService(  239): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-08 02:05:45.789 E/StatusBarService(  239): at 
dalvik.system.NativeStart.main(Native Method)
08-08 02:05:45.789 E/StatusBarService(  239): Caused by: 
android.view.InflateException: Binary XML file line #13: Class not allowed to 
be inflated android.widget.EditText
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.view.LayoutInflater.failNotAllowed(LayoutInflater.java:530)
08-08 02:05:45.789 E/StatusBarService(  239): at 
android.view.LayoutInflater.createView(LayoutInflater.java:477)
08-08 02:05:45.789 E/StatusBarService(  239): ... 18 more
08-08 02:05:45.789 W/StatusBarService(  239): removeNotification for unknown 
key: android.os.BinderProxy@4063b478
08-08 02:05:45.789 D/NotificationService(  127): onNotification error 
pkg=org.nerdcircus.android.klaxon tag=null id=2131165187; will 
crashApplication(uid=10110, pid=1696)
08-08 02:05:45.789 V/NotificationService(  127): dual Led off
08-08 02:05:45.799 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/amber/brightness string=0,len=1
08-08 02:05:45.799 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/amber/blink string=0,len=1
08-08 02:05:45.809 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/amber/off_timer string=0 0,len=3
08-08 02:05:45.809 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/green/brightness string=0,len=1
08-08 02:05:45.819 V/AgentService_J(  241): 
Action[319]:com.htc.android.iqagent.action.ui08
08-08 02:05:45.819 I/HTC_SUBMITTER_C(  241): actionUI08 metric:6, 2
08-08 02:05:45.819 V/AgentService_J(  241): (0)ASU, TECH:6, 2
08-08 02:05:45.819 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/green/blink string=0,len=1
08-08 02:05:45.819 D/lights  (  127): [LedInfo] write attr ok 
name=/sys/class/leds/green/off_timer string=0 0,len=3
08-08 02:05:45.829 I/LSState (  127): 
EventReceiver:android.intent.action.NOTIFICATION_REMOVE
08-08 02:05:45.829 D/NotificationService(  127): cancelNotification, 
ACTION_NOTIFICATION_REMOVE,pkg=org.nerdcircus.android.klaxon,id=2131165187
08-08 02:05:45.829 W/StatusBarService(  239): removeNotification for unknown 
key: android.os.BinderProxy@4063b478
08-08 02:05:45.829 D/StatusBarPolicy(  239): onSignalStrengthsChanged
08-08 02:05:45.829 D/StatusBarPolicy(  239): iconIndex=1
08-08 02:05:45.829 V/StatusBarPolicy(  239): cdmaLevel:6;max:6
08-08 02:05:45.829 D/StatusBarPolicy(  239): iconLevel:6
08-08 02:05:45.829 D/StatusBarService(  239): updateIcon slot=phone_signal 
index=20 viewIndex=15 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020012 
level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui 
id=0x7f020012 level=0 visible=true num=0 )
08-08 02:05:45.839 I/HtcLockScreen(  127): onRefreshCarrierInfo
08-08 02:05:45.839 I/HtcLockScreen(  127): -----refreshCarrierInfo 
plmn=Sprint,spn=null, service=0
08-08 02:05:45.839 I/HtcLockScreen(  127): -----refreshViewsWhetherSimOk ----- 
mSimState:READY mIsCDMA:true
08-08 02:05:45.839 I/HtcLockScreen(  127): updateStatusViewByPriority, 
mIsSimCheckView = false, mIsBatteryInfo = false, mIsMusicPlaying = false, 
mIsAirPlaneMode = false
08-08 02:05:45.839 D/AndroidRuntime( 1696): Shutting down VM
08-08 02:05:45.839 W/dalvikvm( 1696): threadid=1: thread exiting with uncaught 
exception (group=0x4001d5a0)
08-08 02:05:45.839 I/TelephonyRegistry(  127): notifyServiceState: 0 home 
Sprint Sprint 31000  EvDo rev. A CSS supported 1 4812RoamInd: 128DefRoamInd: 
1EriInd: 1EriMode: 0RadioPowerSv: falseEmergOnly: false
08-08 02:05:45.839 W/CarrierLabel(  239): updateNetworkNameExt: mSimState = 
UNKNOWN
08-08 02:05:45.849 V/CarrierLabel(  239): Cdma ROAMING_INDICATOR_OFF, removing 
ERI icon
08-08 02:05:45.849 D/StatusBarPolicy(  239): iconIndex=1
08-08 02:05:45.849 V/StatusBarPolicy(  239): cdmaLevel:6;max:6
08-08 02:05:45.849 D/StatusBarPolicy(  239): iconLevel:6
08-08 02:05:45.869 D/StatusBarPolicy(  239): hasService()=true ,mDataState=0 
,mPhone.htcModemLinkOn()=false ,mDataActivity=0
08-08 02:05:45.869 D/StatusBarPolicy(  239): slotType[0]=empty
08-08 02:05:45.869 I/TelephonyRegistry(  127): notifyDataConnection: state=0 
isDataConnectivityPossible=true reason=null interfaceName=null networkType=6
08-08 02:05:45.869 D/TelephonyRegistry(  127): notifyDataConnection() 
state=0isDataConnectivityPossible()true, reason=null
08-08 02:05:45.869 D/TelephonyRegistry(  127): 
broadcastDataConnectionStateChanged()  state=DISCONNECTEDtypes=default, 
interfaceName=null
08-08 02:05:45.889 D/AutoSetting(  400): receiver - onReceive()
08-08 02:05:45.889 D/StatusBarService(  239): updateIcon slot=phone_signal 
index=20 viewIndex=15 old=StatusBarIcon(pkg=com.android.systemui id=0x7f020012 
level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui 
id=0x7f020012 level=0 visible=true num=0 )
08-08 02:05:45.899 D/AutoSetting(  400): receiver - intent: 
android.intent.action.SERVICE_STATE
08-08 02:05:45.899 D/StatusBarPolicy(  239): hasService()=true ,mDataState=0 
,mPhone.htcModemLinkOn()=false ,mDataActivity=0
08-08 02:05:45.899 D/StatusBarPolicy(  239): slotType[0]=empty
08-08 02:05:45.969 E/AndroidRuntime( 1696): FATAL EXCEPTION: main
08-08 02:05:45.969 E/AndroidRuntime( 1696): android.app.RemoteServiceException: 
Bad notification posted from package org.nerdcircus.android.klaxon: Couldn't 
expand RemoteViews for: 
StatusBarNotification(package=org.nerdcircus.android.klaxon id=2131165187 
tag=null 
notification=Notification(vibrate=[0,800,500,800],sound=null,defaults=0x0,flags=
0x11))
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
android.os.Handler.dispatchMessage(Handler.java:99)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
android.os.Looper.loop(Looper.java:143)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
android.app.ActivityThread.main(ActivityThread.java:4263)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
java.lang.reflect.Method.invokeNative(Native Method)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
java.lang.reflect.Method.invoke(Method.java:507)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-08 02:05:45.969 E/AndroidRuntime( 1696): at 
dalvik.system.NativeStart.main(Native Method)
08-08 02:05:45.979 D/AutoSetting(  400): receiver - flag: Service state 0
08-08 02:05:45.979 D/AutoSetting(  400): Util - getMCC() MCC: 310
08-08 02:05:45.979 D/AutoSetting(  400): receiver - current MCC: 310, user MCC: 
0
08-08 02:05:45.979 D/AutoSetting(  400): receiver - clear 
time_manual_set_timezone preference
08-08 02:05:45.989 D/AutoSetting(  400): service - onStartCommand() action: 
com.htc.app.autosetting.timezoneupdate
08-08 02:05:45.989 D/AutoSetting(  400): service - onStartCommand() Service 
state: 0
08-08 02:05:45.989 V/AgentService_J(  241): 
Action[320]:com.htc.android.iqagent.action.ui03
08-08 02:05:45.989 I/HTC_SUBMITTER_C(  241): (0) 
submitUI03:0,22,0,android.app.RemoteServiceException: Bad notification posted 
from package org.nerdcircus.android.klaxon: Couldn't expand RemoteViews for: 
StatusBarNotification(package=org.nerdcircus.android.klaxon id=2131165187 
tag=null 
notification=Notification(vibrate=[0,800,500,800],sound=null,defaults=0x0,flags=
0x11))
08-08 02:05:45.989 V/AgentService_J(  241): 
(0)ErrorCode:0,AppType:22,Level:0,Message:android.app.RemoteServiceException: 
Bad notification posted from package org.nerdcircus.android.klaxon: Couldn't 
expand RemoteViews for: 
StatusBarNotification(package=org.nerdcircus.android.klaxon id=2131165187 
tag=null 
notification=Notification(vibrate=[0,800,500,800],sound=null,defaults=0x0,flags=
0x11))

Original issue reported on code.google.com by mike...@gmail.com on 8 Aug 2011 at 7:13

GoogleCodeExporter commented 8 years ago
This appears to be related to issue 40, with a root cause of incorrect Resource 
generation. It should be fixed in version 25, which i have just pushed (after 
running the tests!).

apologies,

--marc.

Original comment by mun...@gmail.com on 8 Aug 2011 at 3:07