Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

NoClassFoundEception on PingManager.

$
0
0

I am using following dependencies

 

compile "org.igniterealtime.smack:smack-android-extensions:$smackVersion"
compile "org.igniterealtime.smack:smack-experimental:$smackVersion"
compile "org.igniterealtime.smack:smack-tcp:$smackVersion"

 

Where smack version is

ext {

  smackVersion = '4.1.6' //Also tried with 4.1.5
}

 

I am getting following logcat exception

 

java.lang.RuntimeException: Unable to create application com.app.data.Application: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.app.data.connection.ConnectionManager

                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4733)

                                                                   at android.app.ActivityThread.access$1600(ActivityThread.java:175)

                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)

                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)

                                                                   at android.os.Looper.loop(Looper.java:146)

                                                                   at android.app.ActivityThread.main(ActivityThread.java:5602)

                                                                   at java.lang.reflect.Method.invokeNative(Native Method)

                                                                   at java.lang.reflect.Method.invoke(Method.java:515)

                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283 )

                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

                                                                   at dalvik.system.NativeStart.main(Native Method)

                                                                Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.app.data.connection.ConnectionManager

                                                                   at com.app.data.Application.onCreate(Application.java:278)

                                                                   at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)

                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4730)

                                                                   at android.app.ActivityThread.access$1600(ActivityThread.java:175)

                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)

                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)

                                                                   at android.os.Looper.loop(Looper.java:146)

                                                                   at android.app.ActivityThread.main(ActivityThread.java:5602)

                                                                   at java.lang.reflect.Method.invokeNative(Native Method)

                                                                   at java.lang.reflect.Method.invoke(Method.java:515)

                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283 )

                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

                                                                   at dalvik.system.NativeStart.main(Native Method)

                                                                Caused by: java.lang.ClassNotFoundException: com.app.data.connection.ConnectionManager

                                                                   at java.lang.Class.classForName(Native Method)

                                                                   at java.lang.Class.forName(Class.java:251)

                                                                   at java.lang.Class.forName(Class.java:216)

                                                                   at com.app.data.Application.onCreate(Application.java:276)

                                                                   at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)

                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4730)

                                                                   at android.app.ActivityThread.access$1600(ActivityThread.java:175)

                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)

                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)

                                                                   at android.os.Looper.loop(Looper.java:146)

                                                                   at android.app.ActivityThread.main(ActivityThread.java:5602)

                                                                   at java.lang.reflect.Method.invokeNative(Native Method)

                                                                   at java.lang.reflect.Method.invoke(Method.java:515)

                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283 )

                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

                                                                   at dalvik.system.NativeStart.main(Native Method)

                                                                Caused by: java.lang.NoClassDefFoundError: org.jivesoftware.smackx.ping.PingManager

                                                                   at com.app.data.connection.ConnectionManager.<init>(ConnectionManager.java:95)

                                                                   at com.app.data.connection.ConnectionManager.<clinit>(ConnectionManager.java:64)

                                                                   at java.lang.Class.classForName(Native Method)

                                                                   at java.lang.Class.forName(Class.java:251)

                                                                   at java.lang.Class.forName(Class.java:216)

                                                                   at com.app.data.Application.onCreate(Application.java:276)

                                                                   at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)

                                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4730)

                                                                   at android.app.ActivityThread.access$1600(ActivityThread.java:175)

                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368)

                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)

                                                                   at android.os.Looper.loop(Looper.java:146)

                                                                   at android.app.ActivityThread.main(ActivityThread.java:5602)

                                                                   at java.lang.reflect.Method.invokeNative(Native Method)

                                                                   at java.lang.reflect.Method.invoke(Method.java:515)

 

Is there anyone here to help me.

Note : Still yesterday app works very well, from today only I am facing this issue.


Viewing all articles
Browse latest Browse all 4979

Trending Articles