Cannot boot my ADP1 - IllegalArgumentException

by Naganuma » Tue, 06 Jan 2009 01:27:04 GMT


Sponsored Links
 Hello.

My ADP1 (Android Dev Phone 1) cannot boot up.
The screen is blank, with any operation.

I had connected ADP1 to my PC by USB, and had performed 'adb logcat'
command.
That contained a following exception.

E/AndroidRuntime(   55): java.lang.IllegalArgumentException: Layout:
-10 < 0
E/AndroidRuntime(   55):        at android.text.Layout.<init>(Layout.java:
85)
E/AndroidRuntime(   55):        at android.text.StaticLayout.<init>
(StaticLayout.java:63)
E/AndroidRuntime(   55):        at android.text.StaticLayout.<init>
(StaticLayout.java:53)
E/AndroidRuntime(   55):        at android.text.StaticLayout.<init>
(StaticLayout.java:44)
E/AndroidRuntime(   55):        at com.android.server.status.Ticker
$Segment.getLayout(Ticker.java:37)
E/AndroidRuntime(   55):        at com.android.server.status.Ticker
$Segment.getText(Ticker.java:56)
E/AndroidRuntime(   55):        at com.android.server.status.Ticker.addEntry
(Ticker.java:174)
E/AndroidRuntime(   55):        at
com.android.server.status.StatusBarService.performAddUpdateIcon
(StatusBarService.java:673)
E/AndroidRuntime(   55):        at com.android.server.status.StatusBarService
$H.handleMessage(StatusBarService.java:605)
E/AndroidRuntime(   55):        at android.os.Handler.dispatchMessage
(Handler.java:88)
E/AndroidRuntime(   55):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(   55):        at com.android.server.ServerThread.run
(SystemServer.java:313)

I tried to hard-reset my ADP1, but the situation did not change.
(Home+Power -> alt+w)

I found a source code which causes the exception.
But the reason is unknown.

 http://www.google.com/codesearch/p #uX1GffpyOZk/core/java/android/text/Layout.java&l=85

Please help me.
Thank you.
--
Naganuma Tatsumi

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android native and Dalvik performance compare

Below is a simple bench between Navive C and Dalvik Java, which is
collected from Android SDK 1.1.

                                Dalvik(ms)                  Native(ms)
 1+2+...1000000           500                             46
 1*2*...1000000             530                             49


Source code of Dalvik Java:
        startTimeMillis = System.currentTimeMillis();
        for (i = 1; i <= 1000000; i++){
            s += i;  // or s *= i;
        }
        endTimeMillis = System.currentTimeMillis();


Source code of native c
 clock_gettime(CLOCK_MONOTONIC, &tpstart);
  for (i = 1; i <= 1000000; i++)
  {
      s += i; // or s *= i;
  }
  clock_gettime(CLOCK_MONOTONIC, &tpend);

--~--~---------~--~----~------------~-------~--~----~

2. How many projects are being canned because of Market T&Cs

Well, after a meeting of the directors, my company has just decided to 
shelve a project that was in development due to the short commings of 
Market and it's T&Cs.

The project was going to offer a subscription service and would have met 
the all the criteria for being listed on Market, but Market clearly 
can't handle subscription services. We considered the 
app-per-subscription period approach but that would mean that Google 
would have a claim to 30% of all subscription fees and because the 
subscription fees were planned to be less than $10 per billing period 
Google would also have the right to refund a users subscription fee at 
any time without consulting us.

So I'd be interested to know who else is in this boat because I think 
it's something that Google need to be made aware of so that can start 
addressing the problem.

Al.

-- 
======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~

3. how to stretch texture

4. Distinguishing an OEM app from other apps

5. Solved: WebView: Passing JSON from Java to JavaScript

6. We should have 'categories' for the app launcher screen!

7. Fwd: Keyboard support in cupcake