DalvikVm crash While starting Wifi service

by >> JJ » Tue, 30 Dec 2008 21:30:14 GMT


Sponsored Links
 i all,

Could some one help me with the below error logs.. I am running
Android on a PXA platform with a custom wifi driver. when I try to
invoke Wifi Manager from settings, the GUI crashes. I am attaching the
logs below..

Thanks in Advance..
--------------------------------------------------------------------------------------

I/ActivityManager( 713): Starting activity: Intent {

action=android.intent.action.MAIN comp=

{com.android.settings/com.android.settings.wifi.WifiSettings} }
V/WifiMonitor( 713): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 713): Changing supplicant state: INACTIVE ==>
SCANNING
D/SettingsWifiEnabler( 882): Received wifi state changed from
Enabling to

Enabled
I/ActivityManager( 713): Displayed activity

com.android.settings/.wifi.WifiSettings: 369 ms
V/WifiMonitor( 713): Event [CTRL-EVENT-SCAN-RESULTS Ready]
D/LocationManagerService( 713): NetworkStateBroadcastReceiver: WiFi
debug

point 1
W/dalvikvm( 713): threadid=15: thread exiting with uncaught
exception

(group=0x40013e28)
E/AndroidRuntime( 713): Uncaught handler: thread
android.server.ServerThread

exiting due to uncaught exception
E/AndroidRuntime( 713): *** EXCEPTION IN SYSTEM PROCESS. System will
crash.
E/AndroidRuntime( 713): java.lang.RuntimeException: Error receiving
broadcast

Intent { action=android.net.wifi.SCAN_RESULTS } in

com.android.server.LocationManagerService
$networkstatebroadcastrecei...@435c8a

90
E/AndroidRuntime( 713): at

android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run

(ActivityThread.java:667)
E/AndroidRuntime( 713): at android.os.Handler.handleCallback

(Handler.java:542)
E/AndroidRuntime( 713): at android.os.Handler.dispatchMessage

(Handler.java:86)
E/AndroidRuntime( 713): at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime( 713): at com.android.server.ServerThread.run

(SystemServer.java:313)
E/AndroidRuntime( 713): Caused by:
java.lang.IllegalArgumentException:

key.length > 31
E/AndroidRuntime( 713): at android.os.SystemProperties.get

(SystemProperties.java:42)
E/AndroidRuntime( 713): at

com.android.internal.location.LocationCollector.isCollectionEnabled

(LocationCollector.java:360)
E/AndroidRuntime( 713): at

com.android.internal.location.LocationCollector.updateWifiScanResults

(LocationCollector.java:259)
E/AndroidRuntime( 713): at

com.android.server.LocationManagerService
$NetworkStateBroadcastReceiver.onRece

ive(LocationManagerService.java:1540)
E/AndroidRuntime( 713): at

android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run

(ActivityThread.java:656)
E/AndroidRuntime( 713): ... 4 more
I/Process ( 713): Sending signal. PID: 713 SIG: 9
I/ServiceManager( 652): service 'SurfaceFlinger' died
I/ActivityThread( 863): Removing dead content provider: settings
I/ActivityThread( 781): Removing dead content provider: settings
I/ActivityThread( 773): Removing dead content provider: settings
I/ServiceManager( 652): service 'power' died
I/ServiceManager( 652): service 'telephony.registry' died
I/ServiceManager( 652): service 'package' died
I/ServiceManager( 652): service 'activity' died
I/ServiceManager( 652): service 'batteryinfo' died
I/ServiceManager( 652): service 'meminfo' died
I/ServiceManager( 652): service 'content' died
I/ServiceManag



Other Threads

1. Android 2.3: eclipse reporting "Unable to execute dex: null"

I upgraded to the 2.3 SDK and have hit a problem I can't resolve.

First I updated the android plugins for eclipse (3.5.2) to the new
version (8.0.0.v201011171904-77661). Then I used the SDK manager
within eclipse to install the Android SDK 2.3 API 9 package, its
documentation, and the Android SDK platform tools revision 1.

On restarting eclipse I found that every non-library android project
was reporting the same error:

[2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null
[2010-12-06 21:58:32 -                 ] Conversion to Dalvik format
failed: Unable to execute dex: null

I have tried cleaning the projects, reinstalling the plugins and
changing the declared SDK location. I have confirmed that eclipse has
the latest plugin, that the platform-tools directory exists, as does
the platforms/android-9 directory, and that they contain the correct
files. I switched the plugin into "verbose" for building, but can't
see anything remotely suspicious. I can even run dx manually on the
project bin directory and produce a classes.dex file.

I'm stumped, does anyone have any ideas?

This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6
1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode)

-- 

2. computer applications

http://123maza.com/35/market158/

-- 

3. Can i use Android SDK with eclipse plugin for debugging Drivers?

4. StrictMode

5. IMediaPlaybackService and gingerbread

6. MediaController.MediaPlayerControl for audio

7. Free version to Paid version