[aerogear-dev] PushApplication has stopped

Bruno Oliveira bruno at abstractj.org
Wed Sep 25 08:01:43 EDT 2013


Steps to reproduce + JIRAs or never happened, please.


On Wed, Sep 25, 2013 at 8:42 AM, vikassahay <vikas.sahay at bizruntime.com>wrote:

> 09-25 11:36:43.350: D/dalvikvm(1829): Not late-enabling CheckJNI (already
> on)
> 09-25 11:36:43.380: E/Trace(1829): error opening trace file: No such file
> or
> directory (2)
> 09-25 11:36:43.380: W/Trace(1829): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:43.380: W/Trace(1829): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:43.380: W/Trace(1829): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:43.390: W/Trace(1829): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:43.390: W/Trace(1829): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:43.450: W/Resources(1829): Converting to string:
> TypedValue{t=0x12/d=0x0 a=2 r=0x7f050005}
> 09-25 11:36:43.480: D/AndroidRuntime(1829): Shutting down VM
> 09-25 11:36:43.480: W/dalvikvm(1829): threadid=1: thread exiting with
> uncaught exception (group=0xb2d8c908)
> 09-25 11:36:43.480: E/AndroidRuntime(1829): FATAL EXCEPTION: main
> 09-25 11:36:43.480: E/AndroidRuntime(1829): java.lang.RuntimeException:
> Unable to start activity
>
> ComponentInfo{com.example.pushapplication/com.example.pushapplication.MainActivity}:
> java.lang.ClassCastException: android.app.Application cannot be cast to
> com.example.pushapplication.PushApplication
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.ActivityThread.access$600(ActivityThread.java:141)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.os.Looper.loop(Looper.java:137)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.ActivityThread.main(ActivityThread.java:5039)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> java.lang.reflect.Method.invoke(Method.java:511)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> dalvik.system.NativeStart.main(Native Method)
> 09-25 11:36:43.480: E/AndroidRuntime(1829): Caused by:
> java.lang.ClassCastException: android.app.Application cannot be cast to
> com.example.pushapplication.PushApplication
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> com.example.pushapplication.MainActivity.onCreate(MainActivity.java:25)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.Activity.performCreate(Activity.java:5104)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
> 09-25 11:36:43.480: E/AndroidRuntime(1829):     ... 11 more
> 09-25 11:36:56.980: E/Trace(1860): error opening trace file: No such file
> or
> directory (2)
> 09-25 11:36:56.980: W/Trace(1860): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:56.980: W/Trace(1860): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:56.980: W/Trace(1860): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:57.031: W/Trace(1860): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:57.031: W/Trace(1860): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:36:57.171: W/Resources(1860): Converting to string:
> TypedValue{t=0x12/d=0x0 a=2 r=0x7f050005}
> 09-25 11:36:57.211: D/AndroidRuntime(1860): Shutting down VM
> 09-25 11:36:57.211: W/dalvikvm(1860): threadid=1: thread exiting with
> uncaught exception (group=0xb2d8c908)
> 09-25 11:36:57.211: E/AndroidRuntime(1860): FATAL EXCEPTION: main
> 09-25 11:36:57.211: E/AndroidRuntime(1860): java.lang.RuntimeException:
> Unable to start activity
>
> ComponentInfo{com.example.pushapplication/com.example.pushapplication.MainActivity}:
> java.lang.ClassCastException: android.app.Application cannot be cast to
> com.example.pushapplication.PushApplication
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.ActivityThread.access$600(ActivityThread.java:141)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.os.Looper.loop(Looper.java:137)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.ActivityThread.main(ActivityThread.java:5039)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> java.lang.reflect.Method.invoke(Method.java:511)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> dalvik.system.NativeStart.main(Native Method)
> 09-25 11:36:57.211: E/AndroidRuntime(1860): Caused by:
> java.lang.ClassCastException: android.app.Application cannot be cast to
> com.example.pushapplication.PushApplication
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> com.example.pushapplication.MainActivity.onCreate(MainActivity.java:25)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.Activity.performCreate(Activity.java:5104)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
> 09-25 11:36:57.211: E/AndroidRuntime(1860):     ... 11 more
> 09-25 11:37:23.743: E/Trace(1895): error opening trace file: No such file
> or
> directory (2)
> 09-25 11:37:23.743: W/Trace(1895): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:37:23.743: W/Trace(1895): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:37:23.743: W/Trace(1895): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:37:23.791: W/Trace(1895): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:37:23.791: W/Trace(1895): Unexpected value from
> nativeGetEnabledTags: 0
> 09-25 11:37:23.901: W/Resources(1895): Converting to string:
> TypedValue{t=0x12/d=0x0 a=2 r=0x7f050005}
> 09-25 11:37:23.901: D/AndroidRuntime(1895): Shutting down VM
> 09-25 11:37:23.901: W/dalvikvm(1895): threadid=1: thread exiting with
> uncaught exception (group=0xb2d8c908)
> 09-25 11:37:23.901: E/AndroidRuntime(1895): FATAL EXCEPTION: main
> 09-25 11:37:23.901: E/AndroidRuntime(1895): java.lang.RuntimeException:
> Unable to start activity
>
> ComponentInfo{com.example.pushapplication/com.example.pushapplication.MainActivity}:
> java.lang.ClassCastException: android.app.Application cannot be cast to
> com.example.pushapplication.PushApplication
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.ActivityThread.access$600(ActivityThread.java:141)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.os.Looper.loop(Looper.java:137)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.ActivityThread.main(ActivityThread.java:5039)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> java.lang.reflect.Method.invoke(Method.java:511)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> dalvik.system.NativeStart.main(Native Method)
> 09-25 11:37:23.901: E/AndroidRuntime(1895): Caused by:
> java.lang.ClassCastException: android.app.Application cannot be cast to
> com.example.pushapplication.PushApplication
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> com.example.pushapplication.MainActivity.onCreate(MainActivity.java:25)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.Activity.performCreate(Activity.java:5104)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
> 09-25 11:37:23.901: E/AndroidRuntime(1895):     ... 11 more
>
>
>
> any body please help me i am trying to configure push app in android app it
> is configred but message is not coming on console some body help me
> urjent!!!
>
>
>
>
> --
> View this message in context:
> http://aerogear-dev.1069024.n5.nabble.com/PushApplication-has-stopped-tp4884.html
> Sent from the aerogear-dev mailing list archive at Nabble.com.
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 

-- 
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130925/7496f41c/attachment-0001.html 


More information about the aerogear-dev mailing list