Umang17 / softkeyboard

Automatically exported from code.google.com/p/softkeyboard
0 stars 0 forks source link

Dictionary override leads to stopped unexpectedly message #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select Russian in Keyboards
2. In test text field select Russian keyboard layout
3. Long tap Enter for keyboard settings -> Override default dictionary
4. Select Russian as override for Russian dictionary
5. AnySoftKeyboard closes with  stopped unexpectedly message

What is the expected output? What do you see instead?

If I try to select Russian keyboard layout after that application always
closes with stopped unexpectedly message. Only reinstall helps.

What version of the product are you using? On what operating system?

AnySoftKeyboard 20100122, Android 1.5, HTC Hero

Original issue reported on code.google.com by dsuk...@gmail.com on 25 Jan 2010 at 8:59

GoogleCodeExporter commented 9 years ago
 AnySoftKeyboard latest from Market or from here. Samsung 5700 Spica, Android 1.5. 

Original comment by Partos...@gmail.com on 26 Jan 2010 at 2:16

GoogleCodeExporter commented 9 years ago

Original comment by menn...@gmail.com on 31 Jan 2010 at 10:53

GoogleCodeExporter commented 9 years ago
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): Custom volume un-checked.
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): **** handleConfigurationChange:
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mChangeKeysMode: None
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mSmileyText: :-)
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mDomainText: .com
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mShowKeyPreview: true
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mSwitchKeyboardOnSpace: true
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mUseFullScreenInput: true
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mUseKeyRepeat: true
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mKeysHeightFactorInPortrait: 
1.05
01-31 12:52:04.168 I/AnySoftKeyboard( 8980): ** mKeysHeightFactorInLandscape: 
0.85
01-31 12:52:04.168 D/AnySoftKeyboard( 8980): Forcing make Keyboards
01-31 12:52:04.168 D/AnySoftKeyboard( 8980): makeKeyboards: force:true
01-31 12:52:04.178 I/AnySoftKeyboard( 8980): Creating keyboards. I have 30 
creators
01-31 12:52:04.178 D/AnySoftKeyboard( 8980): Factory provided creator: 
eng_keyboard
01-31 12:52:04.178 D/AnySoftKeyboard( 8980): Factory provided creator: 
heb_keyboard
01-31 12:52:04.178 D/AnySoftKeyboard( 8980): Factory provided creator: 
ru_keyboard
01-31 12:52:04.298 D/dalvikvm( 8980): GC freed 1932 objects / 143912 bytes in 
125ms
01-31 12:52:04.308 D/AnySoftKeyboard( 8980): About to create keyboard: 
ru_keyboard
01-31 12:52:04.348 D/AnySoftKeyboard( 8980): Starting parsing 
AnySoftKeyboardMetaData
01-31 12:52:04.348 D/AnySoftKeyboard( 8980): Finished parsing 
AnySoftKeyboardMetaData
01-31 12:52:04.348 D/AnySoftKeyboard( 8980): loadKeyboard result:
PrefString:ru_keyboard KeyboardName:רוסית IconResId:2130837522
DefaultDictionaryLanguage:null
01-31 12:52:04.348 I/AnySoftKeyboard( 8980): Done creating keyboard: 
רוסית, which is
LTR:true
01-31 12:52:04.368 D/AndroidRuntime( 8980): Shutting down VM
01-31 12:52:04.368 W/dalvikvm( 8980): threadid=3: thread exiting with uncaught
exception (group=0x4001e170)
01-31 12:52:04.368 E/AndroidRuntime( 8980): Uncaught handler: thread main 
exiting due
to uncaught exception
01-31 12:52:04.458 E/AndroidRuntime( 8980): java.lang.NullPointerException
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
com.menny.android.anysoftkeyboard.AnySoftKeyboard.getLanguageForKeyobard(AnySoft
Keyboard.java:1697)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
com.menny.android.anysoftkeyboard.AnySoftKeyboard.setMainDictionaryForCurrentKey
board(AnySoftKeyboard.java:1679)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
com.menny.android.anysoftkeyboard.AnySoftKeyboard.access$3(AnySoftKeyboard.java:
1665)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
com.menny.android.anysoftkeyboard.AnySoftKeyboard$2.onClick(AnySoftKeyboard.java
:1770)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertControll
er.java:884)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
android.widget.AdapterView.performItemClick(AdapterView.java:284)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
android.widget.ListView.performItemClick(ListView.java:3287)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
android.widget.AbsListView$PerformClick.run(AbsListView.java:1645)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
android.os.Handler.handleCallback(Handler.java:587)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
android.os.Handler.dispatchMessage(Handler.java:92)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at 
android.os.Looper.loop(Looper.java:123)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
android.app.ActivityThread.main(ActivityThread.java:4320)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
java.lang.reflect.Method.invokeNative(Native Method)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
java.lang.reflect.Method.invoke(Method.java:521)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
01-31 12:52:04.458 E/AndroidRuntime( 8980): at 
dalvik.system.NativeStart.main(Native
Method)
01-31 12:52:04.578 I/Process (  206): Sending signal. PID: 8980 SIG: 3
01-31 12:52:04.578 I/dalvikvm( 8980): threadid=7: reacting to signal 3
01-31 12:52:04.608 I/dalvikvm( 8980): Wrote stack trace to 
'/data/anr/traces.txt'
01-31 12:52:12.458 I/Process ( 8980): Sending signal. PID: 8980 SIG: 9
01-31 12:52:12.478 E/JavaBinder(  206): !!! FAILED BINDER TRANSACTION !!!
01-31 12:52:12.488 I/WindowManager(  206): WIN DEATH: Window{43ec0e58 
InputMethod
paused=false}
01-31 12:52:12.498 I/ActivityManager(  206): Process
com.menny.android.anysoftkeyboard (pid 8980) has died.
01-31 12:52:12.498 W/ActivityManager(  206): Scheduling restart of crashed 
service
com.menny.android.anysoftkeyboard/.SoftKeyboard in 5000ms
01-31 12:52:12.508 I/WindowManager(  206): WIN DEATH: Window{43ed8030
com.menny.android.anysoftkeyboard/com.menny.android.anysoftkeyboard.SoftKeyboard
Settings
paused=false}
01-31 12:52:12.518 I/WindowManager(  206): WIN DEATH: Window{43e72418
PopupWindow:43b98220 paused=false}
01-31 12:52:12.518 I/WindowManager(  206): WIN DEATH: Window{43e39630  
paused=false}
01-31 12:52:12.528 I/WindowManager(  206): WIN DEATH: Window{43f01b28
com.menny.android.anysoftkeyboard/com.menny.android.anysoftkeyboard.SoftKeyboard
Settings
paused=false}
01-31 12:52:12.568 W/UsageStats(  206): Unexpected resume of 
com.android.launcher
while already resumed in com.menny.android.anysoftkeyboard
01-31 12:52:12.758 I/ActivityManager(  206): Start proc
com.menny.android.anysoftkeyboard for service
com.menny.android.anysoftkeyboard/.SoftKeyboard: pid=16097 uid=10045 gids={}
01-31 12:52:12.768 W/InputManagerService(  206): Got RemoteException sending
setActive(false) notification to pid 8980 uid 10045

Original comment by menn...@gmail.com on 31 Jan 2010 at 10:54

GoogleCodeExporter commented 9 years ago
Please verify:
http://softkeyboard.googlecode.com/files/anysoftkeyboard_20100201.apk

Original comment by menn...@gmail.com on 1 Feb 2010 at 2:37

GoogleCodeExporter commented 9 years ago
Override is working. Tested on version 20100201. I have tried to override 
Russian 
dictionary to different language and then cleared created override with by 
selecting 
Default in dictionary override. No more crashes.

Original comment by dsuk...@gmail.com on 1 Feb 2010 at 2:59

GoogleCodeExporter commented 9 years ago

Original comment by menn...@gmail.com on 1 Feb 2010 at 7:02