Autore Topic: Thread errore  (Letto 1057 volte)

Offline mimmog

  • Utente senior
  • ****
  • Post: 731
  • Respect: +11
    • MisterX_Dev
    • Mostra profilo
  • Dispositivo Android:
    Galaxy Note e Galaxy Nexus
  • Play Store ID:
    MisterX_Dev
  • Sistema operativo:
    Windows 7
Thread errore
« il: 22 Maggio 2011, 23:15:56 CEST »
0
Qualcuno mi sà dire da cosa può essere originato questo errore ? In pratica in eclipse quando vado avanti nella modalità debug con F6 alla fine dell'handler mi esce un nuova tab che si chiama Handler.class nel quale c'è scritto

Codice: [Seleziona]
// Compiled from Handler.java (version 1.5 : 49.0, super bit)
public class android.os.Handler {
 
  // Method descriptor #11 ()V
  // Stack: 3, Locals: 1
  public Handler();
     0  aload_0 [this]
     1  invokespecial java.lang.Object() [1]
     4  new java.lang.RuntimeException [2]
     7  dup
     8  ldc <String "Stub!"> [3]
    10  invokespecial java.lang.RuntimeException(java.lang.String) [4]
    13  athrow
      Line numbers:
        [pc: 0, line: 8]
      Local variable table:
        [pc: 0, pc: 14] local: this index: 0 type: android.os.Handler
 
  // Method descriptor #17 (Landroid/os/Handler$Callback;)V
  // Stack: 3, Locals: 2
  public Handler(android.os.Handler.Callback callback);
     0  aload_0 [this]
     1  invokespecial java.lang.Object() [1]
     4  new java.lang.RuntimeException [2]
     7  dup
     8  ldc <String "Stub!"> [3]
    10  invokespecial java.lang.RuntimeException(java.lang.String) [4]
    13  athrow
      Line numbers:
        [pc: 0, line: 9]
      Local variable table:
        [pc: 0, pc: 14] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 14] local: callback index: 1 type: android.os.Handler.Callback
 
  // Method descriptor #20 (Landroid/os/Looper;)V
  // Stack: 3, Locals: 2
  public Handler(android.os.Looper looper);
     0  aload_0 [this]
     1  invokespecial java.lang.Object() [1]
     4  new java.lang.RuntimeException [2]
     7  dup
     8  ldc <String "Stub!"> [3]
    10  invokespecial java.lang.RuntimeException(java.lang.String) [4]
    13  athrow
      Line numbers:
        [pc: 0, line: 10]
      Local variable table:
        [pc: 0, pc: 14] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 14] local: looper index: 1 type: android.os.Looper
 
  // Method descriptor #23 (Landroid/os/Looper;Landroid/os/Handler$Callback;)V
  // Stack: 3, Locals: 3
  public Handler(android.os.Looper looper, android.os.Handler.Callback callback);
     0  aload_0 [this]
     1  invokespecial java.lang.Object() [1]
     4  new java.lang.RuntimeException [2]
     7  dup
     8  ldc <String "Stub!"> [3]
    10  invokespecial java.lang.RuntimeException(java.lang.String) [4]
    13  athrow
      Line numbers:
        [pc: 0, line: 11]
      Local variable table:
        [pc: 0, pc: 14] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 14] local: looper index: 1 type: android.os.Looper
        [pc: 0, pc: 14] local: callback index: 2 type: android.os.Handler.Callback
 
  // Method descriptor #25 (Landroid/os/Message;)V
  // Stack: 3, Locals: 2
  public void handleMessage(android.os.Message msg);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 12]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: msg index: 1 type: android.os.Message
 
  // Method descriptor #25 (Landroid/os/Message;)V
  // Stack: 3, Locals: 2
  public void dispatchMessage(android.os.Message msg);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 13]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: msg index: 1 type: android.os.Message
 
  // Method descriptor #30 ()Landroid/os/Message;
  // Stack: 3, Locals: 1
  public final android.os.Message obtainMessage();
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 14]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
 
  // Method descriptor #31 (I)Landroid/os/Message;
  // Stack: 3, Locals: 2
  public final android.os.Message obtainMessage(int what);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 15]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
 
  // Method descriptor #34 (ILjava/lang/Object;)Landroid/os/Message;
  // Stack: 3, Locals: 3
  public final android.os.Message obtainMessage(int what, java.lang.Object obj);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 16]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
        [pc: 0, pc: 10] local: obj index: 2 type: java.lang.Object
 
  // Method descriptor #37 (III)Landroid/os/Message;
  // Stack: 3, Locals: 4
  public final android.os.Message obtainMessage(int what, int arg1, int arg2);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 17]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
        [pc: 0, pc: 10] local: arg1 index: 2 type: int
        [pc: 0, pc: 10] local: arg2 index: 3 type: int
 
  // Method descriptor #40 (IIILjava/lang/Object;)Landroid/os/Message;
  // Stack: 3, Locals: 5
  public final android.os.Message obtainMessage(int what, int arg1, int arg2, java.lang.Object obj);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 18]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
        [pc: 0, pc: 10] local: arg1 index: 2 type: int
        [pc: 0, pc: 10] local: arg2 index: 3 type: int
        [pc: 0, pc: 10] local: obj index: 4 type: java.lang.Object
 
  // Method descriptor #42 (Ljava/lang/Runnable;)Z
  // Stack: 3, Locals: 2
  public final boolean post(java.lang.Runnable r);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 19]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: r index: 1 type: java.lang.Runnable
 
  // Method descriptor #46 (Ljava/lang/Runnable;J)Z
  // Stack: 3, Locals: 4
  public final boolean postAtTime(java.lang.Runnable r, long uptimeMillis);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 20]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: r index: 1 type: java.lang.Runnable
        [pc: 0, pc: 10] local: uptimeMillis index: 2 type: long
 
  // Method descriptor #49 (Ljava/lang/Runnable;Ljava/lang/Object;J)Z
  // Stack: 3, Locals: 5
  public final boolean postAtTime(java.lang.Runnable r, java.lang.Object token, long uptimeMillis);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 21]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: r index: 1 type: java.lang.Runnable
        [pc: 0, pc: 10] local: token index: 2 type: java.lang.Object
        [pc: 0, pc: 10] local: uptimeMillis index: 3 type: long
 
  // Method descriptor #46 (Ljava/lang/Runnable;J)Z
  // Stack: 3, Locals: 4
  public final boolean postDelayed(java.lang.Runnable r, long delayMillis);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 22]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: r index: 1 type: java.lang.Runnable
        [pc: 0, pc: 10] local: delayMillis index: 2 type: long
 
  // Method descriptor #42 (Ljava/lang/Runnable;)Z
  // Stack: 3, Locals: 2
  public final boolean postAtFrontOfQueue(java.lang.Runnable r);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 23]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: r index: 1 type: java.lang.Runnable
 
  // Method descriptor #55 (Ljava/lang/Runnable;)V
  // Stack: 3, Locals: 2
  public final void removeCallbacks(java.lang.Runnable r);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 24]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: r index: 1 type: java.lang.Runnable
 
  // Method descriptor #56 (Ljava/lang/Runnable;Ljava/lang/Object;)V
  // Stack: 3, Locals: 3
  public final void removeCallbacks(java.lang.Runnable r, java.lang.Object token);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 25]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: r index: 1 type: java.lang.Runnable
        [pc: 0, pc: 10] local: token index: 2 type: java.lang.Object
 
  // Method descriptor #58 (Landroid/os/Message;)Z
  // Stack: 3, Locals: 2
  public final boolean sendMessage(android.os.Message msg);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 26]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: msg index: 1 type: android.os.Message
 
  // Method descriptor #60 (I)Z
  // Stack: 3, Locals: 2
  public final boolean sendEmptyMessage(int what);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 27]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
 
  // Method descriptor #62 (IJ)Z
  // Stack: 3, Locals: 4
  public final boolean sendEmptyMessageDelayed(int what, long delayMillis);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 28]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
        [pc: 0, pc: 10] local: delayMillis index: 2 type: long
 
  // Method descriptor #62 (IJ)Z
  // Stack: 3, Locals: 4
  public final boolean sendEmptyMessageAtTime(int what, long uptimeMillis);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 29]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
        [pc: 0, pc: 10] local: uptimeMillis index: 2 type: long
 
  // Method descriptor #65 (Landroid/os/Message;J)Z
  // Stack: 3, Locals: 4
  public final boolean sendMessageDelayed(android.os.Message msg, long delayMillis);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 30]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: msg index: 1 type: android.os.Message
        [pc: 0, pc: 10] local: delayMillis index: 2 type: long
 
  // Method descriptor #65 (Landroid/os/Message;J)Z
  // Stack: 3, Locals: 4
  public boolean sendMessageAtTime(android.os.Message msg, long uptimeMillis);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 31]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: msg index: 1 type: android.os.Message
        [pc: 0, pc: 10] local: uptimeMillis index: 2 type: long
 
  // Method descriptor #58 (Landroid/os/Message;)Z
  // Stack: 3, Locals: 2
  public final boolean sendMessageAtFrontOfQueue(android.os.Message msg);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 32]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: msg index: 1 type: android.os.Message
 
  // Method descriptor #69 (I)V
  // Stack: 3, Locals: 2
  public final void removeMessages(int what);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 33]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
 
  // Method descriptor #70 (ILjava/lang/Object;)V
  // Stack: 3, Locals: 3
  public final void removeMessages(int what, java.lang.Object object);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 34]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
        [pc: 0, pc: 10] local: object index: 2 type: java.lang.Object
 
  // Method descriptor #73 (Ljava/lang/Object;)V
  // Stack: 3, Locals: 2
  public final void removeCallbacksAndMessages(java.lang.Object token);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 35]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: token index: 1 type: java.lang.Object
 
  // Method descriptor #60 (I)Z
  // Stack: 3, Locals: 2
  public final boolean hasMessages(int what);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 36]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
 
  // Method descriptor #75 (ILjava/lang/Object;)Z
  // Stack: 3, Locals: 3
  public final boolean hasMessages(int what, java.lang.Object object);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 37]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: what index: 1 type: int
        [pc: 0, pc: 10] local: object index: 2 type: java.lang.Object
 
  // Method descriptor #77 ()Landroid/os/Looper;
  // Stack: 3, Locals: 1
  public final android.os.Looper getLooper();
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 38]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
 
  // Method descriptor #79 (Landroid/util/Printer;Ljava/lang/String;)V
  // Stack: 3, Locals: 3
  public final void dump(android.util.Printer pw, java.lang.String prefix);
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 39]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler
        [pc: 0, pc: 10] local: pw index: 1 type: android.util.Printer
        [pc: 0, pc: 10] local: prefix index: 2 type: java.lang.String
 
  // Method descriptor #85 ()Ljava/lang/String;
  // Stack: 3, Locals: 1
  public java.lang.String toString();
     0  new java.lang.RuntimeException [2]
     3  dup
     4  ldc <String "Stub!"> [3]
     6  invokespecial java.lang.RuntimeException(java.lang.String) [4]
     9  athrow
      Line numbers:
        [pc: 0, line: 40]
      Local variable table:
        [pc: 0, pc: 10] local: this index: 0 type: android.os.Handler

  Inner classes:
    [inner class info: #7 android/os/Handler$Callback, outer class info: #5 android/os/Handler
     inner name: #8 Callback, accessflags: 1545 public abstract static]
}

ma che vuol dire ???  ???

Offline 7h38ugg3r

  • Moderatore globale
  • Utente storico
  • *****
  • Post: 1200
  • Respect: +133
    • riccardofischetti
    • th38ugg3r
    • @7h38ugg3r
    • Mostra profilo
  • Dispositivo Android:
    Galaxy-S GT I-9000/ ASUS Eee Pad Transformer
  • Play Store ID:
    Riccardo Fischetti
  • Sistema operativo:
    OS X Lion / Linux Mint 11 (Katya)
Re:Thread errore
« Risposta #1 il: 23 Maggio 2011, 10:43:46 CEST »
0
che stai andando in debug in classi delle quali non hai il sorgente......
Devi fare uno step over, e non uno step intro.....
7h38ugg3r<=>thebugger
Non conosci Java? Allora sei nel posto sbagliato!

http://www.androidpatterns.com/

Offline mimmog

  • Utente senior
  • ****
  • Post: 731
  • Respect: +11
    • MisterX_Dev
    • Mostra profilo
  • Dispositivo Android:
    Galaxy Note e Galaxy Nexus
  • Play Store ID:
    MisterX_Dev
  • Sistema operativo:
    Windows 7
Re:Thread errore
« Risposta #2 il: 23 Maggio 2011, 10:51:25 CEST »
0
Ah ok...quindi per questo l'applicazione non mi va in blocco...meglio così grazie ;)